Public bug reported: My scenario is: - Laptop screen (eDP-1) (3840x2400) - External Monitor, plugged in via kvm (DP-1-2) (1920x1200)
The setup I want: - With both screens on, external should appear to the right of laptop; external should be primary - With just the laptop screen on, it should be primary - With the laptop lid closed (which causes the screen to be disabled but still connected) the external should be primary My current display settings are attached. What I observe is: 1. starting scenario: both monitors on, with the "both" profile checked. 2. if I then close the lid, the laptop monitor becomes disabled as expected, but the "both" profile is still checked, and is the only profile visible in the "advanced" tab list (so i can't chose the "external" profile manually) 3. if I then reopen the lid, "both" is still checked, but it mirrors instead of extending. 4. If i now manually reapply the "both" profile, it goes into my expected setup. 5. if i then use the kvm to disconnect the external monitor, the profile switches to "main" and things seem correct 6. if i then use the kvm to reconnect the external monitor, the profile switches back to "both" and things seem correct Observing this, my guess is what's happening is disabling/enabling a monitor without actually disconnecting isn't a factor in profile switches, so switch between states 1 and 2 doesn't cause a profile switch between the "external" and "both" profiles; it just stays in "both" and gets somewhat confused. Another observation (which might be a symptom of the same problem, not sure) is: 1. starting from state 4 (manually application of "both", everything seems okay) 2. if I close the lid, it stays in "both" (same observation as above, state 2) 3. if I now _also_ switch the kvm (leaving the monitor state as: external disconnected, laptop disabled), I can't observe the state (no monitors, though I assume there's some logging I could enable to find out) 4. If I now use the kvm to reenable the external, I observe that _both_ monitors are enabled, not just the external, and it's in "both" profile with the laptop screen active (to the left) even though the laptop is still closed. This is variable; sometimes it ends up mirrored instead of extended, which (since the resolutions are different) is a state I can only recover from by opening the laptop lid and configuring it from that monitor. 5. If I now use the dialog to manually disable the laptop screen, "both" is visible but unchecked (and is the only visible profile). My assumption here is that, when I disconnect the last active monitor, the laptop monitor is automatically reactivated, and then the profile switching problem is the same as above. Anyway, I hope this state machine gives you enough to go on- if there is some sort of logging I can enable to give you enough info to debug, let me know! This is with: - xfce4-settings 4.18.4-0ubuntu3 (ubuntu 24.04.2) - xubuntu-desktop 2.262 lsb_release -rd is No LSB modules are available. Description: Ubuntu 24.04.2 LTS Release: 24.04 Let me know if there are any other versions that would be helpful. Thanks! ** Affects: xfce4-settings (Ubuntu) Importance: Undecided Status: New ** Attachment added: "settings" https://bugs.launchpad.net/bugs/2103844/+attachment/5866420/+files/settings ** Description changed: - Sorry for the vagueness of the title, I'm not actually sure if this is a - bug or I don't understand how it's supposed to work! - My scenario is: - Laptop screen (eDP-1) (3840x2400) - External Monitor, plugged in via kvm (DP-1-2) (1920x1200) The setup I want: - With both screens on, external should appear to the right of laptop; external should be primary - With just the laptop screen on, it should be primary - With the laptop lid closed (which causes the screen to be disabled but still connected) the external should be primary My current display settings are attached. What I observe is: 1. starting scenario: both monitors on, with the "both" profile checked. 2. if I then close the lid, the laptop monitor becomes disabled as expected, but the "both" profile is still checked, and is the only profile visible in the "advanced" tab list (so i can't chose the "external" profile manually) - 3. if I then reopen the lid, "both" is still checked, but it mirrors instead of extending. + 3. if I then reopen the lid, "both" is still checked, but it mirrors instead of extending. 4. If i now manually reapply the "both" profile, it goes into my expected setup. 5. if i then use the kvm to disconnect the external monitor, the profile switches to "main" and things seem correct 6. if i then use the kvm to reconnect the external monitor, the profile switches back to "both" and things seem correct Observing this, my guess is what's happening is disabling/enabling a monitor without actually disconnecting isn't a factor in profile switches, so switch between states 1 and 2 doesn't cause a profile switch between the "external" and "both" profiles; it just stays in "both" and gets somewhat confused. Another observation (which might be a symptom of the same problem, not sure) is: 1. starting from state 4 (manually application of "both", everything seems okay) 2. if I close the lid, it stays in "both" (same observation as above, state 2) 3. if I now _also_ switch the kvm (leaving the monitor state as: external disconnected, laptop disabled), I can't observe the state (no monitors, though I assume there's some logging I could enable to find out) 4. If I now use the kvm to reenable the external, I observe that _both_ monitors are enabled, not just the external, and it's in "both" profile with the laptop screen active (to the left) even though the laptop is still closed. This is variable; sometimes it ends up mirrored instead of extended, which (since the resolutions are different) is a state I can only recover from by opening the laptop lid and configuring it from that monitor. 5. If I now use the dialog to manually disable the laptop screen, "both" is visible but unchecked (and is the only visible profile). My assumption here is that, when I disconnect the last active monitor, the laptop monitor is automatically reactivated, and then the profile switching problem is the same as above. Anyway, I hope this state machine gives you enough to go on- if there is some sort of logging I can enable to give you enough info to debug, let me know! This is with: - xfce4-settings 4.18.4-0ubuntu3 (ubuntu 24.04.2) - xubuntu-desktop 2.262 lsb_release -rd is No LSB modules are available. Description: Ubuntu 24.04.2 LTS Release: 24.04 Let me know if there are any other versions that would be helpful. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2103844 Title: laptop with external monitor misbehaves in various scenarios To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/2103844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs