Bug 387573

Summary: Select first item in folder does not work with semantic filter active
Product: [Applications] gwenview Reporter: Peter Mühlenpfordt <devel>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: minor CC: bug2019, idontfeelcomfygivingyoumyemail, nate
Priority: NOR    
Version First Reported In: Git (add output of "git log -1 --oneline" to description)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screen recording Gwenview 25.08.0

Description Peter Mühlenpfordt 2017-12-04 07:46:43 UTC
When entering a folder in browse mode, the first item should be selected.
This does not work, if a semantic filter (e.g. rating) is active.
See patch https://phabricator.kde.org/D8934 for more technical details.

Steps to reproduce:
1. Open gwenview in browse mode
2. Add filter "Filter by Rating"
3. Navigate to another folder with some images inside (and no subfolders)

Expected: First thumbnail is selected
What happens: Nothing is selected

$ git log -1 --oneline
0dd3654c (HEAD -> master, origin/master, origin/HEAD) GIT_SILENT made messages (after extraction)
Comment 1 Justin Zobel 2022-11-10 22:32:48 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Peter Mühlenpfordt 2022-11-14 08:40:11 UTC
Yes, this issue still exits in Gwenview version 22.08.2.
Installed by Kubuntu 22.10, running with KDE Framework 5.98.0 and Qt 5.15.6.
Comment 3 A Linux User 2025-08-25 10:25:52 UTC
Cannot reproduce anymore on 25.08.
Can you check again? If it is still reproducable, a screencast might be good.
Comment 4 bug2019@fantasymail.de 2025-08-26 10:13:38 UTC
Created attachment 184458 [details]
Screen recording Gwenview 25.08.0

I can still reproduce with Gwenview 25.08.0 from latest KDE Neon installation.
In the video:
- 1st part: clicking on folders in dir tree - first image auto selected and can be viewed by hitting <return>
- 2nd part: turn on rating filter and do the same as above - no image selected on folder change
Comment 5 Bug Janitor Service 2025-09-10 03:48:18 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!