Portrait display can't be positioned to the left of landscape display

Bug #1576684 reported by Alisdair Tullo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Invalid
Undecided
Unassigned
mate-control-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have two displays, one (DP-2) set up in portrait mode to the left, and one (DP-1) set up landscape to the right. When I try to reflect this in mate-display-properties I can't drag DP-2 to match with the left edge of the right-hand one (see screenshot 1).

It looks suspiciously like the application is behaving as if DP-2 is in landscape mode, for the purposes of moving it, as the distance between the top-left corner of DP-2 and the edge of DP-1 is the same as the long axis of DP-2. (In fact, I can move DP-1 to overlap with DP-2 in a way that confirms this -- see screenshot 2 which I will attach after posting).

Revision history for this message
Alisdair Tullo (alisdair) wrote :
Revision history for this message
Alisdair Tullo (alisdair) wrote :
Revision history for this message
Alisdair Tullo (alisdair) wrote :

I strongly suspect this is the same as #1240929 filed on gnome-control-center.

Revision history for this message
Alisdair Tullo (alisdair) wrote :

Found an upstream report for mate-control-center here:

https://github.com/mate-desktop/mate-control-center/issues/198

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mate-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

What version of Ubuntu MATE are you using?

Changed in mate-control-center (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
layingback (laying-back) wrote :

Wimpy, it certainly applies to 17.04 (clean install by Entroware). See my Bug #1723238 report against 17.04. Sorry didn't find this one before I submitted.

I note in Bug #1723238 where I believe the bug is to be found, as the code to calculate position of next display does not check orientation of display to left, just blindly adds the portrait width in all cases.

Not sure if better fix would be test for orientation at that point, or to switch width/height dimensions when user rotates display Left or Right, so that width is always the current horizontal distance.

(Will upgrade and test on 17.10 as soon as OK from Entroware.)

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

This is fixed in Ubuntu MATE 18.04 daily.

Changed in ubuntu-mate:
status: New → Invalid
Changed in mate-control-center (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.