[dolphin] [Bug 481717] After renaming, the file should be immediately selected
Jin Liu
bugzilla_noreply at kde.org
Sat Oct 12 15:02:58 BST 2024
https://bugs.kde.org/show_bug.cgi?id=481717
Jin Liu <m.liu.jin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/syst
| |em/dolphin/-/commit/1ba5168
| |e39b270744a8e5c033ec24900b3
| |37f908
--- Comment #3 from Jin Liu <m.liu.jin at gmail.com> ---
Git commit 1ba5168e39b270744a8e5c033ec24900b337f908 by Jin Liu.
Committed on 12/10/2024 at 13:23.
Pushed by meven into branch 'master'.
dolphinview: when rename dialog finishes, immediately update the model and the
selection
On sucessful return of the rename dialog, we update
the model and the selection immediately to reflect
the new name. This is to avoid the short duration
after the rename during which the selection is lost.
Currently, after the rename dialog finishes, the selection
is briefly lost for about 1 second until the view
automatically refreshes.
This patch updates the model and selection immediately
after the dialog finishes, so the renamed file is still
selected.
M +14 -6 src/views/dolphinview.cpp
M +0 -1 src/views/dolphinview.h
https://invent.kde.org/system/dolphin/-/commit/1ba5168e39b270744a8e5c033ec24900b337f908
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list