Revision ec4efae...

Go back to digest for 27th October 2013

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.11] /src:

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

File Changes

Modified 3 files
  • /src
  •   dolphin/dolphinmainwindow.cpp
  •   dolphin/dolphinmainwindow.h
  •   dolphin/dolphinviewcontainer.cpp
3 files changed in total