Bug 362105

Summary: Taskbar options 'autohide'/'windows can cover' not functional
Product: [Plasma] plasmashell Reporter: slartibart70
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major CC: adrian, bkorb, boredsquirrel, cerebellum, cfeck, darinsmiller, dpcasler, emelenas, francisbrwn9, freddie_chopin, jeffsplace, kde, kde, kdeb1152, kyrimis, marco_parillo, martinzecher, myliem, nate, opensc, rdieter, samrog131, straemer, vatbier
Priority: NOR    
Version: 5.6.3   
Target Milestone: 1.0   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In: 5.6.5
Sentry Crash Report:

Description slartibart70 2016-04-22 20:07:02 UTC
Setting the taskbar to autohide or windows can cover does not work anymore.
The taskbar remains visible, does not auto-hide and the windows go 'below' the taskbar.
The option 'always visible' and the auto-size reduction of the windows (firefox, whatever) does still work, though.


Reproducible: Always
Comment 1 slartibart70 2016-04-22 21:28:29 UTC
just found out thet the firefox-window does not respect the taskbars-dimensions at all. Konsole does (example: maximize konsole with 'always-visible' taskbar - ok. Firefox maximized and 'always-visible' taskbar: some content of the firefox window is missing)

My taskbar is at the bottom of the screen. Moving the taskbar at the top of the screen helps with the firefox window which then behaves similar to konsole. But only in this spec. case)

pc is using intel-integrated cpu graphics.
Comment 2 Rog131 2016-04-23 05:53:16 UTC
Possible dublicate of Bug 361566 - Panel auto-hide is completely broken - https://bugs.kde.org/show_bug.cgi?id=361566
Comment 3 David Edmundson 2016-04-29 14:23:03 UTC
*** Bug 361566 has been marked as a duplicate of this bug. ***
Comment 4 slartibart70 2016-05-01 14:52:30 UTC
suggested solution in https://bugs.kde.org/show_bug.cgi?id=361566 does not work in all cases, here i have still problems with autohide
Comment 5 slartibart70 2016-05-06 20:25:47 UTC
seems to be fixed in 5.6.3
Comment 6 Adrián Chaves (Gallaecio) 2016-05-07 06:00:48 UTC
Not here. Still happening in 5.6.3, even after removing ~/.config/plasmashellrc while logged out.
Comment 7 Darin Miller 2016-05-09 16:16:33 UTC
My 5.6.3 in Kubuntu (plasma staging ppa) also suffers from autohide/window can cover issue. Removing/re-adding fresh panel has same behvior.
Comment 8 emelenas 2016-05-11 22:06:51 UTC
Same here for Fedora KDE running 5.6.3. The panel does not autohide, and "windows can cover" is not functional.
Comment 9 FBrown 2016-05-12 19:06:42 UTC
Also seeing here in 5.6.3
Comment 10 Darin Miller 2016-05-13 04:51:54 UTC
Also autohide/window can cover fails in Arch with Plasma 5.6.4.
Comment 11 slartibart70 2016-05-13 19:01:55 UTC
Well, maybe i must clarify why my kde-taskbar can 'autohide' and can be 'covered' by other windows (running fedora23, kde 5.6.3) - this _could_ be a hint to the developers, maybe?

I started installing fc23/cinnamon on a new system. Then, afterwards, i installed the 'KDE Plasma Workspaces' using group install.
There is a little bit missing in comparison to a direct fedora23-kde-spin installation (which is running on a different machine having the same taskbar problems this ticket was originally opened for)
Some of those missing things are, for example, no social network icon in the taskbar, (which i am thankful for!) maybe others i didn't notice right now. I also had to manually install 'kde-gtk-config' 

This 'dual desktop' installation did have problems with the taskbar up to 5.6.2. Beginning with the release of 5.6.3 all is well, taskbar is behaving properly.

