D8367: Hidding place groups implementation in KFilePlacesModel

Renato Oliveira Filho noreply at phabricator.kde.org
Tue Oct 31 17:12:10 UTC 2017


renatoo added a comment.


  In https://phabricator.kde.org/D8367#162465, @ngraham wrote:
  
  > Nice! If possible, I'd like a more user-friendly way of hiding and showing categories, though. The context menu is not very discoverable, and if a category is hidden, there's no indication that there's even anything to show. Here's how macOS finder handles this, for comparison (it's an animated gif; click to see it):
  >
  > F5460310: Finder category hiding behavior.gif <https://phabricator.kde.org/F5460310>
  >
  > I Think we should keep the headers visible so users know that there are hidden sections.
  >
  > For a show/hide UI, here are some ideas:
  >
  > 1. Add disclosure triangles to the right of the headers that, when clicked, hide the contents
  > 2. On hover, the headers could gain an outline like a button and the text would change to "Show/hide [category]"; when clicked, it would hide the contents
  
  
  This was our first option but due the impossibility of break the ABI, we will need to implement the hole functionality using a QListView which will require a lot of code change and some workarounds. 
  In my opinion the ideal would be derive the KPlacesView from another view (QTreeView, KCategoryView or something very specific like dolphin does), but as mentioned before we do not want to break the ABI.
  In any case this can be done after.

REVISION DETAIL
  https://phabricator.kde.org/D8367

To: mlaurent, renatoo, ngraham, franckarrecot, ervin
Cc: ngraham, mlaurent, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171031/042efb9e/attachment.html>


More information about the Kde-frameworks-devel mailing list