Bug 511956

Summary: Mouse pointer interferes starting the right application
Product: [Plasma] krunner Reporter: Matti Kettunen <matti.kettunen>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, natalie_clarius
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: After pressing enter KRunner runs myrlyn instead of kcalc

Description Matti Kettunen 2025-11-11 13:17:27 UTC
Created attachment 186697 [details]
After pressing enter KRunner runs myrlyn instead of kcalc

SUMMARY
If your mouse pointer happends to be in the area where krunner opens suggestions (when you start typing) pointer activates a suggestion under it and pressing enter runs that application instead of the one on the top of the list. 


STEPS TO REPRODUCE
1. Place your mouse pointer on the area where krunner opens suggestions
2. Press Alt-F2 and start to type desided application name
3. Suggestion under mouse cursor is activated 
4. Press enter and wrong application starts

OBSERVED RESULT
Krunner starts application that is under mouse pointer

EXPECTED RESULT
Krunner should ignore mouse pointer unless mouse is moved and run the first suggestion of the list.
This is the behavior that has been before.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20251109
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
In attachment screenshot you can see a situation where user wants to run kcalc.
Mouse hasn't been moved after pressing alt-F2 but myrlyn is activated and pressing enter runs it instead of kcalc – even though kcalc is suggested in typing area and kcalc is the first suggestion in the list.