Bug 430107 - When migrating from a previous configuration where the "primary display" UI was a drop-down, no primary screen is selected
Summary: When migrating from a previous configuration where the "primary display" UI w...
Status: RESOLVED INTENTIONAL
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.20.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 12:40 UTC by Oded Arbel
Modified: 2022-11-08 21:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2020-12-07 12:40:57 UTC
SUMMARY
When upgrading an old Plasma installation (lets say 5.12 or before) - where the Display Configuration UI had a drop-down selection for "Primary Display", to Plasma 5.20 - where the Display Configuration has a checkbox for "primary" on each device, no device has the "primary" checkbox checked.

This can cause some weird issues when hot-plugging/unplugging monitors after the upgrade: if the "old primary screen" is turned off and on again, the secondary screen becomes the primary screen and does not reset back (see https://bugs.kde.org/show_bug.cgi?id=343631#c6).

STEPS TO REPRODUCE
1. Install Plasma 5.12
2. Set up multiple monitors with one of them selected as the "Primary Display" in the Display Configuration UI (i.e. make sure that the drop-down does not say "No Primary Display")
3. Upgrade to Plasma 5.20

OBSERVED RESULT
In the new Display Configuration UI, no device is selected as "primary".

EXPECTED RESULT
The device that was selected as the "Primary Display" in 5.12 should have its "primary" checkbox checked in 5.20.

ADDITIONAL INFORMATION
I kind of expect this ticket to be closed as "RESOLVED: who cares" and I'm mostly opening this for documenting the problematic behavior and the workaround - which is to open the display configuration and fiddle with the check boxes.
Comment 1 Nate Graham 2022-11-08 21:32:05 UTC
Probably nothing we can do about it at this point: /