GNOME Bugzilla – Bug 317031
Add "--geometry" Command line option
Last modified: 2018-05-22 13:04:31 UTC
I would be mose grateful if you would support the standard
X option "-geometry", and perhaps also X resources for
setting window size.
--fullscreen and --presentation would be very nice, also.
Created attachment 53551 [details] [review]
enable --fullscreen command line switch
This patch enables the --fullscreen switch.
I'm using a global variable there. If this is too much of a bad hack please let
me know how would you like it to be done or just apply the patch.
--fullscreen and --presentation are supported now in CVS head.
Is it really needed to support geometry? The window sizing depends on the document (eg. it reuses previous size if the document was opened earlier) and window placement should be done by the window manager...
Carlos, Nickolay: I'll let you guys decide :)
Perhaps reusing the previous window size is something
GNOME desktop does? I does not for me. (using larswm).
The window always opens at 600x600 or so, which is a
pretty useless size. That's why I wanted the option
is the first place.
Not only does evince not reuse the window size, but it also has a tendency to open 7636x2733 (or more) windows on my 1024x768 screen (using FVWM, with 4096x768 virtual desktops), which is ever-so-slightly annoying. Ideally, evince would restrict the window size to that of the X screen, however, a geometry option would be a decent workaround.
Further, why would you _not_ support a --geometry option? It adds minimal code, wouldn't make anything less user-friendly, and would be very useful for when the auto-sizing algorithm fails.
If evince from trunk still opens big window file separate bug report.
About patch, it needs work for sure since evince is single-instance application and we have to bypass options to the main instance.
Adjusting summary as per comment 2.
I was going to submit this bug, but see that it is a FAQ. Let me nevertheless add a "metoo". For me the most serious problem with evince is that one has to adjust window size every single time it is launched.
I had hoped for X resources, but a command-line option is ok as well.
(It is excellent when a utility tries to do the right thing. But heuristics don't work in all cases. It is bad when the user has no way of getting control.)
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/14.