Bug 484069 - Panel unresponsive after extending desktop to multi-monitor
Summary: Panel unresponsive after extending desktop to multi-monitor
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-20 13:16 UTC by Gabriel Barros
Modified: 2024-04-22 14:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Barros 2024-03-20 13:16:33 UTC
After plugging another monitor (doesn't matter if first time or a known screen) the panel will only respond to right click. And even then, the right click will ignore the "widget" and show the right click for the panel itself. (i.e. only shows the "add widget" and "Enter edit mode" in the menu)


STEPS TO REPRODUCE
1. Move panel to left of screen (i.e. vertical)
2. Attach another monitor (in extend screen mode)
3. easier to reproduce if it's a known secondary screen, to the top of the main one.

OBSERVED RESULT
No clicks on any of the panels work.
Right click anywhere on the panel will show the few option menu as if rigth-clicking an empty panel area.
Removing external screen doesn't solve the problem, still unresponsive.
Things I cannot click: clock, quick launch icons, systemtray icons (wifi, battery, etc), launcher button.

EXPECTED RESULT
I could still click panel items.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP EliteBook 845 14 inch G9 Notebook PC

ADDITIONAL INFORMATION

Workaround:
right-click, enter edit mode, exit edit mode. Everything works again just fine. with or without external monitor attached.
Comment 1 funny0facer 2024-04-02 19:12:01 UTC
I can reproduce this behavior on my system. My second monitor is on the right hand side and slightly higher.
I made a screenrecording using kscreen-doctor to enable and disable the second screen. ( https://youtu.be/6ueSXKkY-Jo )
In the video you see the desktop's right click menu instead of the panel right click menu.

#works
kscreen-doctor output.DP-3.disable &> /dev/null
#works
kscreen-doctor output.DP-3.enable output.DP-3.position.2560,0 &> /dev/null 
#does not work
kscreen-doctor output.DP-3.enable output.DP-3.position.2560,-38 &> /dev/null

Depending on the Y-value, this amount of panel is unusable. In my case (-38) only the kicker is affected.

This is only true for the Wayland session. When I run the X11 session and change the layout with xrandr, I can not reproduce it.
Comment 2 funny0facer 2024-04-07 21:18:25 UTC
I anyone else is looking for a workaround:
I run "plasmashell --replace &> /dev/null &" to reload the panels after enabling the second monitor.
Comment 3 funny0facer 2024-04-17 17:49:35 UTC
I just updated to 6.0.4.
I can no longer reproduce it. Seems fixed to me.
Comment 4 fanzhuyifan 2024-04-22 14:30:54 UTC
(In reply to funny0facer from comment #3)
> I just updated to 6.0.4.
> I can no longer reproduce it. Seems fixed to me.

Great! Closing this bug report.