Bug 427799 - Conflict between autohide panel and switch desktop on edge
Summary: Conflict between autohide panel and switch desktop on edge
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: Hotcorners and edges (show other bugs)
Version: 5.21.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 13:01 UTC by sundoulos2
Modified: 2024-09-26 21:41 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sundoulos2 2020-10-16 13:01:24 UTC
SUMMARY
1 row of virtual desktops, panel at the bottom of the screen set to autohide, Switch desktop on edge set to Always Enabled, panel once hidden will not reappear.

STEPS TO REPRODUCE
1. One row of virtual (4) desktops
2. Panel at bottom of the screen, set to autohide
3. System Settings / Workspace Behavior / Screen Edges / Switch desktop on edge / Always Enabled
4. Move cursor to the bottom of the screen, the edge lights up as if to rotate, the panel will not unhide
5. Set Switch desktop on edge to Disabled, panel hides and unhides as expected.

OBSERVED RESULT
It appears the cube is trying to rotate to another row that does not exist and the panel will not unhide if Switch desktop on edge is enabled. Setting it to Disabled allows the panel autohide to function correctly.

EXPECTED RESULT
If there is only one row of Virtual Desktops, a panel on either the top or bottom edge should autohide correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: all version 5
KDE Frameworks Version: 
Qt Version: 5.15

ADDITIONAL INFORMATION
This problem has existed since the beginning of Plasma 5; it worked correctly in Plasma 4.
Comment 1 Arjan 2021-02-27 08:58:39 UTC
Hi, a me too report, some additional info

Using Ubuntu 20.10, amd64, included by distribution: plasma 5.19
Configured 3 virtual desktops in a row, and having 2 "Activities"

Having a panel (from default) on the bottom, and another  panel (form empty) on top.
Setting those to autohide as described by reporter, the panels (auto)hide, but never unhide by any mouse action.

The bottom panel (from default) can be tricked to show using the <windows>-key because has a shortcust to the menu in panel. 

The workaround as suggested by reporter:
5. Set Switch desktop on edge to Disabled, panel hides and unhides as expected.
works for me too! thanks you for a proper workaround for this annoying bug.


Just by diving in i found a way to set the unhide back to normal, when panel is in hiding state. this might help others:

List desktop/and panel config, and extract index of panel you need to change:
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.dumpCurrentLayoutJS

set panel back to normal, using the index starting from 0 in panel list from above output, demo is with '0' but adjust to your needs:
qdbus org.kde.plasmashell /PlasmaShell evaluateScript "p = panelById(panelIds[0]); p.hiding = \"normal\" ;"
Comment 2 Arjan 2021-03-07 16:40:50 UTC
Hi, just tested issue with manjaro kde/plasma with plasma 5.21.1 and also there same issue.
updated version and platform to manjaro (as with ubuntu I can't impossible test latest version without mucking up the whole system)

not sure if product kwin is the right category shouldn't is be plasma ??
having this bug assign to kwin-bugs-null@kde.org looks like it's totally ignored right? can someone shed a light on that?

Thanks
Comment 3 Nate Graham 2021-03-07 17:05:20 UTC
The name of the mailing list is stupid, but it is monitored.
Comment 4 Venca B Spam 2024-04-05 05:23:35 UTC
I have the same problem.

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.5.0-17-generic (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: Precision 5570
Comment 5 Vlad Zahorodnii 2024-09-26 09:12:36 UTC
I cannot reproduce the issue on Plasma 6 neither on Wayland nor on X11.
Comment 6 therapon 2024-09-26 21:40:55 UTC
(In reply to Vlad Zahorodnii from comment #5)
> I cannot reproduce the issue on Plasma 6 neither on Wayland nor on X11.

Glad for you. I still have the same issue:

openSUSE Tumbleweed 20240924
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version 6.7.2
Kernel Version: 6.10.11-1
Graphics Platform: Wayland

Other settings/steps to reproduce function as in the original post.