Bug 515798

Summary: Opening KRunner with the shortcut "Alt+Space" about 80 times makes it behave like a window and an icon is created on the panel
Product: [Plasma] krunner Reporter: Sergio Moreno <sergio.1122.asd>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, cwo.kde, fella, natalie_clarius
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KRunner acting weird

Description Sergio Moreno 2026-02-10 05:59:00 UTC
SUMMARY
I was trying to look for a bug that I had reported about the panel to record it and place more information and it occurred to me to open and close KCalc to see if I could recreate it, After performing the shortcut "Alt+Space" about 80 times KRunner appeared in the panel and behaved like a window and also changed its position from the one it was in.

STEPS TO REPRODUCE
1. Open KRunner with the shortcut "Alt+Space" and open a program such as KCalc
2. Close the program with "Alt+F4"
3. Then repeat all this for 80 times

OBSERVED RESULT
KRunner opens as an app

EXPECTED RESULT
KRunner should not open as an app and should not be expandable or moveable

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
Kernel Version: 6.18.8-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1 Sergio Moreno 2026-02-10 06:13:39 UTC
Created attachment 189423 [details]
KRunner acting weird

In this recording it took me less than 80 but the bug happens.
Comment 2 Tobias Fella 2026-02-10 10:19:19 UTC
Can reproduce o_O

But i don't think it's about opening it very often, as far as i can tell it's enough to open it once *and close it with Alt+F4*. then on the next open, it opens in the center of the screen and gets a window icon
Comment 3 cwo 2026-02-10 10:35:28 UTC
I can reproduce it by closing with Alt-F4 on (Fedora's) 6.5, but not on master (on two different computers).
Comment 4 Tobias Fella 2026-02-10 10:37:32 UTC
Actually yes. then this should be fixed already.