Bug 482624

Summary: Navigating between runner columns with arrow left/right keys is unreliable
Product: [Plasma] plasmashell Reporter: Ilab Sentuser <ilabsentuser>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ben2talk, bugseforuns, cwo.kde, hernan1342, ilabsentuser, martin+kde, nate
Priority: NOR Keywords: regression
Version: 6.0.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:
Attachments: Issue description

Description Ilab Sentuser 2024-03-07 01:08:48 UTC
Created attachment 166529 [details]
Issue description

SUMMARY
When you start typing something in Kicker (Application Menu) and the search results are displayed you can navigate on the main frame up and down, but trying to use left/right to move to the other frames doesn't work except sometimes for one instance and stops working again.  See attached image for a better description.


STEPS TO REPRODUCE
1. Open the application menu/dashboard/launcher.
2. Write something on the search box.
3. Try to navigate to the other frames/submenus

OBSERVED RESULT
There is no navigation to the other submenus/frames. Except when prior pressing Down (and getting to the search box again, but then you can navigate to only ONE frame)

EXPECTED RESULT
As in previous versions, the focus changes to match the item being navigated with the arrow keys.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Nate Graham 2024-03-07 17:41:50 UTC
Can confirm. It's not 100% broken, but it's buggy and unreliable for sure.
Comment 2 duha.bugs 2024-03-11 18:26:12 UTC
*** Bug 483262 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2024-03-25 01:47:33 UTC
*** Bug 484362 has been marked as a duplicate of this bug. ***
Comment 4 Marco Martin 2025-01-30 08:29:31 UTC
Git commit 5c2e8b7728d126d05077d31242b63f0f16ff977b by Marco Martin.
Committed on 30/01/2025 at 08:16.
Pushed by mart into branch 'master'.

applets/kicker: fix keyboard navigation between runner columns

rely signals from the list event handler for left and right navigation
betwen columns, since the list accepting left and right would break the
normal event propagation
FIXED-IN: 6.3.0

M  +15   -10   applets/kicker/package/contents/ui/ItemListView.qml
M  +33   -29   applets/kicker/package/contents/ui/MenuRepresentation.qml
M  +5    -0    applets/kicker/package/contents/ui/RunnerResultsList.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/5c2e8b7728d126d05077d31242b63f0f16ff977b
Comment 5 Marco Martin 2025-01-30 08:46:20 UTC
Git commit debe352548fec5c183baa016ab478390ee1e1b5c by Marco Martin.
Committed on 30/01/2025 at 08:33.
Pushed by mart into branch 'Plasma/6.3'.

applets/kicker: fix keyboard navigation between runner columns

rely signals from the list event handler for left and right navigation
betwen columns, since the list accepting left and right would break the
normal event propagation
FIXED-IN: 6.3.0


(cherry picked from commit 5c2e8b7728d126d05077d31242b63f0f16ff977b)