Any idea where those differences are and what needs to be removed of the 'typical' kde-spin install to make things work again?
Hope this helps...
Comment 12 Marco Parillo 2016-05-14 19:30:14 UTC
(In reply to Darin Miller from comment #7)
> My 5.6.3 in Kubuntu (plasma staging ppa) also suffers from autohide/window
> can cover issue. Removing/re-adding fresh panel has same behvior.

Confirmed with 5.6.4 in Kubuntu YY (to become 16.10) using:
sudo add-apt-repository ppa:kubuntu-ppa/staging-plasma
sudo apt update && sudo apt full-upgrade -y
Comment 13 Jeff Fitzmaurice 2016-05-14 19:39:55 UTC
Confirmed with Fedora 23 64bit and KDE Plasma Version 5.6.3.   I have been have this trouble for nearly 2 months now.  The task bar will not auto hide.  And running Kernel Version 4.4.9-399.fc23.x86.
Comment 14 Darin Miller 2016-05-15 16:45:05 UTC
More clues:
  Kubuntu 16.04 Xenial Intel 4200 video, Plasma 5.6.3 - autohide problem
  Kubuntu 16.10 Yackety NVidia Gefore8 video, nouveau driver  Plasma 5.6.4 WORKS FINE!
  Kubuntu 16.10 Yackety NVidia Gefore8 video, NVidia340 driver  Plasma 5.6.4 autohide problem
  Kubuntu 16.10 Yackety NVidia  960m video, NVidia 364.19 driver  Plasma 5.6.4 WORKS FINE!

As side note, on my Intel 16.04 box, I removed the panel entirely and put the all the widgets from the panel on the bottom of the screen.  The I just use show desktop (set to super+D on my box) to access the widgets.  OK workaround until the panel is fixed.
Comment 15 Kai Uwe Broulik 2016-05-17 09:27:30 UTC
*** Bug 362837 has been marked as a duplicate of this bug. ***
Comment 16 Darin Miller 2016-05-20 01:24:48 UTC
Status Update:
Kubuntu 16.10 Yackety NVidia Gefore8 video, NVidia340.96 driver Plasma 5.6.4 - autohide problem
Arch  NVidia Gefore8 video, NVidia340.96 driver Plasma 5.6.4 - autohide problem

The intel 4200 Xenail Plasma 5.6.3 "fixed" itself after an update.?!

So now the only common issues among my systems is the legacy NVidia 340.96 drivers.  This seems to be a NVidia and/or QT issue.
Comment 17 rооt 2016-05-20 07:29:56 UTC
Kubuntu 16.10 Intel HD 4000 Plasma 5.6.4 Qt 5.5.1 autohide problem...
Comment 18 kyrimis 2016-05-20 07:46:08 UTC
Fedora 23 user here.

I see the problem with both the legacy driver on a GeForce 9600 and with the 364.19 driver on a GeForce GT 730. I also see it on a VirtualBox VM using the driver installed by the guest additions, so it seems to be a more general problem, not limited to the nVidia driver, legacy or otherwise.

I also tried Plasma 5.6.4 from fedora-testing on the machine with the legacy driver, and the problem persisted.
Comment 19 Chris Ross 2016-05-23 13:22:36 UTC
Definitely not an nVidia issue. I see the same issue on this old Dell laptop running Fedora 23. According to lspci the graphics adaptor is

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Comment 20 kyrimis 2016-05-24 05:48:10 UTC
An interesting detail:

If the taskbar is set to "auto hide" or "windows can cover", and you maximize a window, the window will reach all the way to the bottom of the screen and will be partly covered by the taskbar. If the taskbar is set to "always visible", the window will reach only to the top of the taskbar, and the entire window will be visible.

This suggests that the desktop honors the taskbar visibility setting, and that it is only the taskbar that refuses to hide.
Comment 21 Kai Uwe Broulik 2016-05-25 12:24:22 UTC
Git commit e1ae057fef297b46d17256d497e8e2f4e24c1264 by Kai Uwe Broulik.
Committed on 25/05/2016 at 12:22.
Pushed by broulik into branch 'Plasma/5.6'.

[PanelView] Fix auto hide

The newly introduced HiddenStatus which is used by eg. the desktop pager to completely
hide itself when there is only one virtual desktop, has a higher value than
RequiresAttentionStatus for ABI compatibility reasons, so auto-hide was never actually
enabled if you had this applet (part of the default setup) with just one virtual desktop.
FIXED-IN: 5.6.5

Differential Revision: https://phabricator.kde.org/D1683

M  +4    -1    shell/panelview.cpp

http://commits.kde.org/plasma-workspace/e1ae057fef297b46d17256d497e8e2f4e24c1264
Comment 22 Kai Uwe Broulik 2016-05-25 12:25:45 UTC
Sorry for the inconvenience.
As a workaround until you receive this update, you can remove the virtual desktop pager (and telepathy quick chat, if you use it) from your panel and/or add a second virtual desktop.
Comment 23 kyrimis 2016-05-25 13:27:42 UTC
I can confirm that, under Fedora 23 / Plasma 5.6.4, the workaround of adding a second virtual desktop makes "auto hide" and "windows can cover" work again.

Not wanting to wait for 5.6.5, I rebuilt plasma-workspace 5.6.4 with the patch mentioned in Comment #21, and "auto hide" and "windows can cover" work fine, without the need for a workaround.

Thanks for looking into this.
Comment 24 mike 2016-05-26 11:37:26 UTC
adding 2nd virtual desktop has worked for me
Comment 25 bkorb 2016-06-11 22:57:03 UTC
I have 12 virtual desktops and see a similar issue.  Unclear if this is my issue or if bug 330356 is.
Comment 26 Marco Parillo 2016-06-23 18:14:47 UTC
With Plasma 5.6.5. I can hide the panel, show the desktop, click the K kicker, and move the mouse pointer up to one of my favorites? It seems to me that the bottom of the kicker menu is too high, where the panel should have been, but is now hidden.
Comment 27 Henning 2023-01-28 20:01:55 UTC
Still occuring, after a while autohide stops working and the panel just stays there

Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 28 Henning 2023-01-28 20:03:54 UTC
*** Bug 258012 has been marked as a duplicate of this bug. ***
Comment 29 Nate Graham 2023-05-17 02:36:30 UTC
Please don't re-open ancient bug reports even if the symptoms of your issue look the same. The root cause is very likely different. Please submit a new bug report for newly-encountered issues. Thanks.