Review Request 110908: When changing the URL while renaming inline, abort renaming, rather than renaming an item in the new folder
Frank Reininghaus
frank78ac at googlemail.com
Sun Jun 9 11:13:55 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110908/
-----------------------------------------------------------
Review request for Dolphin.
Description
-------
If the "role editor" loses focus, it considers the current renaming operation finished, and tells DolphinView to rename the file. This is a problem when changing the directory, because the URL change happens *before* DolphinView receives the signal, which results in a file in the new directory being renamed unexpectedly.
Currently, the DolphinView is connected to the "slotRoleEditingFinished" signal permanently. I propose to change this and only establish the connection when the "rename inline" editor is opened, and disconnect it when renaming is finished or canceled or the URL changes.
This addresses bug 319912.
http://bugs.kde.org/show_bug.cgi?id=319912
Diffs
-----
dolphin/src/views/dolphinview.h a2fe9f6
dolphin/src/views/dolphinview.cpp 502ffd4
Diff: http://git.reviewboard.kde.org/r/110908/diff/
Testing
-------
Works for me.
Thanks,
Frank Reininghaus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20130609/45b38785/attachment.htm>
More information about the kfm-devel
mailing list