On EeePC panel will not resize correctly after external monitor disconnected
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/
[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/
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]
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