Bug 491858 - Window rules don't apply to first automatically generated instance of krunner
Summary: Window rules don't apply to first automatically generated instance of krunner
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.1.4
Platform: Arch Linux Linux
: VLO minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-18 12:00 UTC by edwloef
Modified: 2024-08-20 16:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The window rule used (126.97 KB, image/png)
2024-08-18 12:00 UTC, edwloef
Details

Note You need to log in before you can comment on or make changes to this bug.
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