Bug 515826 - 'accept focus' setting bugging out plasma pannel
Summary: 'accept focus' setting bugging out plasma pannel
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-10 16:56 UTC by Rehat Singh
Modified: 2026-02-10 17:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rehat Singh 2026-02-10 16:56:55 UTC
SUMMARY
Forcing a window rule with “Accept focus = No” on Firefox-based Picture-in-Picture windows causes Plasma panels set to auto-hide/dodge windows to behave as “Windows go below” while the PiP window is open.

STEPS TO REPRODUCE

1. Create a KWin window rule matching Firefox PiP windows by title “Picture-in-Picture”.
2. Set rule: “Keep above others = Yes (Apply initially)”.
3. Set rule: “Accept focus = No (Force)”.
4. Configure a Plasma panel to auto-hide or dodge windows.
5. Open a video in Firefox and enable Picture-in-Picture.

OBSERVED RESULT
While the PiP window is open, the Plasma panel remains visible and behaves as if set to “Windows go below”. Regular windows render underneath the panel instead of triggering auto-hide/dodge. The issue persists after restarting plasmashell and only resolves when the PiP window is closed.

EXPECTED RESULT
The panel should auto-hide or dodge windows normally when a window approaches it.

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.0 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-9300HF CPU @ 2.40GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1050

ADDITIONAL INFORMATION
The issue reproduces with Firefox and Firefox-based browsers (e.g., Zen) but not with normal application windows. It appears specific to PiP windows. The rule matches by title only (“Picture-in-Picture”), window class set to unimportant, window type normal. The behavior is triggered specifically by forcing “Accept focus = No”.
Comment 1 Rehat Singh 2026-02-10 17:08:25 UTC
SUMMARY
Forcing a window rule with “Accept focus = No” on Firefox-based Picture-in-Picture windows causes Plasma panels set to auto-hide/dodge windows to behave as “Windows go below” while the PiP window is open.

STEPS TO REPRODUCE

1. Create a KWin window rule matching Firefox PiP windows by title “Picture-in-Picture”.
2. Set rule: “Keep above others = Yes (Apply initially)”.
3. Set rule: “Accept focus = No (Force)”.
4. Configure a Plasma panel to auto-hide or dodge windows.
5. Open a video in Firefox and enable Picture-in-Picture.

OBSERVED RESULT
While the PiP window is open, the Plasma panel remains visible and behaves as if set to “Windows go below”. Regular windows render underneath the panel instead of triggering auto-hide/dodge. The issue persists after restarting plasmashell and only resolves when the PiP window is closed.

EXPECTED RESULT
The panel should auto-hide or dodge windows normally when a window approaches it.

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.0 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-9300HF CPU @ 2.40GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1050

ADDITIONAL INFORMATION
The issue reproduces with Firefox and Firefox-based browsers (e.g., Zen) but not with Chrome and Chromium-based browsers. It appears specific to PiP windows and normal browser windows behave normally with the same rules and matching settings. The rule matches by title only (“Picture-in-Picture”), window class set to unimportant, window type normal. The behavior is triggered specifically by forcing “Accept focus = No”.