Bug 389803 - Improve Places category show/hide behavior: show/hide when clicking on header
Summary: Improve Places category show/hide behavior: show/hide when clicking on header
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: unspecified
Platform: Other Linux
: HI wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: usability
: 390372 431806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-02 16:33 UTC by Nate Graham
Modified: 2021-01-18 23:57 UTC (History)
11 users (show)

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


Attachments
How macOS Finder does it (1.18 MB, image/gif)
2018-02-02 16:33 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-02-02 16:33:51 UTC
Created attachment 110311 [details]
How macOS Finder does it

We now have support for hiding and showing Places panel categories. Yay! However, the UI for this is rather hidden: you have to right-click on the header to hide it and its category, and then when you do, the entire thing--including the header--disappears, so you can easily forget about it or not even realize that there's anything hidden that can be shown!

I would recommend using a UI more similar to how the macOS Finder implements this: when you click on a header, its content collapses, the but the header remains, to show you that there's hidden content. It's quite slick.

Bonus: if we implement this, we can feasibly hide certain categories by default to reduce clutter (like "Search for") without impairing usability or discoverability because people can easily show it if they'd like.
Comment 1 Nate Graham 2018-02-13 22:44:20 UTC
*** Bug 390372 has been marked as a duplicate of this bug. ***
Comment 2 Andres Betts 2018-04-20 04:10:33 UTC
Maybe also the categories can remember the state that the user left them in and hide by default. I like this idea.
Comment 3 Nate Graham 2018-04-20 04:15:40 UTC
Yes, remembering is a must. We already have that, in fact. We just need to improve the UI and the discoverability.
Comment 4 Aasif Khan 2019-04-28 20:46:07 UTC
Hi. I am trying to solve this issue. But I am new to KDE development overall. And looking at the code I think that the code of KFilePlacesModel must be changed because dolphin is using KFilePlacesModel directly for its places panel. Am I headed in the right direction? 
Thanks.
Comment 5 Nate Graham 2019-04-29 04:15:13 UTC
Yep, you're on the right track! Keep in mind that Dolphin does do some custom overlaying on top of that as well.
Comment 6 Nate Graham 2021-01-18 23:57:13 UTC
*** Bug 431806 has been marked as a duplicate of this bug. ***