Public bug reported:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
-> About Ubuntu

Description:    Ubuntu 24.04.2 LTS
Release:        24.04

2) The version of the package you are using, via 'apt-cache policy
pkgname' or by checking in Software Center

mutter:
  Installed: (none)
  Candidate: 46.2-1ubuntu0.24.04.9
  Version table:
     46.2-1ubuntu0.24.04.9 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 
Packages
     46.0-1ubuntu9 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

3) What you expected to happen

A desktop is connected to primary display DP-1 (arranged as the left
display) and secondary display HDMI-3 (arranged as the right display).
After using the GUI Gnome Display Settings to switch between mirror mode
and join mode DP-1 is maintained as the primary display, and the
arrangement is maintained.

The same results were expected when using Super+P to switch display
modes.

4) What happened instead

When using Super+P (gsettings shows this is mapped to
org.gnome.mutter.keybindings switch-monitor) to switch to mirror mode
and then back to join mode, the primary and secondary displays
unexpectedly switched priority and arrangement: HDMI-3 becomes the
primary display, arranged to the left, and DP-1 becomes the secondary
display, arranged to the right.

This occurs despite the primary assignment remaining in the DP-1 logical
monitor section of ~/.config/monitors.xml after each display mode switch
using Super+P:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>HDMI-3</connector>
          <vendor>AMX</vendor>
          <product>DVX-2210</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>59.919</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>1920</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-1</connector>
          <vendor>DEL</vendor>
          <product>DELL P2319H</product>
          <serial>BS26NM2</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60.000</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: multimonitor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116554

Title:
  Primary and secondary display get swapped when using Super+P

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2116554/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to