| Summary: | Laptop's desktop containment gets resized to top-left corner of physical screen after hot-plugging external monitor | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Syiad <syiad.al-duri> |
| Component: | generic-multiscreen | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, nate, notmart |
| Priority: | NOR | ||
| Version First Reported In: | 5.25.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Laptop screen before docking
Laptop screen after docking Both screens after docking Laptop screen after docking with dolphin window open from before |
||
|
Description
Syiad
2022-07-28 13:01:53 UTC
> the laptop display is resized to its top left quarter and garbled up
Can you take a screenshot of what the laptop display shows when this happens? I'd like to make sure I understand what exactly you mean, as there are unfortunately quite a lot of things that can go wrong here.
Created attachment 150994 [details]
Laptop screen before docking
This is what the laptop screen looks like before docking ...
Created attachment 150995 [details]
Laptop screen after docking
... and this is what it looks like with the docking station plugged in (with me being mirrored in the dark part ;-)
Created attachment 150996 [details]
Both screens after docking
This picture also shows the second display on top of the primary (laptop) display.
I've added some pictures showing the laptop screen before and after docking, and together with the secondary display on top after docking. Didn't use spectacle, because I was afraid that that might interfere even more with the screens. As you can see, I have a script with an icon on the desktop to restart plasma especially to work around this issue. After a plasma restart, the laptop screen looks as before docking again. The script also copies '~/.config/plasma-org.kde.plasma.desktop-appletsrc' from a back-up copy to ensure the widgets are restored (different bug https://bugs.kde.org/show_bug.cgi?id=427861). Wow that's super crazy. Is your cursor able to exit that top-right corner where the desktop has been resized to, or is it stuck in there? Created attachment 151051 [details]
Laptop screen after docking with dolphin window open from before
> Is your cursor able to exit that top-right corner where the desktop has been resized to, or is it stuck in there?
No, I can move the cursor around freely on the entire real estate of both screens.
Just plugged in the docking station with dolphin already open on the right half of the laptop screen; the dolphin window held its position after docking (see screenshot attached). It seems that only the plasma desktop gets messed up.
Funny thing: After hot-unplugging the docking station with the laptop screen still garbled up, I was left with only the default wallpaper--firstly monochrome only, then colour fading in--and nothing else. I.e. no dolphin window, no control bar, no mouse pointer, nothing. Luckily I could still access a yakuake window. However, restarting plasma didn't work, so all I could do was to "sudo reboot".
Yep, seems like this is Plasma's fault, not KScreen's fault. Or at least, it's not *entirely* KScreen's fault. Any chance you can try Plasma 5.25 and see if it's fixed there? We did a lot of multiscreen work in that release. Plasma 5.25 will unfortunately not be back-ported to Kubuntu 22.04 LTS. Therefore, I'll have to wait for Kubuntu 22.10 to get KDE 5.25. This is my working laptop, so I don't want to mess with the 5.25 beta ppa for 22.04. (In reply to Nate Graham from comment #9) > Any chance you can try Plasma 5.25 and see if it's fixed there? We did a lot > of multiscreen work in that release. Now that 5.25.4 has been backported to Kubuntu 22.04, I could give it a try: The problems still persists. With Kubuntu 22.10 comes ... Plasma 5.25.5 Frameworks 5.98.0 Qt 5.15.6 Something of those has fixed the issue, which Plasma 5.25.4 alone did not fix. Anyway, the screens now behave as expected when hotplugging the the dock. |