Bug 194716 - gwenview can't browse hidden fies and folders
Summary: gwenview can't browse hidden fies and folders
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 190843 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-31 08:45 UTC by Andrey Borzenkov
Modified: 2025-03-06 20:37 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2009-05-31 08:45:30 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Gwenview 4.2.88/Qt 4.5.1

I can't find any way to browse hidden files and/or folders in gwenview. So far the only way to open such folder is to launch dolphin and use "open with gwenview" which is rather awkward.

kdebluetooth OBEX data server by default stores received images under ~/.kbluetooth4; which means they are not visible in gwenview by default :)
Comment 1 disabled account 2011-05-26 19:27:14 UTC
*** Bug 190843 has been marked as a duplicate of this bug. ***
Comment 2 disabled account 2011-05-26 19:28:36 UTC
You can click "open" and then use the shortcut Alt+. to display hidden files and folders.
Comment 3 rlk 2013-01-08 16:43:06 UTC
That is not a good answer.  The advantage of gwenview is the browser; having to use file/open and an extra keystroke is not seamless.  There really needs to be a way for gwenview to natively show hidden files.
Comment 4 Philipp Woelfel 2017-11-05 19:55:49 UTC
Any chance this could be reopened? The resolution "worksforme" is incorrect: The browser does not show hidden files, unlike, say, dolphin. Being able to open hidden files is different from being able browse them.
Comment 5 null 2017-11-05 21:35:27 UTC
I agree. Reading https://userbase.kde.org/Dolphin#Philosophy, I feel Gwenview's target users are very similar. For power users digiKam is a better fit, but still Gwenview is not totally dumbed down.

This means by default Gwenview should not show hidden files, but a config option would be feasible. (Maybe this should be a desktop-wide setting, but that's probably overkill and not even very flexible.)

Would you be able to submit a patch? Let us know if you are interested and need any help with that, we can guide you through the process. At first glance this feature does not look too complicated to implement.
Comment 6 Patrick Silva 2020-08-14 14:25:08 UTC
When I have a folder containing several hidden files and I open some of them with Gwenview via Dolphin, I can't go to previous/next hidden file by pressing the arrow keys.

Gwenview 20.08 on Arch Linux.
Comment 7 Bug Janitor Service 2025-01-23 07:26:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/314
Comment 8 Pedro 2025-03-06 20:37:09 UTC
Git commit e83312d1690844ad1cef88f1591e36745c656445 by Pedro Hernandez.
Committed on 06/03/2025 at 09:18.
Pushed by ngraham into branch 'master'.

Add option to show hidden files

Currently, Gwenview does not list hidden files but it's capable of opening
them from Dolphin. Once the file is open, using the arrow keys or changing
the directory will lose access to the hidden file(s).
This patch adds the feature to list hidden files following some of Dolphin's
design choices.

Like Dolphin, the `Show Hidden Files` is a toggle menu item under the `View`
menu, and is placed in the same section as `Sort By` sub-menu. Also, it uses
the standard `Show Hidden Files` shortcut (Ctrl + H).
The option is not active by default, but unlike Dolphin, it is not
persistent among instances of Gwenview, so, the user will have to activate
the option for each instance to show the hidden files in a directory.

M  +12   -0    app/browsemainpage.cpp
M  +1    -0    app/browsemainpage.h
M  +2    -1    app/gwenviewui.rc
M  +12   -0    lib/semanticinfo/sorteddirmodel.cpp
M  +3    -0    lib/semanticinfo/sorteddirmodel.h

https://invent.kde.org/graphics/gwenview/-/commit/e83312d1690844ad1cef88f1591e36745c656445