Bug 482731

Summary: After setting custom panel width, autohide doesn't work
Product: [Plasma] plasmashell Reporter: chungalitos <chungalitos>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description chungalitos 2024-03-07 15:29:49 UTC
SUMMARY
After setting custom panel width, autohide panel feature doesn't work, panel stay visible even when a window cover it.

STEPS TO REPRODUCE (assuming you have "autohide" option in visibility mode)
1. Right click on panel and enter edit mode
2. Select Width --> Custom and set a custom width
3. Maximize a window

OBSERVED RESULT
Panel doesn't hide, as it should. It remains always visible.

EXPECTED RESULT
Panel should hide if a window cover it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 5.115
Qt Version: 6.6.2
Comment 1 Nate Graham 2024-03-07 21:45:59 UTC
"Auto-Hide" isn't the mode where the panel disappears when a window covers it; that's "Dodge Windows". Can you make sure you're using the intended setting?

Also, does this happen on X11, or Wayland, or both?
Comment 2 chungalitos 2024-03-08 07:32:27 UTC
Sorry, you are right: it is "Dodge windows". And it happened on Wayland, not tested on x11. I was going to do this, but now I can't replicate it (Wayland). 

First time, when I tried to adjust panel width, something strange happened: if I adjusted the width on one side, it did not adjust automatically on the other (even though I had the planel centered). I had to log out and log in to fix it (Dodge Windows behaviour).

Now this does not happen, and the adjustment is symmetrical. After that, Dodge Windows setting still works. 

I'm sorry about all this. If there is anything I can do to help, let me know.
Comment 3 Nate Graham 2024-03-08 21:15:13 UTC
Ok, I can't reproduce that issue, and if you can't either, let's close this for now. But if you manager to reproduce the issue again, feel free to re-open this bug report!