5c2e8b77 applets/kicker: fix keyboard navigation between runner columns

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +15   -10   applets/kicker/package/contents/ui/ItemListView.qml
M  +33   -29   applets/kicker/package/contents/ui/MenuRepresentation.qml
M  +5    -0    applets/kicker/package/contents/ui/RunnerResultsList.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/debe352548fec5c183baa016ab478390ee1e1b5c
Comment 6 hernan1342 2025-02-19 23:23:08 UTC
Not fixed here, side keys working but up and down only work a few times and then stop working.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-zen1-1-zen (64-bit)
Comment 7 cwo 2025-02-20 00:39:54 UTC
(In reply to hernan1342 from comment #6)
> Not fixed here, side keys working but up and down only work a few times and
> then stop working.

This bug was about left/right keys not working while the up/down keys do. If up/down keys do not work that's bad and should be fixed, but it's a different bug.

I'd love to have a look at fixing this as I squashed a couple of other kicker bugs for 6.3.1. I absolutely can't reproduce this though; I've spent a minute or two searching for different things and arrowing around in various directions and orders and everything worked alright. Similarly when I tested the fixes for 6.3.1. Can you please give clear replication steps on how to trigger the issue?
Comment 8 hernan1342 2025-02-20 01:29:24 UTC
(In reply to cwo from comment #7)
> (In reply to hernan1342 from comment #6)
> > Not fixed here, side keys working but up and down only work a few times and
> > then stop working.
> 
> This bug was about left/right keys not working while the up/down keys do. If
> up/down keys do not work that's bad and should be fixed, but it's a
> different bug.
> 
> I'd love to have a look at fixing this as I squashed a couple of other
> kicker bugs for 6.3.1. I absolutely can't reproduce this though; I've spent
> a minute or two searching for different things and arrowing around in
> various directions and orders and everything worked alright. Similarly when
> I tested the fixes for 6.3.1. Can you please give clear replication steps on
> how to trigger the issue?

Sorry, you are correct, the sides keys are the ones that not work.. Mental mistake while writing
Comment 9 cwo 2025-02-20 01:34:28 UTC
(In reply to hernan1342 from comment #8)
> Sorry, you are correct, the sides keys are the ones that not work.. Mental
> mistake while writing

Can you give replication steps? I can't reproduce the left/right arrow keys not working, they seem to function correctly here.
Comment 10 hernan1342 2025-02-20 01:37:09 UTC
Well, I start the session, press the meta key, and then the right left keys... works a couple of times (not always the same, sometimes not even one time), and then the left and right keys don't work anymore- 
And is the same on wayland.
Comment 11 hernan1342 2025-02-20 01:41:46 UTC
Curiously enough, once the keys stop working, the right key works when go to the "configure application launcher" button after going into the search field (but can't go back with the left, only go down from there)
Comment 12 hernan1342 2025-02-20 02:24:31 UTC
Sorry if this is stupid, but Manjaro (6.2) in a VM (Virtualbox) doesn't this problem, left and right working non stop.
Comment 13 hernan1342 2025-02-20 02:29:51 UTC
Same Manjaro (Plasma 6.2.4) in a USB live image, no problems navigating left and right.
Comment 14 cwo 2025-02-20 08:01:06 UTC
(In reply to hernan1342 from comment #11)
> Curiously enough, once the keys stop working, the right key works when go to
> the "configure application launcher" button after going into the search
> field (but can't go back with the left, only go down from there)

This bug report is about Application Menu (also called kicker). It's not about Application Launcher (also called kickoff). Kicker does not have a "configure application launcher" button, there's no button to the right of the search field at all, and the search field is at the bottom. You're talking about a different program.

Please file a new bug report for this against plasmashell / Application Launcher (Kickoff) Widget.
 
FWIW, I can't reproduce that one either with the steps you gave (except that I clicked the widget otiginally instead of using Meta, as I have the Meta key bound to Kicker at the moment to test some changes I'm making). I can freely move around with the arrow keys in Kickoff as well. So when you file the new bug please be specific about your system and configurations and the steps needed to cause the issue. Trying it in a new user account to see if maybe something is misconfigured in your user account is also a good idea to help us narrow things down.
Comment 15 hernan1342 2025-02-20 16:40:26 UTC
(In reply to cwo from comment #14)
> (In reply to hernan1342 from comment #11)
> > Curiously enough, once the keys stop working, the right key works when go to
> > the "configure application launcher" button after going into the search
> > field (but can't go back with the left, only go down from there)
> 
> This bug report is about Application Menu (also called kicker). It's not
> about Application Launcher (also called kickoff). Kicker does not have a
> "configure application launcher" button, there's no button to the right of
> the search field at all, and the search field is at the bottom. You're
> talking about a different program.
> 
> Please file a new bug report for this against plasmashell / Application
> Launcher (Kickoff) Widget.
>  
> FWIW, I can't reproduce that one either with the steps you gave (except that
> I clicked the widget otiginally instead of using Meta, as I have the Meta
> key bound to Kicker at the moment to test some changes I'm making). I can
> freely move around with the arrow keys in Kickoff as well. So when you file
> the new bug please be specific about your system and configurations and the
> steps needed to cause the issue. Trying it in a new user account to see if
> maybe something is misconfigured in your user account is also a good idea to
> help us narrow things down.

Alright, my bad... but I gotta say that I have the exact same problem with the "application menu" as with the "application launcher", side keys stop working after a few tries.