SUMMARY In Dolphin the last opened folder is highlighted after we click on "Go back" or "Go up" buttons. However, file open/save dialogs don't behave in the same way. STEPS TO REPRODUCE 1. open kate 2. trigger file open or file save dialogs 3. open any folder 4. click on "Back" or "Go up" buttons on top OBSERVED RESULT the folder opened in the step 3 isn't highlighted EXPECTED RESULT the folder opened in the step 3 should be highlighted SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.71.0 Qt Version: 5.14.2
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/58
Git commit 5f4a501f992a534b569324f95941459c27c61588 by Ahmad Samir. Committed on 21/06/2020 at 21:16. Pushed by ahmadsamir into branch 'master'. [KDirOperator] Highlight the previous dir when going back/up We have a couple of cases: - starting in a/, going to b/, then back(), b is highlighted - starting in a/b/, cdUp to "a", "b" is highlighted - starting in a/b/c/, cdUp twice to "a", back(), "c" is highlighted This is useful for orienting oneself while navigating in kfilewidget, especially in big directories. This can be controlled with setEnableDirHighlighting(). Add unit test to kdiroperatortest. FIXED-IN: 5.72 M +57 -0 autotests/kdiroperatortest.cpp M +29 -5 src/filewidgets/kdiroperator.cpp https://invent.kde.org/frameworks/kio/commit/5f4a501f992a534b569324f95941459c27c61588