Summary: | Expansion status of a tree structure in Details View and Folders Panel is forgotten after collapsing a top level folder | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Marcelo Sales <mmtsales> |
Component: | view-engine: details mode | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | mechaweb |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/07f0d125b212b926ce7d360d914aab304a6af96d | Version Fixed In: | 4.12.0 |
Sentry Crash Report: |
Description
Marcelo Sales
2012-07-31 22:14:33 UTC
Thanks for the report! The behaviour changed in KDE 4.8, when Dolphin replaced Qt's item views with its own view engine. This affects not only the Folders Panel, but also the Details View. It's certainly possible to fix this, but not in a straightforward way. Therefore, I'd like to see if there is a big demand to fix this before we think about how this could be implemented. Resetting assignee to default as per bug #305719 *** Bug 306790 has been marked as a duplicate of this bug. *** Git commit 07f0d125b212b926ce7d360d914aab304a6af96d by Frank Reininghaus. Committed on 26/10/2013 at 07:36. Pushed by freininghaus into branch 'master'. Restore the tree state in Details View if a folder is re-expanded This patch actually does two things when collapsing an expanded folder with expanded children: (a) It removes all expanded children (which are removed from the model) from m_expandedDirs. (b) It remembers the expanded children and restores them if the top-level folder is re-expanded. FIXED-IN: 4.12.0 REVIEW: 113293 M +15 -0 dolphin/src/kitemviews/kfileitemmodel.cpp http://commits.kde.org/kde-baseapps/07f0d125b212b926ce7d360d914aab304a6af96d Thanks! |