Bug 462572 - Autohidden top panel does not autohide after startup until hovered or interacted with once
Summary: Autohidden top panel does not autohide after startup until hovered or interac...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.26.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 06:30 UTC by PK
Modified: 2023-05-17 15:04 UTC (History)
5 users (show)

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


Attachments
The panel in the top position is supposed to autohide but doesn't do that after system start (657.80 KB, image/jpeg)
2022-12-03 06:30 UTC, PK
Details
tar.gz containing three files that contain (imho) the plasma layout (1.89 KB, application/gzip)
2022-12-03 06:34 UTC, PK
Details
global theme (717.47 KB, application/gzip)
2023-03-16 07:36 UTC, PK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2022-12-03 06:30:44 UTC
Created attachment 154257 [details]
The panel in the top position is supposed to autohide but doesn't do that after system start

SUMMARY
***
In my plasma-layout there is a panel in the top of the screen. It contains the global menu widget and the system tray widget. This panel is meant to autohide. But after startup, when it shows itself, it forgets to autohide. "Touching" it will make it hide and even hovering over it will do the trick, but if you don't do that it will stay in it's place.
***


STEPS TO REPRODUCE
1. Use plasma-layout with autohiding upper panel
2. start up plasma

OBSERVED RESULT

After start up the panels will show. But the autohiding one will not disappear

EXPECTED RESULT

After showing itself for a short while the autohiding panel wil disappear.
SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600

ADDITIONAL INFORMATION
Comment 1 PK 2022-12-03 06:34:33 UTC
Created attachment 154258 [details]
tar.gz containing three files that contain (imho) the plasma layout
Comment 2 PK 2022-12-03 14:20:27 UTC
I experienced this in other "layouts" too. I suppose it would be easy to reproduce...
Comment 3 Nate Graham 2022-12-05 18:57:12 UTC
So its behavior is reversed? It shows when it should be hidden, and hides when it should be shown?
Comment 4 PK 2022-12-06 05:33:06 UTC
(In reply to Nate Graham from comment #3)
> So its behavior is reversed? It shows when it should be hidden, and hides
> when it should be shown?

No, it isn't that bad. At Plasma startup the panel that is supposed to be hidden shows up. But then it doesn't disappear out of itself. 
Once I click on this panel or even hover over it, it disappears and from then behaves as expected.
Comment 5 PK 2022-12-06 06:23:18 UTC
Just now I notice that this faulty behavior also occurs after a "plasmashell --replace"...
Comment 6 Nate Graham 2022-12-06 16:40:51 UTC
Hmm, I can't reproduce this. When I move my panel to the top, set it to auto-hide, and restart plasmashell, the panel appears for a moment on launch, then hides again.
Comment 7 kinghat 2023-03-14 17:31:11 UTC
i used to have this same issue but my experience is on par with nate now on:

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.18-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 8 PK 2023-03-14 19:20:04 UTC
Here here! I filed this bug https://bugs.kde.org/show_bug.cgi?id=462572 and Nate Graham couldn't reproduce.
And in all honetsy: I use a laptop and a mini-desktop, on the mini-desktop there is always this wrong behavior, but it rarely happens on my laptop...
Comment 9 Nate Graham 2023-03-15 15:33:30 UTC
Pk, does your mini-desktop have more than one screen connected?
Comment 10 PK 2023-03-15 15:51:48 UTC
No, it doesn't have more than one monitor connected...
Comment 11 PK 2023-03-16 07:36:38 UTC
Created attachment 157325 [details]
global theme

It only happens after startup. Plasma shows the panels a short time but after that the hidden ones are supposed to disappear. Only they very often don't. In this attachment you'll find a plasma layout that often lets the hidden top left panel "hang" after startup until you hover over it with the cursor.
It doesn't seem important what plasma theme you use with it.
Comment 12 kinghat 2023-03-18 17:45:47 UTC
(In reply to kinghat from comment #7)
> i used to have this same issue but my experience is on par with nate now on:
> 
> Operating System: Fedora Linux 37
> KDE Plasma Version: 5.27.2
> KDE Frameworks Version: 5.103.0
> Qt Version: 5.15.8
> Kernel Version: 6.1.18-200.fc37.x86_64 (64-bit)
> Graphics Platform: Wayland

correction, ive had my auto-hide panel stick open after login twice since i posted this. unsure of the conditions that cause it. last one was after an update reboot.
Comment 13 Alexad 2023-05-07 16:01:28 UTC
Same issue here. 

The 5.27.4 brought a lot of problems.

After opening or focusing of a (new) window of a random app the AUTOHIDE panel shows up and doesn't autohide unless mouse is focused (hovered) and moved away. Using keyboard for input while in app also doesn't hide it.

It's VERY annoying.

I also discovered that you can't configure autohide time and virtual desktop widget isn't responsive from the first click weirdly.

Please FIX ASAP.

Linux Version: linux-generic/lunar,now 6.2.0.20.20
Plasma Version 5.27.4
QT Version: 5.15.8


See this issue raised on REDDIT:  https://www.reddit.com/r/kde/comments/119h78f/kde_plasma_5271_panel_visibility_autohide_bugged/
Comment 14 Richard Ullger 2023-05-07 20:26:08 UTC
I can confirm the autohide behaviour in Arch Linux.

On logging into plasma, both my top and left hand side autohide panels do not autohide until I mouse over them. If I open a non full screen app before mousing over the panels, the app is positioned so that it doesn't cover the panels.

This behaviour started happening after a recent system update although I can't recall which and occurs without fail.

Both my autohide panels are floating.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2
Manufacturer: Notebook
Product Name: P7xxTM1
System Version: Not Applicable
Comment 15 PK 2023-05-16 16:43:47 UTC
Now I'm surprised! I can't reproduce this bug anymore. The reason must be that I set the screen dimensions of my laptop to 1600x900 so that I wouldn't need to scale. I use Wayland.
So this bug could very well be related to scaling...
Comment 16 Alexad 2023-05-16 17:25:49 UTC
There is a solution to the problem I think, checkout my this reply: https://bugs.kde.org/show_bug.cgi?id=468356#c11