Bug 486602 - Monitor position incorrect
Summary: Monitor position incorrect
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen, wayland-only
Depends on:
Blocks:
 
Reported: 2024-05-05 05:10 UTC by rajil.s
Modified: 2024-05-24 17:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rajil.s 2024-05-05 05:10:50 UTC
SUMMARY

Plasma does not remember the position of left and right monitors. Every time i go from 1 monitor to 2 monitors in 'Display Configuration' it place my left screen on the right of current screen. 

STEPS TO REPRODUCE
1. Have two physical monitors, but have only 1 enabled.
2. Enable the 2nd monitor in "Display Configuration"
3. It places it on the right. Drag the monitor to be the left screen
4. Disable 2nd monitor
5. Enable second monitor. It again puts it on the right.

OBSERVED RESULT
Second monitor always comes out on the right

EXPECTED RESULT

System should remember that the monitor was set to left initially. And so it should come out on the left of the current screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.4
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-05-05 14:45:39 UTC
Xaver, could this be the recently-fixed issue where it would inappropriately fall back to the X11 settings?
Comment 2 Zamundaaa 2024-05-06 17:04:36 UTC
No, this is internal to the KScreen GUI. It already has logic to remember this position, but it seems to be a bit buggy
Comment 3 Bug Janitor Service 2024-05-06 17:33:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/309
Comment 4 Zamundaaa 2024-05-07 19:16:31 UTC
Git commit 716578aac559ffc0866cd857d8a39f197cbf3be4 by Xaver Hugl.
Committed on 06/05/2024 at 17:31.
Pushed by zamundaaa into branch 'master'.

kcm: remember position of disabled screens even after the KCM was closed

At least on Wayland, the position is remembered regardless of the enablement status,
so there's no reason not to remember is

M  +3    -1    kcm/output_model.h

https://invent.kde.org/plasma/kscreen/-/commit/716578aac559ffc0866cd857d8a39f197cbf3be4
Comment 5 Zamundaaa 2024-05-24 17:04:02 UTC
hmm, this should''ve been BUG and not CCBUG