After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712309 - Turning off a second secondary monitor causes the primary to switch to the other secondary
Turning off a second secondary monitor causes the primary to switch to the ot...
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Display
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Debarshi Ray
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-14 15:35 UTC by Ryan Lerch
Modified: 2021-06-09 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
initial layout (11.81 KB, image/png)
2013-11-14 15:35 UTC, Ryan Lerch
Details

Description Ryan Lerch 2013-11-14 15:35:03 UTC
Created attachment 259815 [details]
initial layout

I have the current layout:

http://ryanlerch.org/multimonitor/initiallayout.png

But, when i turn the Cintiq off in gnome-control-center, the primary / secondary designations on the remaining displays are switched, so i end up with this layout:

http://ryanlerch.org/multimonitor/layoutafter.png


Expected results is that my existing monitors remain in the configuration that i previously set.

Note that the positioning of the monitors remain the same, and is correct. it is just the designation of which monitors are primary / secondary
Comment 1 Bastien Nocera 2014-06-03 16:50:33 UTC
I vote for this code not working when there's more than one other screen. The screen we're turning off wasn't a primary screen, so primary is FALSE.
2269               else if (outputs[i] != priv->current_output)•
2270                 {•
2271                   /* ensure no other outputs are primary if this output is now•
2272                    * primary, or find another output to set as primary if this•
2273                    * output is no longer primary */•
2274 •
2275                   gnome_rr_output_info_set_primary (outputs[i], !primary);•

And here, we're looping and trying to set screen 1 as primary, unset 2 as the primary.

2276                   if (!was_primary)•
2277                     break;•
2278                 }•
2279             }•

I don't have hardware that can handle 2 external outputs though, but the code is clearly wrong.
Comment 2 André Klapper 2021-06-09 16:07:25 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.