Summary: | inline rename: scrolling causes rename of wrong file | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | suse |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bughunt, bugseforuns, elvis.angelaccio, linus.kardell, lukasz.wojnilowicz, nate, null |
Priority: | NOR | ||
Version: | 16.12.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/dolphin/af27d5735c77c825799c570151a85a230a91e8ed | Version Fixed In: | 17.11.90 |
Sentry Crash Report: |
Description
suse
2017-04-14 20:26:53 UTC
Can reproduce, thanks for reporting. Whoa! That's a weird one. And the actual text field moves as you scroll, weird. Possibly related: bug 331236 bug 383641 Note the fix in https://phabricator.kde.org/D8822 only hides the underlying issue. See also the new analysis I added to https://bugs.kde.org/show_bug.cgi?id=334533#c7. Git commit 5bee1889e1682f1e7ffe55e49beaf4544eaf7157 by Nathaniel Graham, on behalf of Andreas Krutzler. Committed on 19/11/2017 at 03:36. Pushed by ngraham into branch 'master'. Fix scrolling during inline renaming causes rename of wrong file Summary: Scrolling during inline renaming accepts the renaming now, like if one would hit Return for example. I chose this approach because it seems the easiest way to fix this. This also fixes the “possible” Ui glitch where the renaming KTextField doesn’t move along with the list item. Possible glitch, because I don’t know if this is intentional, but for me it looks broken. Fixes T7443 Test Plan: * Enable "Rename inline" in dolphin settings * Go to a folder where you have to scroll through items (many files, big zoom,…) * Start to rename a file (context menu, F2, …) * Scroll with mouse wheel * Rename accepted -> file is renamed Reviewers: ngraham, rkflx, #dolphin, elvisangelaccio Reviewed By: ngraham, rkflx, #dolphin, elvisangelaccio Subscribers: anthonyfieroni, elvisangelaccio, #dolphin Maniphest Tasks: T7443 Differential Revision: https://phabricator.kde.org/D8822 M +7 -3 src/kitemviews/kitemlistview.cpp M +7 -0 src/kitemviews/kstandarditemlistwidget.cpp M +3 -0 src/kitemviews/kstandarditemlistwidget.h https://commits.kde.org/dolphin/5bee1889e1682f1e7ffe55e49beaf4544eaf7157 Git commit af27d5735c77c825799c570151a85a230a91e8ed by Elvis Angelaccio, on behalf of Andreas Krutzler. Committed on 19/11/2017 at 10:17. Pushed by elvisangelaccio into branch 'Applications/17.12'. Fix scrolling during inline renaming causes rename of wrong file Summary: Scrolling during inline renaming accepts the renaming now, like if one would hit Return for example. I chose this approach because it seems the easiest way to fix this. This also fixes the “possible” Ui glitch where the renaming KTextField doesn’t move along with the list item. Possible glitch, because I don’t know if this is intentional, but for me it looks broken. Fixes T7443 Test Plan: * Enable "Rename inline" in dolphin settings * Go to a folder where you have to scroll through items (many files, big zoom,…) * Start to rename a file (context menu, F2, …) * Scroll with mouse wheel * Rename accepted -> file is renamed Reviewers: ngraham, rkflx, #dolphin, elvisangelaccio Reviewed By: ngraham, rkflx, #dolphin, elvisangelaccio Subscribers: anthonyfieroni, elvisangelaccio, #dolphin Maniphest Tasks: T7443 Differential Revision: https://phabricator.kde.org/D8822 M +7 -3 src/kitemviews/kitemlistview.cpp M +7 -0 src/kitemviews/kstandarditemlistwidget.cpp M +3 -0 src/kitemviews/kstandarditemlistwidget.h https://commits.kde.org/dolphin/af27d5735c77c825799c570151a85a230a91e8ed *** Bug 387809 has been marked as a duplicate of this bug. *** *** Bug 389892 has been marked as a duplicate of this bug. *** I have Dolphin 17.12.2 and it happened again. Is it supposed to be fixed in that version? (In reply to David Tonhofer from comment #9) > I have Dolphin 17.12.2 and it happened again. > > Is it supposed to be fixed in that version? Yes, but we may have missed some corner cases. See https://bugs.kde.org/show_bug.cgi?id=334533#c7 |