Bug 491858

Summary: Window rules don't apply to first automatically generated instance of krunner
Product: [Plasma] krunner Reporter: edwloef <edwin.frank.loeffler>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: alexander.lohnau, natalie_clarius, nate
Priority: VLO    
Version First Reported In: 6.1.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The window rule used

Description edwloef 2024-08-18 12:00:10 UTC
Created attachment 172728 [details]
The window rule used

SUMMARY
I would like to add a window rule to make KRunner unclosable by default. However, KRunner's first window is still closeable by keyboard shortcut and KRunners created after the first close are not. Not 100% sure this is the correct spot to report this, however I haven't observed this behavior with any other application so far.

STEPS TO REPRODUCE
1. Create a window rule as shown in the screenshot
2. Start plasma and close the Krunner window with Alt+F4

OBSERVED RESULT
KRunner closes

EXPECTED RESULT
KRunner does not close

SOFTWARE/OS VERSIONS
Linux: 6.10.5
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2