Summary: | View state (current item, scroll position, expanded folders) is not restored when going "back" | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Frank Reininghaus <frank78ac> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | regression |
Priority: | NOR | ||
Version: | 4.11.60 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/ec4efae6428a0d32657b6aaf0ceaef8238748f5c | Version Fixed In: | 4.11.3 |
Sentry Crash Report: |
Description
Frank Reininghaus
2013-10-15 08:59:22 UTC
Git commit ec4efae6428a0d32657b6aaf0ceaef8238748f5c by Frank Reininghaus. Committed on 26/10/2013 at 07:24. Pushed by freininghaus into branch 'KDE/4.11'. Fix broken view state restoration The fix for bug 161385 (which was about Dolphin still showing an empty view if a device that had been unmounted earlier was clicked in the Places Panel) caused a regression: the view state (current item, scroll position, Details View expansion state) was not restored any more when going "Back". The reason is that "m_view->reload()" in DolphinViewContainer::setUrl(const KUrl& newUrl) was always executed just after entering a directory, and that command overwrites this information. Distinguishing between "change URL" and "reload the view" works better if it's done in DolphinMainWindow instead of DolphinViewContainer. FIXED-IN: 4.11.3 REVIEW: 113290 M +14 -1 dolphin/src/dolphinmainwindow.cpp M +7 -0 dolphin/src/dolphinmainwindow.h M +0 -4 dolphin/src/dolphinviewcontainer.cpp http://commits.kde.org/kde-baseapps/ec4efae6428a0d32657b6aaf0ceaef8238748f5c |