Bug 459532 - Desktop settings are broken after attaching to external screens on Wayland
Summary: Desktop settings are broken after attaching to external screens on Wayland
Status: RESOLVED DUPLICATE of bug 450068
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.25.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-22 15:03 UTC by Denis Kuplyakov
Modified: 2022-09-23 09:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Detached laptop screen with desktop settings shown (1012.96 KB, image/png)
2022-09-22 15:04 UTC, Denis Kuplyakov
Details
Type changed to "default", but not applied (2.89 MB, image/jpeg)
2022-09-22 15:06 UTC, Denis Kuplyakov
Details
Attached screens with desktops reverted to default (2.94 MB, image/jpeg)
2022-09-22 15:09 UTC, Denis Kuplyakov
Details
Default desktop type applied, but no effect (2.94 MB, image/jpeg)
2022-09-22 15:09 UTC, Denis Kuplyakov
Details
Settings was closed and opened again. Type reverted to "show folder" (2.94 MB, image/jpeg)
2022-09-22 15:10 UTC, Denis Kuplyakov
Details
Screen settings (2.90 MB, image/jpeg)
2022-09-22 15:10 UTC, Denis Kuplyakov
Details
Panel settings (2.90 MB, image/jpeg)
2022-09-22 15:10 UTC, Denis Kuplyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kuplyakov 2022-09-22 15:03:24 UTC
SUMMARY

I have a Dell E5470 laptop. Everyday I use two screen configurations:
1. just using the laptop with it's embedded screen as primary;
2. attaching the laptop to a dockstation with two monitors connected. They are positioned in a row and the right one is the primary. Laptop's screen is closed and disabled.

STEPS TO REPRODUCE and OBSERVED RESULT and EXPECTED RESULT
1. Laptop is detached from dockstation. Primary desktop settings are "default type" and "slideshow".
2. Attach desktop to dockstation. 
    OBSERVED: Both desktops are reverted to default settings.
    EXPECTED: Right and primary screen saves settings from the laptop screen: "slideshow" and "default" type.
3. Open desktop settings, set "default type" and click "apply".
    OBSERVED: Icons are still shown as it is "show folder" desktop type. 
    EXPECTED: No icons shown as it is "default" desktop type.
4. Close desktop settings and open them again.
    OBSERVED: "Show folder" desktop type is shown.
    EXPECTED: "Default" desktop type is shown as was configured on the step 3.
    
Every step above is illustrated by screenshots, that I will attach. Additionally I will supply screenshots of "Screen settings" and "Panel settings".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE  Tumbleweed 20220915
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
I use Wayland session
Comment 1 Denis Kuplyakov 2022-09-22 15:04:03 UTC
Created attachment 152339 [details]
Detached laptop screen with desktop settings shown
Comment 2 Denis Kuplyakov 2022-09-22 15:06:02 UTC
Created attachment 152340 [details]
Type changed to "default", but not applied
Comment 3 Denis Kuplyakov 2022-09-22 15:09:08 UTC
Created attachment 152341 [details]
Attached screens with desktops reverted to default
Comment 4 Denis Kuplyakov 2022-09-22 15:09:41 UTC
Created attachment 152342 [details]
Default desktop type applied, but no effect
Comment 5 Denis Kuplyakov 2022-09-22 15:10:13 UTC
Created attachment 152343 [details]
Settings was closed and opened again. Type reverted to "show folder"
Comment 6 Denis Kuplyakov 2022-09-22 15:10:28 UTC
Created attachment 152344 [details]
Screen settings
Comment 7 Denis Kuplyakov 2022-09-22 15:10:41 UTC
Created attachment 152345 [details]
Panel settings
Comment 8 Nate Graham 2022-09-22 21:46:07 UTC
Thank you for the exhaustive bug report. I appreciate your thoroughness in reporting all this information.

It all points to the common issue of Plasma having a fundamentally broken architecture for mapping screens to containments, so they get scrambled and lost under various conditions. This is tracked by 450068 and we're hoping to have that fixed for Plasma 5.27.

Thank you for your patience with this decidedly non-ideal state of affairs!

*** This bug has been marked as a duplicate of bug 450068 ***
Comment 9 Denis Kuplyakov 2022-09-23 09:21:17 UTC
(In reply to Nate Graham from comment #8)
> Thank you for the exhaustive bug report. I appreciate your thoroughness in
> reporting all this information.

By the moment it looks like that is the only way I can help. Hope that you will be able to use described steps after fix to check that everything is OK :)

I can notice that before some updates on openSUSE Tumbleweed that happened this summer described stuff was working properly on X11. I don't know is there a way to downgrade my distribution and check again.

> This is tracked by 450068 and we're hoping to have that fixed for Plasma 5.27.

Feel free to write me on my own bugs. I will check that everything got fixed.

> Thank you for your patience with this decidedly non-ideal state of affairs!

No problem. Thank you for the work! I can say for sure that for the past two years KDE and Plasma had a very good progress in usability and stability.