Bug 375447

Summary: Panel Config File Ignores All Settings with Wildcarded/Elided [Horizontal ...] Syntax
Product: [Plasma] plasmashell Reporter: spacemant5010
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.8.3   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description spacemant5010 2017-01-23 12:03:51 UTC
In OpenSUSE 13.2 (KDE4), you can configure the Panel to autohide for all possible widths by putting the following in plasmashellrc (or its equivalent):

[PlasmaViews][Panel 2]
panelVisibility=1

This is very useful when Linux is run in VMWare, as the VM window may have multiple random widths, and I don't want to have to manually add entries for every possible width.

In OpenSUSE Leap 42.2 (KDE 5.8.3), this no longer works - it's ignored.  I can set "autohide" via the GUI, but it will then add a setting specific to the current width, which only works if I keep the VM window at that width.  The moment I resize it, the panel stops autohiding.  As  workaround, I've added every possible window width with an autohide configuration:

[PlasmaViews][Panel 2][Horizontal1000]
panelVisibility=1

[PlasmaViews][Panel 2][Horizontal1001]
panelVisibility=1

[PlasmaViews][Panel 2][Horizontal1002]
panelVisibility=1

[PlasmaViews][Panel 2][Horizontal1003]
panelVisibility=1

[PlasmaViews][Panel 2][Horizontal1004]
panelVisibility=1

:

Ugh.
Comment 1 David Edmundson 2017-01-23 15:19:17 UTC
With Plasma 5.9 panelVisibility is set in 

[PlasmaViews][Panel 2]
panelVisibility=1

without a separate config per size.