After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317031 - Add "--geometry" Command line option
Add "--geometry" Command line option
Product: evince
Classification: Core
Component: general
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Reported: 2005-09-23 11:36 UTC by Daniel Lublin
Modified: 2018-05-22 13:04 UTC
See Also:
GNOME target: ---
GNOME version: ---

enable --fullscreen command line switch (964 bytes, patch)
2005-10-16 01:39 UTC, Eduardo Pérez Ureta
needs-work Details | Review

Description Daniel Lublin 2005-09-23 11:36:55 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.
Comment 1 Eduardo Pérez Ureta 2005-10-16 01:39:18 UTC
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.
Comment 2 Carlos Garcia Campos 2006-07-17 19:48:52 UTC
--fullscreen and --presentation are supported now in CVS head. 
Comment 3 Wouter Bolsterlee (uws) 2006-12-08 11:55:19 UTC
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 :)
Comment 4 Daniel Lublin 2006-12-08 12:13:20 UTC
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.
Comment 5 Dan Hirsch 2007-05-28 03:39:01 UTC
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.
Comment 6 Nickolay V. Shmyrev 2007-05-28 03:51:55 UTC
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.
Comment 7 André Klapper 2011-08-24 20:08:31 UTC
Adjusting summary as per comment 2.
Comment 8 gymp 2011-11-20 01:59:47 UTC
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.)
Comment 9 GNOME Infrastructure Team 2018-05-22 13:04:31 UTC
-- 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: