Bug 493398

Summary: Unable to use cursor keys for choosing an emoji icon in Emoji Selector after upgrade from 5.x to 6.x (Fedora 40)
Product: [Plasma] plasmashell Reporter: Cip <ciprian.m.vizitiu>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Cip 2024-09-20 09:07:50 UTC
SUMMARY

After an  upgrade from 5.x to 6.x (Fedora 40) icons selection in Emoji Selector can no longer be performed using the keyboard.

STEPS TO REPRODUCE
1.  Pop-up the Emoji Selector window using a custom shortcut ("Win /"); notice that it shows with the "Recent" tab active
2. Attempt to use the cursor keys to select one of the emoji icons; notice that graphical decoration showing the selected icon is missing and window seems completely unresponsive to cursor keys.
3.  Press <TAB> to move focus away from the icons selection area back to the vertical tabs area; use <UP> / <DOWN> keys to navigate to another tab e.g. "All" or "Activities" then press <ENTER> to select it. 

OBSERVED RESULT

Once focus has jumped away from the left vertical tab area into the main emoji icons area, the cursor keys become unresponsive; since the actual icon selection area is missing the selection cursor and cursor keys are completely ignored, selecting an emoji is impossible via keyboard. 

EXPECTED RESULT

Since most of the time I pop-up ES with a keyboard shortcut while composing an email, ergonomically wise, the window should have allowed me to use the keyboard to select a given emoji (so that I don't have to move my hand to a mouse).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 40
KDE Plasma Version:   6.1.4-1 
KDE Frameworks Version: 
Qt Version:  5.15.15-1

ADDITIONAL INFORMATION

It works with the mouse (albeit a bit strange e.g. emoji is no longer copied to X11 clipboard)

Keyboard selection worked before in fact it has been working for years. The problem appeared at Fedora 40. 
The bug manifests itself both on an old Fedora install (which has been upgraded regularly since version 34 up to 40 using dnf) and on a fresh Fedora KDE spin install. Switching from Wayland to X11 makes no difference. 

x86_64 on Intel (MB and keyboards from different manufacturers)
Comment 1 Nate Graham 2024-09-20 15:53:50 UTC
Fixed already in Plasma 6.2!
Comment 2 Cip 2024-09-21 10:14:01 UTC
Thanks Nate; Guess I'll have to wait for Fedora packagers then.