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 684811 - Double clicking on folder only shows subdirectories
Double clicking on folder only shows subdirectories
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: Browsing
GIT
Other All
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2012-09-25 19:15 UTC by Carsten Otto
Modified: 2018-07-01 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carsten Otto 2012-09-25 19:15:37 UTC
When clicking on a folder in the folder view, the images in the corresponding directory and its subdirectories should be shown. However, due to a bug explained below, only the images in the subdirectories are shown.

If for example the library contains
/foo/x.jpg
/foo/bar/y.jpg
double clicking the entry for /foo/ only shows y.jpg, although x.jpg should also be shown.

The problem seems to be that the database stores "file:///foo" as base_uri, but the query is done using "file:///foo/%" with a slash at the end of the path.

I think always adding a trailing "/" for base_uri would solve this problem, as this representation corresponds to Uri.ToString().

Removing the additional "/" in the query could create problems with for example /foo/bar/ and /foo/barbaz/. Then clicking /foo/bar/ would also return images in /foo/barbaz/.
Comment 1 André Klapper 2018-07-01 08:56:54 UTC
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010.
Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.