lxqt-panel icon indicating copy to clipboard operation
lxqt-panel copied to clipboard

Main menu: implement search-on-write and improve ordering of search results

Open AdelKS opened this issue 3 years ago • 5 comments

Hello,

This PR attempts to implement few features I wanted to have in the menu of LXQt panel:

  • Search without needing to click or hover the search line edit
  • Order the search results better and automatically focus the best candidate
  • While searching, up and down arrows should directly move the selection on the search results and not move the focus out of the search text line

That's it! Feedback welcome!

Adel

AdelKS avatar Jan 12 '22 17:01 AdelKS

Search without needing to click or hover the search line edit

I may not have understood well, but it's already like that (here Alt+F1 and type)

stefonarch avatar Jan 12 '22 18:01 stefonarch

I may not have understood well, but it's already like that (here Alt+F1 and type)

Yes, but if you happen to hover menu items you cannot search any longer. Yea I wasn't clear enough x)

AdelKS avatar Jan 12 '22 18:01 AdelKS

Here's a small demo video illustrating the changes so far (some visual bugs can be seen):

https://user-images.githubusercontent.com/13605217/149325586-a2ca48e4-75c1-4439-94c4-d896edb3b69e.mp4

AdelKS avatar Jan 13 '22 01:01 AdelKS

Hello,

With some help I could successfully debug and rebase this PR against latest master. Feedback would be much appreciated.

Thanks!

AdelKS avatar Jun 18 '22 15:06 AdelKS

Is there anything I should do so this PR gets some attention, or maybe you find it not useful ?

AdelKS avatar Apr 17 '23 00:04 AdelKS