Bug 402912

Summary: Panel in "Auto-Hide" mode does not auto-hide when KWin HideUtilityWindowsForInactive is false
Product: [Plasma] plasmashell Reporter: Öyvind Saether <oyvinds>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: incomingstick, john.b.little, nate, riku, wbqq, xaver.hugl
Priority: NOR    
Version: 5.14.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Öyvind Saether 2019-01-06 03:23:55 UTC
1. Set panel to auto-hide
2. Set HideUtilityWindowsForInactive to unchecked/false with Systemsettings -> Window management  -> Window actions and behavior -> [ ] Hide utility windows for inactive applications. This setting changes $HOME/.config/kwinrc [Windows] section setting HideUtilityWindowsForInactive

This setting makes panel auto-hiding stop working. It reappears switching between windows by clicking on them or by changing with alt-tab and then it's stuck, forever, until mouse pointer is hoovered over the panel.

Changing HideUtilityWindowsForInactive back to true fixes this. However, having this true hides the utility windows - as intended. These windows are sometimes useful, smplayer's playlist is one such window. Open smplayer and the playlist and dolphin and try to drag files from dolphin to the playlist with this setting and You can't because the playlist is gone the moment you click dolphin. There's other reasons why I don't want this setting. 

The current situation is that I can use a kwin setting I don't want and have auto-hiding panel(s) or have working auto-hide and utility windows go away when I need them.

XFCE4 does not have this problem.

While kwin setting is what triggers this it's probably an effect of plasmashell/the way the panel works.

Please let me know if I can provide more information and how to gather it if that is the case.
Comment 1 Martin Flöser 2019-01-06 07:48:31 UTC
Hiding is triggered from Plasma side
Comment 2 John Little 2019-06-09 04:13:11 UTC
I have this problem. The panel reappears switching windows in any way not using the panel, and remains until the mouse pointer is over the panel.

KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

Setting HideUtilityWindowsForInactive=true stops it, thank you  Öyvind Saether.
Comment 3 Nate Graham 2023-09-18 20:53:36 UTC
*** Bug 468356 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2023-10-12 18:13:26 UTC
*** Bug 444657 has been marked as a duplicate of this bug. ***
Comment 5 Zamundaaa 2024-06-07 16:42:10 UTC

*** This bug has been marked as a duplicate of bug 413549 ***