Summary: | Opening lid of laptop with external screen connected inappropriately disables laptop screen | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | Nate Graham <nate> |
Component: | common | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | marcin.marcin.m, notmart |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | What the KCM shows |
Description
Nate Graham
2023-02-27 19:51:07 UTC
what does the kscreen kcm says (can you post a screenshot)? if the screen is enabled from there does it start to behave correctly afterwards? maybe the first time you connected that external screen you inadvertitely chosen from the OSD to use only the external screen? Created attachment 156836 [details] What the KCM shows Attaching a screenshot of the KCM. The KCM agrees with `kscreen-doctor -o` and also matches reality. When I reproduce this bug, if I enable the laptop screen from the KCM, it becomes enabled as expected. But the old layout from before is not remembered; I need to manually mark the laptop screen as primary and move the external screen to its proper position. > maybe the first time you connected that external screen you inadvertitely chosen from the OSD to use only the external screen? Don't think so. The external screen is my only one and it's the one I regularly use to test multimonitor issues and patches. Git commit ae84480fbfdc684b8ee4b0207d3ce679f6fb4cd7 by Xaver Hugl. Committed on 05/10/2023 at 20:29. Pushed by zamundaaa into branch 'master'. outputconfigurationstore: add new config system Instead of an external service (like KScreen) storing and restoring output configurations, with this commit KWin takes over that responsibility. This allows it to, among other things, generate appropriate configs for new sets of outputs immediately, and take KWin-internal information about outputs into account when generating them. Related: bug 466208, bug 455082, bug 457430, bug 474021, bug 469653, bug 466342, bug 470863 M +1 -0 CMakeLists.txt M +1 -0 autotests/integration/kwin_wayland_test.cpp M +1 -0 src/CMakeLists.txt M +5 -0 src/backends/drm/drm_output.cpp M +9 -0 src/core/output.cpp M +11 -0 src/core/output.h M +1 -0 src/core/outputconfiguration.h M +7 -0 src/main.cpp M +1 -0 src/main.h M +0 -4 src/main_wayland.cpp M +709 -20 src/outputconfigurationstore.cpp M +68 -4 src/outputconfigurationstore.h M +1 -0 src/utils/CMakeLists.txt M +8 -0 src/utils/edid.cpp M +8 -0 src/utils/edid.h A +54 -0 src/utils/orientationsensor.cpp [License: GPL(v2.0+)] A +38 -0 src/utils/orientationsensor.h [License: GPL(v2.0+)] M +34 -1 src/wayland/outputdevice_v2.cpp M +1 -0 src/wayland/outputdevice_v2.h M +12 -1 src/wayland/outputmanagement_v2.cpp M +49 -6 src/workspace.cpp M +2 -0 src/workspace.h https://invent.kde.org/plasma/kwin/-/commit/ae84480fbfdc684b8ee4b0207d3ce679f6fb4cd7 I'm affected by the same issue. This also happens when the laptop stays idle for a very long time. (I'm on kwin 5.27.10, for reference) |