Bug 495124

Summary: Search field does not always get focus immediately
Product: [Plasma] plasmashell Reporter: llvm.clang223
Component: Global Menu widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kde, mvourlakos, nate
Priority: NOR Keywords: accessibility, usability
Version First Reported In: 6.2.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description llvm.clang223 2024-10-21 05:13:58 UTC
SUMMARY
Using the search feature requires first clicking on search, then clicking on the text box. Removing this second step would bring it more in line with other parts of Plasma. However, after clicking on the text box once, the search field will work as normal without the second click, for any app, until you log out.

STEPS TO REPRODUCE
1. Open Dolphin
2. Click Search in the global menu
3. Start typing
4. If it immediately received keystrokes, either log out and back in, or remove and re-add the global menu applet. Then go back to step 1.

OBSERVED RESULT
Nothing happens until you click on the text box.

EXPECTED RESULT
Searching starts by typing, without any further clicks.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41 KDE (on Wayland)
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Comment 1 Nate Graham 2025-04-08 19:55:31 UTC
I can't reproduce this with git master. Can you check again in Plasma 6.3 or later and see if this is still happening?

Thanks a lot!
Comment 2 llvm.clang223 2025-04-11 08:33:51 UTC
(In reply to Nate Graham from comment #1)
> I can't reproduce this with git master. Can you check again in Plasma 6.3 or
> later and see if this is still happening?
> 
> Thanks a lot!

Yep, the bug still 100% reproducible for me on Fedora 41 with Plasma 6.3.4.
Comment 3 Nate Graham 2025-04-11 19:08:50 UTC
Thanks. Can reproduce on git master.
Comment 4 Bug Janitor Service 2025-07-01 18:17:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5650