Summary: | renamed file reclaims focus | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Michael Heidelbach <ottwolt> |
Component: | general | Assignee: | andreas.krutzler |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | elvis.angelaccio, nate, ottwolt, perso, sonichedgehog_hyperblast00 |
Priority: | NOR | Keywords: | usability |
Version: | 17.12.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/dolphin/bba44ae907b4faaf115d33fb0a3c50cd96ee2cb6 | Version Fixed In: | 18.03.80 |
Description
Michael Heidelbach
2018-01-05 10:38:38 UTC
Can reproduce. This happens if you select another file *immediately* after renaming; it seems that there's some timer that waits a moment before forcing selection on the newly-renamed file, and fast users can beat it and get their desired new selection reset to the old renamed file. Could be related to the recent fixes for Bug 205157 or Bug 378786. Andreas, would you mind having a look? If you hit <F2> fast enough you can even rename b.tmp *and* have aaa.tmp selected. After that focus stays at aaa.tmp (And if you want to dig into this yourself and figure it out, Michael, please feel free to submit a patch!) As far as I can tell this is not related to the fixes of Bug 205157 or Bug 378786. But it could be related to https://phabricator.kde.org/D6312. Lets see if I can fix that in the next few days :) *** Bug 388888 has been marked as a duplicate of this bug. *** Thanks to Andreas, we have a potential patch that fixes the issue: https://phabricator.kde.org/D9711 Git commit bba44ae907b4faaf115d33fb0a3c50cd96ee2cb6 by Nathaniel Graham, on behalf of Andreas Krutzler. Committed on 21/01/2018 at 20:43. Pushed by ngraham into branch 'master'. Fix renamed file reclaims focus Summary: After renaming a file and then selecting another file immediately the just selected file stays selected. Test Plan: Steps to reproduce: $ mkdir /tmp/test $ cd /tmp/test $ touch a.tmp b.tmp $ dolphin /tmp/test In dolphin: * select a.tmp * <F2> * type aaa * select b.tmp immediately Expected result: * a.tmp renamed to aaa.tmp * b.tmp stays selected, aaa.tmp stays unselected Reviewers: ngraham, michaelh, #dolphin, elvisangelaccio Reviewed By: ngraham, michaelh, #dolphin, elvisangelaccio Subscribers: emateli, elvisangelaccio, #dolphin Differential Revision: https://phabricator.kde.org/D9711 M +33 -26 src/views/dolphinview.cpp https://commits.kde.org/dolphin/bba44ae907b4faaf115d33fb0a3c50cd96ee2cb6 *** Bug 389809 has been marked as a duplicate of this bug. *** This has been a huge annoyance to me as well for quite some time. Thank you for fixing it! |