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 308787 - Command line full-screen option.
Command line full-screen option.
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.17.x
Other other
: Normal enhancement
: ---
Assigned To: Bruno Boaventura
EOG Maintainers
: 327857 558166 (view as bug list)
Depends on:
Blocks: 376513
 
 
Reported: 2005-06-23 15:10 UTC by komoto
Modified: 2008-10-28 07:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
command line options: fullscreen, slide-show and disable-collection. (8.22 KB, patch)
2006-12-01 22:56 UTC, Bruno Boaventura
needs-work Details | Review

Description komoto 2005-06-23 15:10:36 UTC
Distribution: Gentoo Base System version 1.6.12
Package: EOG
Severity: enhancement
Version: GNOME2.10.0 2.8.2
Gnome-Distributor: Gentoo
Synopsis: Command line full-screen option.
Bugzilla-Product: EOG
Bugzilla-Component: general
Bugzilla-Version: 2.8.2
Description:
It would be nice if there was an option to start the image viewer in
full screen mode, ie:
eog --fullscreen sexy_lady.jpg

Aditionally it would be nice to stop the new side bar (that shows image
information) from appearing each time you start a new instance of eog.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-06-23 15:10 UTC -------


The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was komoto@gmail.com.

Comment 1 Teppo Turtiainen 2005-07-10 22:56:14 UTC
The image information sidebar can be hidden in newer versions of EOG. The
--fullscreen command line option seems a valid feature request. Confirming.
Comment 2 Lucas Rocha 2006-02-27 19:27:12 UTC
Also, a --slideshow option would be nice. (Just to keep track of this "more command line option" request)
Comment 3 Lucas Rocha 2006-02-27 19:35:09 UTC
*** Bug 327857 has been marked as a duplicate of this bug. ***
Comment 4 Lucas Rocha 2006-11-17 23:57:21 UTC
Moving to 2.17.x
Comment 5 Bruno Boaventura 2006-11-17 23:59:14 UTC
Add myself to CC list
Comment 6 Bruno Boaventura 2006-11-18 01:15:13 UTC
Bug #376513 (TRACKER) was created by me for command-line bugs.
Comment 7 Bruno Boaventura 2006-12-01 22:56:21 UTC
Created attachment 77518 [details] [review]
command line options: fullscreen, slide-show and disable-collection.

Also fix bug #336712 and bug #376560.
Comment 8 Bruno Boaventura 2006-12-08 03:14:38 UTC
Ready to commit???
Comment 9 Lucas Rocha 2006-12-08 08:41:29 UTC
Hey Bruno, I'll review and commit it tonight (finnish time). :-)
Comment 10 Lucas Rocha 2006-12-08 22:01:16 UTC
Hey Bruno,

Some pending issues:

1. On file_open_dialog_response_cb, you should pass no startup flags instead of window->priv->flags. It's like a different "startup" when you're opening images from file chooser.
2. The fullscreen and slideshow option work ok but the window should first appear already in fullscreen mode and not in normal mode and then in fullscreen.
3. Disable image collection is not working correctly. You need to take the startup flags into account when running update_action_groups_state. You just need to force the image collection show/hide gconf key to FALSE if the --disable-image-collection option was used.
4. Coding style: take care of making all code lines not exceed 80 columns and indenting should follow the same stardard.

Thanks for your help! Fix this problems and I'll commit it as soon as possible. :-)
Comment 11 Lucas Rocha 2006-12-26 12:37:33 UTC
Fixed in eog-ng branch, thanks! I had to fix this patch myself because I need it ready to implement some other things. As there's no plan at all to fix this in HEAD, I'm closing this bug report.

2006-12-26  Lucas Rocha  <lucasr@gnome.org>

        New command-line options for EOG: -s to start in slideshow mode, -f
        to start in fullscreen mode, and -c to disable collection pane on
        startup (Fixes bugs #308787, #336712, #376560, #376513). Based on
        patch from Bruno Boaventura <brunoboaventura@gmail.com>.

        * shell/eog-window.[ch]: add startup flags to EogWindow. Consider
        those flags when constructing the UI.
        * shell/eog-application.[ch]: Update API to receive the EogWindow startup
        flags.
        * shell/main.c: initialize startup flags based on passed command-line
        options.
Comment 12 Claudio Saavedra 2008-10-28 07:18:42 UTC
*** Bug 558166 has been marked as a duplicate of this bug. ***