Bug 488080

Summary: Panel getting stuck
Product: [Plasma] plasmashell Reporter: contact
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description contact 2024-06-05 15:56:08 UTC
DESCRIPTION
Panel set to dodge windows or auti hide will get stuck (both in the collapsed and in the popped up position)

It just happend to me on wayland, I think it also happend on X11 yesterday.

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.05
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.6.31 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Panel refresh rate: 175 HZ 

## ADDITIONAL INFO
Working on setting up gdb to get get a stack trace if I can. Submitting this so I don't forget to do that.
Comment 1 contact 2024-06-05 19:58:28 UTC
Small update: it does not seem to get stuck permanently. So it seems to recover without me seeing any pattern to it.
Comment 2 contact 2024-06-06 14:02:25 UTC
Okay, I have found one underlying issue:
Whenever an application has a new notification, the panel will not go away.

I think this is probably partly intended, but right now it is just not practical for me. My ideas to resolve this:
 - make it pop up for a bit and then retract
 - show a small visual indicator of a new notification instead of the whole panel. Maybe an orange glow at the location of the app that wants to show a new notification instead of the whole panel. Similar to the blue glow you get when moving the cursor near a collapsed panel. Or maybe the top edge of the app icon creeping onto the screen a bit. 
 - combination of the above

I now  think the panel getting stuck collapsed was probably related to the stability issues I have been reporting.
Comment 3 Nate Graham 2024-06-10 21:18:14 UTC
This is in fact intentional, yes. However it's disable-able; if you don't like the behavior, go to the Task Manager settings window > "Behavior" page > uncheck "When panel is hidden: Unhide when a window wants attention.
Comment 4 contact 2024-06-11 08:18:03 UTC
Thank you.