Review Request 126709: add keyboard shortcut to focus search box

Carlo Vanini silhusk at gmail.com
Mon Jan 11 13:55:54 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126709/
-----------------------------------------------------------

(Updated Jan. 11, 2016, 1:55 p.m.)


Status
------

This change has been marked as submitted.


Review request for Kubuntu and Muon Package Management Suite.


Changes
-------

Submitted with commit 8f21836cff78f9834f9052e301363f106d5d1ded by Aleix Pol on behalf of Carlo Vanini to branch master.


Bugs: 299763, 312568 and 325536
    http://bugs.kde.org/show_bug.cgi?id=299763
    http://bugs.kde.org/show_bug.cgi?id=312568
    http://bugs.kde.org/show_bug.cgi?id=325536


Repository: muon


Description
-------

Add keyboard shortcut to move focus to the search box, and give it focus at startup.

If the box is hidden, e.g. by changes preview, the focus is not changed. Otherwise you could change the content of the search box without seeing it.


(if accepted, please push it for me)


Diffs
-----

  src/MainWindow.h 0d6c02248b69e38477ad0bce2429ea87dd83379b 
  src/MainWindow.cpp c3d6a83e14c7f10361b49e2a9e08426dfed659c0 
  src/PackageModel/PackageWidget.h 02abcfcb08d98b58508f7eff18b902a7372bf55a 
  src/PackageModel/PackageWidget.cpp 1d0c377d31724b70754e7636438e5c286b6e5830 

Diff: https://git.reviewboard.kde.org/r/126709/diff/


Testing
-------

* start muon: the search box has focus
* tab or click to change focus
* press Ctrl+F and the search box gains focus again


Thanks,

Carlo Vanini

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20160111/906f8f9f/attachment.html>


More information about the kubuntu-devel mailing list