Duplicate indicators bar and desktops with overlapped screens

Bug #868354 reported by Sebastien Bacher on 2011-10-05
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Triaged
Low
Unassigned
nautilus (Ubuntu)
Low
Unassigned
unity (Ubuntu)
Low
Unassigned
xorg-server (Ubuntu)
High
Bryce Harrington

Bug Description

Using 4.22 in Oneiric with a dell laptop docked lid closed and with the internal screen enabled and placed "under" the external one in the xrandr capplet (dunno how that happened but it's the config I got on lid close and I can reproduce it manually by dnding the monitor and then enabling it), the indicators are duplicated

[Test Case - xrandr]
1. With a laptop and external monitor of dissimilar maximum resolutions
2. Set to extended (left/right or above/below) and each display at maximum resolution
3. xrandr --output LVDS1 --off
4. xrandr --output LVDS1 --auto
Is: Both displays show the same workspace as if mirrored, except the external display shows an extra main bar and background, at the laptop's resolution.
Should be: Both displays shown extended as configured in step #2.

[Test Case - gnome-display-properties]
1. With a laptop and external monitor of dissimilar maximum resolutions
2. Launch gnome-display-properties (from Unity apps scope search for "screens")
3. Set to extended (left/right or above/below) and each display at maximum resolution
4. Disable the laptop screen; Apply
5. Drag the disabled laptop screen to overlay the enabled external screen in the config tool
6. Enable the laptop screen
Is: Both displays show the same workspace as if mirrored, except the external display shows an extra main bar and background, at the laptop's resolution.
Should be: Both displays shown extended as configured in step #3.

Sebastien Bacher (seb128) wrote :

xrandr log:

$ xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP1 connected 1440x900+93+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1440x900 60.0*+ 40.0
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080 60.0*+
   1600x1200 60.0
   1680x1050 60.0
   1280x1024 75.0 60.0
   1440x900 75.0 59.9
   1152x864 75.0
   1280x720 60.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
  1440x900 (0xc6) 86.5MHz
        h: width 1440 start 1488 end 1520 total 1568 skew 0 clock 55.2KHz
        v: height 900 start 903 end 909 total 920 clock 60.0Hz

Sebastien Bacher (seb128) wrote :
Download full text (6.5 KiB)

Sync() call from d-feet

[(u'libappmenu.so', u'', u'', u'', 0, 0, 0L, u'', 0, 0, -1),
 (u'libapplication.so',
  u'0x8e739c8',
  u'indicator-weather',
  u'15 \u02daC',
  1,
  1,
  1L,
  u'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAVlJREFUOI3FkrFLw0AUxt/d4dVCLg6FDHKlkIbqHyC0iZ0Euzk4uLl3cCtKJocubsVZ/wCh/4DgntXFrlVaKkKJ3Yw4hHwuLdi0kTj54A3fe9/97js4ov8utm5Yr9dNKeU5gBMiug6C4DYLwNMDz/OqUspHAJdEtNtoNMLfEiwBXNctCiEeADhEREKIqN1uB7kBhULhDEB1oUul0pPjOO+5AZzz09Q+ZIwhNyCO452l02F42Gw2j3IDiGjpNgBFxljf8zwrF0ApNU4bABRN09zLAoifotVq2dPp1E2bkiSxtdaflUplS2sty+XyxmQyiVYSdDqdG6XUcxoQx7FLRHcAAs75UAhxv/YJtm0Pfd+/MAxjlBVZKfXS7XavFnrlKwPYnM1m+71e73gwGBxEUbQNQBiG8Vqr1QLf9/uWZQWMsa+1gDmEE5GetzH3fRDRGxGNGWNJVsI/1zcHhW5FlJ/WqAAAAABJRU5ErkJggg==',
  1,
  1,
  50),
 (u'libapplication.so',
  u'0x8e73b38',
  u'bluetooth-manager',
  u'',
  0,
  0,
  1L,
  u'iVBORw0KGgoAAAANSUhEUgAAAAsAAAAWCAYAAAAW5GZjAAAABHNCSVQICAgIfAhkiAAAAcVJREFUKJHNkTFoE3EUxt97qbdkiIWQKSaIYA8MiEMG+b9LuM3ilMkbMhyZzmQQzVGwhgy1mFCkUEncakAcahZxyOhkJjcjBZcQiSDkAsULNJv3HGy1F6tdHPzG937v43vvAfwXiiwWmPljKpWKjcfjt4s9OsXgMgBsKqXunwkjYpDNZncR8REzPzjLWarV6lYmk9kDgIeGYdwOwUqpbWa+cQzXarWxZVnbmqb5RLQegmOx2BUAeG0Yxk0AkNlstlyv158GQbBUKpU2f0YEAJhMJtcdx9mZTqdXiQhFZEBEK7Ztr9u2/RwR/V8hRcjzPC4UCu+YWXK53GGn07kjIud/WxARg0ql8mE+n2tHw+d6vd4XRPwauhQAADMvI+IbIrokIlo8Hh94nncNAG71+/1XIWcieomIumVZG0T0zXXdeiKReA8Ae0qp1RCs6/p+sVisOY7TAYCg2+0OWq3WXU3T/Egk8iwUQ0QuAoCPiAemafrpdHplOBzeExGXmR83m821kwuOEPHg+Dij0WhNRFzTNHcajcaTU778Q/l8/pCZpVwuvxCRCyd7S4twNBr9lEwm99vt9gYifv6j61F+JSL6X6F/ru+1/6XeJ8bUXAAAAABJRU5ErkJggg==',
  1,
  1,
  250),
 (u'libapplication.so',
  u'0x8e75968',
  u'nm-applet',
  u'',
  0,
  0,
  1L,
  u'iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABHNCSVQICAgIfAhkiAAAAthJREFUOI3tkk1IY2cUhp/z5cbxxtFoYouB1taphWKxSEfEQHJh2pXooLiIOxGX7gehG7ftwm3WQheCCxftxlUbDRpQplSJoVC1s7DGYps/ZzRz53pPN7HMDE7rtjDv8jvf+3DOeQ+81f9WctPjyMjInUql0mOMiQEdItLs+34TgDHmuao+F5EScFIul5/s7++7/wqOx+MRY8x9Y8wHqmoALMtybdu+DAaDLwDq9XrQdV3b87wmABHxReTIGPNTJpOpvA42yWRyAPhcVU00Gi319fUVJyYmzoaGhi4AD/Cv/wLW9vZ2aHV19d18Ph+rVqsdqnqlqo+3trZ2ARUAx3G+8H2/NxQKPZuamsrPzs6eAs+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

Sebastien Bacher (seb128) wrote :

the screenshot of the bug

Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
importance: Undecided → Low
Neil J. Patel (njpatel) on 2011-10-05
Changed in unity:
assignee: nobody → Neil J. Patel (njpatel)
milestone: none → 4.24.0
status: New → Confirmed

I guess that this is not only related to unity but this seems to affect other parts too..

However, is it just me (I'm testing this on VirtualBox, so maybe this is not so accurate) or also nautilus desktop is duplicated?
See the attached screenshot.

The indicators seems to be there just because they "think" to be on the other screen. And what is shown in your smaller screen?

Changed in unity (Ubuntu):
status: New → Confirmed
Sebastien Bacher (seb128) wrote :

it could be a buggy xrandr setup and not a bug yes, in my case that happened when closing the lid of my docked laptop so there is a bug in g-s-d or xorg that it landed in that config, I can't say what is on the small screen since the lid is closed ;-)

Changed in nautilus (Ubuntu):
status: New → Confirmed
summary: - duplicate indicators bar
+ Duplicate indicators bar and desktops with overlapped screens
Sebastien Bacher (seb128) wrote :

doing an "also affect xorg-server", not sure the monitors should be allow to overlap this way, for the record the first time it happened the configuration came on a lid close not from a manual change, it could be a g-s-d bug as well

Changed in unity:
assignee: Neil J. Patel (njpatel) → Marco Trevisan (Treviño) (3v1n0)
Changed in nautilus (Ubuntu):
importance: Undecided → Low
Didier Roche (didrocks) on 2011-10-17
Changed in unity:
milestone: 4.24.0 → 4.26.0
Bryce Harrington (bryce) wrote :

I've reproduced this on my hardware as well, in certain dual-head configurations, running the command:
xrandr --output VGA1 --auto --output LVDS1 --auto

I strongly suspect it is a window manager bug but will leave the X task open until that's more certain.

Changed in xorg-server (Ubuntu):
assignee: nobody → Bryce Harrington (bryce)
importance: Undecided → High
status: New → Triaged
David Barth (dbarth) on 2011-12-16
Changed in unity:
milestone: 4.26.0 → 4.28.0
Bryce Harrington (bryce) wrote :

Was able to reproduce on Precise with a laptop and ext display with docking station, using seb128's steps.

tags: added: precise
Bryce Harrington (bryce) wrote :

Allowing two displays to overlap and show different sized viewports of the same desktop is totally permissible by X11 with RANDR. I can't think of any particular use case where you'd *want* it set up that way, but technically it is a permissible configuration as far as X is concerned. It is more of a question of policy.

While I think I can reproduce it under some circumstances with xrandr, I'm not sure that means we should implement the policy at the X level, or if it just means we have two config tools that need the same fix.

Bryce Harrington (bryce) on 2011-12-17
description: updated
Bryce Harrington (bryce) wrote :

Photo showing what this configuration problem looks like.

FYI I've not worked on this until now since the problem is not only on the panel, but also on nautilus.
So we should define how to solve this, as this is just a special "mirror" case.

Omer Akram (om26er) on 2012-01-05
Changed in unity:
milestone: 4.28.0 → 4.30.0
Bryce Harrington (bryce) wrote :

Right, nautilus appears to have gotten confused here.

I *think* there's nothing we need to alter on the X side, so will close out the X task.

Changed in xorg-server (Ubuntu):
status: Triaged → Invalid
Bryce Harrington (bryce) wrote :

Still able to reproduce this with current unity 5.2 (although I still think it's a nautilus bug, really.)

Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in unity:
status: Confirmed → Triaged
milestone: 4.30.0 → none
assignee: Marco Trevisan (Treviño) (3v1n0) → nobody

Mh, actually the problem is related to both.... Unity should better handle the case in which we have overlapping monitors showing only a panel.
However imho the system should avoid that this situation would happen.

Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Sebastien Bacher (seb128) wrote :

The desktop view has been deprecated from nautilus, closing

Changed in unity:
assignee: Marco Trevisan (Treviño) (3v1n0) → nobody
Changed in nautilus (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints