On EeePC panel will not resize correctly after external monitor disconnected

Bug #325800 reported by Bryce Harrington
4
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-panel

[Problem]
Can get into situation where gnome-panel cannot be made to resize properly via 'rm ~/.config/monitors.xml; pkill gnome-panel'

[Steps to Reproduce]
1. Start X on EeePC with external monitor (projector) attached at 800x600
2. The projector display works, but the LVDS is blank
3. 'xrandr --output LVDS --mode 1024x600' brings back the display onto LVDS at the specified resolution, however the panel is sized to 800 horizontal width
4. Disconnect the external monitor.
5. Check that there is no ~/.config/monitors.xml.
6. 'pkill gnome-panel' makes gnome-panel restart, but panel still comes back at a width of 800.

[Workaround]
Restart metacity or compiz, then pkill gnome-panel and it comes back fine.

[Expected Behavior]
When killing gnome-panel, it should note that only the LVDS is active and is set to 1024 width, and display itself at that width.

[Ideal Behavior]
Something should detect that the monitor was disconnected, and automatically resize gnome-panel at that point.

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
 Subsystem: ASUSTeK Computer Inc. Device [1043:8340]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
 Subsystem: ASUSTeK Computer Inc. Device [1043:8340]

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

xrandr output from step #1:

Screen 0: minimum 320 x 200, current 800 x 600, maximum 1360 x 1360
VGA connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1360x768 59.8
   1152x864 60.0
   1024x768 60.0
   800x600 60.3*
   640x480 59.9
LVDS connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x600 55.1 +
   800x600 85.1 72.2 75.0 60.3* 56.2
   640x480 85.0 72.8 75.0 59.9
   720x400 85.0
   640x400 85.1
   640x350 85.1

xrandr output from step 3:

Screen 0: minimum 320 x 200, current 1024 x 600, maximum 1360 x 1360
VGA connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1360x768 59.8
   1152x864 60.0
   1024x768 60.0
   800x600 60.3*
   640x480 59.9
LVDS connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x600 55.1*+
   800x600 85.1 72.2 75.0 60.3 56.2
   640x480 85.0 72.8 75.0 59.9
   720x400 85.0
   640x400 85.1
   640x350 85.1

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

that should be fixed in the next update

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:2.25.92-0ubuntu1

---------------
gnome-panel (1:2.25.92-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    Panel
    - Fix some randr-interaction by connecting to the monitors-changed
      signal. This shouldn't be needed with the latest GTK+, but we keep to
      be 100% sure it will work in 2.26.0. (lp: #325800, #335163)
    - Use close button instead of ok button in error dialogs
    All Applets
    - Use close button instead of ok button in error dialogs

 -- Sebastien Bacher <email address hidden> Tue, 03 Mar 2009 18:42:28 +0100

Changed in gnome-panel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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