https://bugs.kde.org/show_bug.cgi?id=520098
Bug ID: 520098
Summary: Says "All displays are disabled" when laptop lid is
closed with 2 monitors, and Spectacle doesn't work
Classification: Applications
Product: systemsettings
Version First 6.6.5
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_kscreen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
STEPS TO REPRODUCE
1. Have a laptop.
2. Connect a second monitor, with HDMI (want to use it as the primary one and
not use the original laptop one).
3. Fiddle with display settings somehow.
4. Close the lid (the laptop monitor).
5. For good measure press Windows + L to lock the screen, wait for the HDMI
monitor to turn off. Then come back and unlock the screen again. (I'm not sure
if this step is required).
OBSERVED RESULT
1. Spectacle doesn't work https://bugs.kde.org/show_bug.cgi?id=506054.
2. If you go to Display settings, it says "All displays are disabled. Enable at
least one."
3. If you use multiple desktops, their panel icons don't display the rectangles
of how windows are located, unless you have the lid open.
In itself this is not too bad, but it points to an issue.
EXPECTED RESULT
1. Spectacle works
2. The error message is not displayed.
3. Window rectangles are always visible.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.0
ADDITIONAL INFORMATION
I'm not sure if I'm submitting this bug to the right component. Seems like
there are overall issues with multiple displays and lid closing, which breaks
also Spectacle. I'm getting a feeling that this use case is not well-supported
overall.
Output of (some info omitted) when the lid is closed:
```
Output: 1 eDP-1 ....
disabled
connected
priority 1
Panel
replication source:0
Output: 2 HDMI-A-1 ....
enabled
connected
priority 1
HDMI
replication source:1
```
When the lid is open:
```
Output: 1 eDP-1 ....
enabled
connected
priority 2
Panel
replication source:2
Output: 2 HDMI-A-1 ....
enabled
connected
priority 1
HDMI
replication source:0
```
This is the code that's responsible for the "all displays disabled" message
https://invent.kde.org/plasma/kscreen/-/blob/99a1a2febc90f6809e33dffc30e72ab357f9a746/kcm/kcm.cpp#L381-386
And it checks out with the outputs of `kscreen-doctor -o`: only one HDMI
display is enabled, but its replication source is non-0.
The "Primary" and "Replica of" settings fields are not visible in the Display
Configuration GUI for the HDMI monitor.
--
You are receiving this mail because:
You are watching all bug changes.