Bug 447477

Summary: Panel disappears after interacting with applet in tablet mode
Product: [Plasma] plasmashell Reporter: Eric Edlund <ericedlund2017>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version First Reported In: 5.23.4Flags: nate: Usability-
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eric Edlund 2021-12-24 15:41:54 UTC
SUMMARY
I'm on a 2 in 1 laptop and when I have it in tablet mode the bottom task panel is shown. Then after I interact with an applet, like pressing the battery applet to change brightness, the bar hides and I have to unfold my computer to get it back.

STEPS TO REPRODUCE
1. Enter tablet mode
2. Interact with applet on dock

OBSERVED RESULT
Panel hides after interaction

EXPECTED RESULT
Panel remains visible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 5.23 User Edition
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2022-01-11 23:41:34 UTC
That's odd. Cannot reproduce with tablet mode on my 2-in-1.
Comment 2 Eric Edlund 2022-01-11 23:48:33 UTC
(In reply to Nate Graham from comment #1)
> That's odd. Cannot reproduce with tablet mode on my 2-in-1.

Panel auto-hide enabled?
Comment 3 Nate Graham 2022-01-13 18:18:10 UTC
No, it's always visible.
Comment 4 Eric Edlund 2022-01-13 20:20:56 UTC
I do have autohide enabled.
Comment 5 Eric Edlund 2022-01-13 20:22:49 UTC
And for clarity, I'm assuming that in tablet mode, the task bar should always be visible, even when it's set to autohide.
Comment 6 Nate Graham 2022-01-13 20:26:40 UTC
>  I'm assuming that in tablet mode, the task bar should always be visible
Thanks for clarifying that. This assumption is not reflected in the current state of the code, so that would be the problem. :)

In principle there is no reason why auto-hide should be disabled in tablet mode though, since you can swipe from the edge to show the panel. I just tried that and it's working for me. Does that not work for you?
Comment 7 Eric Edlund 2022-01-13 21:41:23 UTC
I currently have the behavior for swiping from the bottom of the screen set to "present windows - all desktops" which is working.
Now that I think about it, this does ultimately allow me to get the panel back onscreen without unfolding, and this bug can be resolved. (oops)

If this is intentional design, however, is it also intentional that when I rotate in tablet mode with autohide enabled, the panel is shown? This seems contrary to the model.
Comment 8 Nate Graham 2022-01-13 23:35:54 UTC
Oh, that might be a bug.
Comment 9 Eric Edlund 2022-01-14 00:10:46 UTC
Filed a new bug, 448420