D7647: Two clicks on file/folder to rename

Andreas Krutzler noreply at phabricator.kde.org
Sun Oct 22 00:59:04 BST 2017


akrutzler added a comment.


  > The focus lost-abort triggers abortTwoClicksRenaming() before the second click. That means that changing focus window does not cancel the rename.
  
  The focus-lost-cancellation works pretty well for me.
  
  > I have an addition to this patch that adds an other QTimer that is started in slotSelectionChanged() and checked/started in slotSelectedItemTextPressed(). If the timer is not running/active when slotSelectedItemTextPressed() is executed, the renaming is not started but the timer is tarted for the next try.
  > 
  > This removes a _lot_ of mistakenly started renames, but does make it a bit harder to trigger the rename. I set the time to 3xDCT for now.
  > 
  > (How) do you want me to provide the update?
  
  Since we are very close to finish this patch, opening a new revision would be appropriate.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D7647

To: akrutzler, #dolphin, #kde_applications, elvisangelaccio, emmanuelp, ngraham, markg, rkflx
Cc: rkflx, markg, funkybomber, sars, elvisangelaccio, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20171021/f0daf0f5/attachment.htm>


More information about the kfm-devel mailing list