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 589151 - Let filechooser fall back to user's pictures folder
Let filechooser fall back to user's pictures folder
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.26.x
Other Linux
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-20 16:45 UTC by schulmaandu
Modified: 2009-07-24 10:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description schulmaandu 2009-07-20 16:45:08 UTC
When opening pictures to view in eog, eye of gnome, the file chooser defaults to the user's home directory. Given that this is an app for viewing pictures, it would be preferable, and a usability improvement, to default to the user's "Pictures" directory within their home folder.

There does not seem to be a preference setting for this within eog itself nor in gconf.

Tracked by Ubuntu bug #401468 at https://bugs.launchpad.net/ubuntu/+source/eog/+bug/401468

$ apt-cache policy eog
eog:
  Installed: 2.26.1-0ubuntu1
  Candidate: 2.26.1-0ubuntu1
  Version table:
 *** 2.26.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
Comment 1 Felix Riemann 2009-07-23 21:01:48 UTC
Actually, if you launch eog without any images, the filechooser defaults to the current working directory, which happens to be your home folder when you launch it from the panel.

But, yes I guess making it a preference (at least a hidden one), to default to the XDG_PICTURES folder instead could be possible.
Comment 2 Felix Riemann 2009-07-24 10:41:21 UTC
Updating summary to be more descriptive.
Comment 3 Felix Riemann 2009-07-24 10:47:22 UTC
commit 80cc24682e6da921d73ca6b71d517938eaf34649
Author: Felix Riemann <>
Date:   Fri Jul 24 12:31:47 2009 +0200

    Bug 589151 – Let filechooser fall back to user's pictures folder
    
    Add a (for now) hidden option to have the filechooser show the user's
    picture folder ($XDG_PICTURES_DIR) when no image is loaded in the
    current window. If the folder had not been set up it will fall back to
    show the currrent working directory. The option has been enabled by
    default as it seems to be useful on the average desktop system.

 ChangeLog             |    8 ++++++++
 data/eog.schemas.in   |   11 +++++++++++
 src/eog-config-keys.h |    1 +
 src/eog-window.c      |   14 ++++++++++++++
 4 files changed, 34 insertions(+), 0 deletions(-)

When I find the time I'll look into adding a checkbox to the preferences window.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.