Bug 438665 - Panel does not reappear on built-in screen when external screen is disconnected (Wayland only)
Summary: Panel does not reappear on built-in screen when external screen is disconnect...
Status: RESOLVED DUPLICATE of bug 356727
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.22.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 06:47 UTC by madcatx
Modified: 2021-10-06 19:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasmashell log (13.75 KB, text/plain)
2021-06-25 11:07 UTC, madcatx
Details
plasmashell log with WAYLAND_DEBUG (563.57 KB, text/plain)
2021-06-25 11:12 UTC, madcatx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madcatx 2021-06-15 06:47:01 UTC
I have been running the Wayland session since the 5.22 update and I noticed this rather annoying issue. When I connect an external screen to my laptop and have both the external and built-in screen enabled, I always need to manually drag the main panel to the external screen. I'd expect the panel to move back to the laptop screen when the external screen is disconnected. This works fine in X11 session but not under Wayland. I can get the panel back if I either:

1) Drag the panel back to the laptop screen before I unplug the external screen
2) Create a new panel on the laptop screen

If I do the latter, I end up with two panels when I reattach the external screen.

STEPS TO REPRODUCE
1. Connect an external screen and have both screens enabled
2. Move the panel to the external screen
3. Disconnect the external screen

OBSERVED RESULT
Panel disappears and must be recreated.

EXPECTED RESULT
Panel should return to the built-in screen.
Comment 1 Nate Graham 2021-06-16 17:21:25 UTC

*** This bug has been marked as a duplicate of bug 438114 ***
Comment 2 David Edmundson 2021-06-25 10:23:47 UTC
Can you run with `WAYLAND_DEBUG=1 plasmashell --replace`

and reproduce and attach the log. This way we can see what happens with the monitor.
Comment 3 madcatx 2021-06-25 11:07:57 UTC
Created attachment 139655 [details]
plasmashell log

There you go. I started with the external screen attached and the panel placed on that screen. The log contains the disconnection and reconnection of the external screen.
Comment 4 madcatx 2021-06-25 11:12:46 UTC
Created attachment 139657 [details]
plasmashell log with WAYLAND_DEBUG

And once more with WAYLAND_DEBUG set correctly...
Comment 5 Nate Graham 2021-08-17 15:56:03 UTC

*** This bug has been marked as a duplicate of bug 356225 ***
Comment 6 Nate Graham 2021-10-06 19:09:51 UTC

*** This bug has been marked as a duplicate of bug 356727 ***