D27455: FileWidgets: Ignore Return events from KDirOperator

Méven Car noreply at phabricator.kde.org
Mon Feb 17 12:12:25 GMT 2020


meven created this revision.
meven added reviewers: dfaure, ngraham.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  Activated event is used to handle key returns from KDirOperator.
  Making a Return in the KDirOperator would cause a double treatment of the event :
  
  - one for activated / _slotActivated
  - one for Key_Return activated

TEST PLAN
  - Open Kate
  - Ctrl+Maj + S, to save file as
  - type a file name
  - go to a directory using the arrows keys and return key
  
  Before:
  The dialog returns immediately with the file name in the opened directory.
  
  After:
  The directory is opened, the user can continue specifying path.

REPOSITORY
  R241 KIO

BRANCH
  master

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

AFFECTED FILES
  src/filewidgets/kfilewidget.cpp

To: meven, dfaure, ngraham
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200217/5519a9db/attachment.html>


More information about the Kde-frameworks-devel mailing list