Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing a chart shouldn't have toolbars on it #3779

Open
RooieDirk opened this issue Apr 3, 2024 · 13 comments
Open

Printing a chart shouldn't have toolbars on it #3779

RooieDirk opened this issue Apr 3, 2024 · 13 comments

Comments

@RooieDirk
Copy link
Contributor

The new toolbar is always shown on a (paper)printout. To my opinion a print should be without toolbars, if I wanted a picture including toolbars I do a printscreen. Same for the canvas-toolbar.
The gps-compass and chartbar are also shown, but at least I can hide them if I want. Picture with a print preview:
Screenshot_20240403_095641

@bdbcat
Copy link
Member

bdbcat commented Apr 3, 2024

Well, yeah, sure.
Thanks for the catch, should be an easy update.

@RooieDirk
Copy link
Contributor Author

I already had a look myself, but the toolbar doesn't seem tohave a show(bool) function or something similar. (As far as I could see)

@bdbcat
Copy link
Member

bdbcat commented Apr 3, 2024

Nope, it doesn't. the toolbar is THE UI. Consider: Turn off the toolbar. How would one access any UI to turn the toolbar back on?

@RooieDirk
Copy link
Contributor Author

Found it myself ;-) Pull request posted.

@bdbcat
Copy link
Member

bdbcat commented Apr 4, 2024

Nice.
Merged.

@RooieDirk RooieDirk reopened this Apr 4, 2024
@RooieDirk
Copy link
Contributor Author

Forget something. There is also a thing called glChartCanvas. I tried already doing the same trick there, but this doesn't work. Looks as if a Refresh() doesn't apply to glChartCanvas.

@Hakansv
Copy link
Contributor

Hakansv commented Apr 5, 2024

On windows neither single or multi canvas are working. The tool and menu bars are still on print.
(On multi canvas only left canvas is printed.)
Twp pictures from print to pdf
bild

@RooieDirk
Copy link
Contributor Author

Ha Hakan,
On current master it should work if you don't use GL.

@Hakansv
Copy link
Contributor

Hakansv commented Apr 5, 2024

Hmm - Most users does more or less mandatory

@RooieDirk
Copy link
Contributor Author

That's why I did reopen the issue ;-)

@nohal
Copy link
Collaborator

nohal commented Apr 8, 2024

We probably still want to get rid of the rest of the overlay artifacts

image

@nohal nohal added this to the OpenCPN 5.10.0 milestone Apr 8, 2024
@RooieDirk
Copy link
Contributor Author

Yes, but the other one's an user is able to toggle in the options. And there might be different wishes for different users. Grid yes/no, Scalebar y/n, depthunits y/n
For chartbar, gpscompas and even ownship I don't see a user case om paper.
btw I am working on a PI to add chartborders, so a paper print would be really usable as backup navigation chart.
print

@nohal
Copy link
Collaborator

nohal commented Apr 9, 2024

Exactly that is what I meant, the chart piano, the embossed text and the GPS status indicator should not be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants