Bug 375447 - Panel Config File Ignores All Settings with Wildcarded/Elided [Horizontal ...] Syntax
Summary: Panel Config File Ignores All Settings with Wildcarded/Elided [Horizontal ......
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.8.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 12:03 UTC by spacemant5010
Modified: 2017-01-23 15:19 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 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.