Bug 306834 - Inconsistent double click behaviour in tree view
Summary: Inconsistent double click behaviour in tree view
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: Other (add details in bug description)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-15 11:49 UTC by Alex
Modified: 2025-09-04 14:40 UTC (History)
4 users (show)

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


Attachments
STR (589.17 KB, image/png)
2012-09-15 11:49 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2012-09-15 11:49:25 UTC
Gwenview 2.7.4
KDE 4.7.4

On the left menu (directory) tree there is inconsistent behaviour when double clicking,

Reproducible: Always

Steps to Reproduce:
1. enter Browse mode
2. expand any folder (let's call it "One") in left side menu
3. navigate to any other folder (let's call it "Two")
4. now assume I want to go back to "One" to see what files/directories it does contain
5. double click "One" in left side menu
Actual Results:  
You get navigated back to "One" (correctly); however, "One" gets collapsed

Expected Results:  
"One" should remain expanded. There should be way to navigate back without collapsing "One".

Such behavior is really annoying. I see two possible solutions:
* disable collapse/expand by double click completely
* use single click to navigate between directories
I would vote for second approach. 

PS: see attached image for additional description.
Comment 1 Alex 2012-09-15 11:49:50 UTC
Created attachment 73932 [details]
STR
Comment 2 Benni Hill 2013-04-16 16:03:50 UTC
I agree. I would also favor single click for this.
Comment 3 Nate Graham 2017-09-10 03:40:08 UTC
Yup. Annoying.
Comment 4 null 2018-01-24 23:04:13 UTC
You cannot select multiple items in the tree view, so switching folders on first click already should be the way to go. After all, this way we'd be consistent with Dolphin.

Note that after fixing this, it should be made sure that the toggling behaviour introduced in https://phabricator.kde.org/D9886 still works fine.

(Expanding/Folding a folder on double click is standard behaviour in such widgets, though, and thus wanted. We won't change that.)
Comment 5 A Linux User 2025-09-04 12:18:43 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?