Awn

Switch to larger monitor leaves AWN floating

Bug #562453 reported by Conrad Steenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Medium
Unassigned

Bug Description

Using Ubuntu ~10.04 Beta2 with version 0.4.0-0ubuntu1, using the NVidia binary drivers 195.36.15-0ubuntu2, with Compiz as window manager.

I connect my laptop to a larger monitor at work. The display is resized using the NVidia tool to set up TwinView.

Upon resize, the gnome panel stretches to adapt to the new size, but AWN doesn't, and ends up floating in the middle of the screen - see screenshot.

After the switch xrandr reports:
~$ xrandr
Screen 0: minimum 320 x 175, current 2560 x 1600, maximum 2560 x 1600
default connected 2560x1600+0+0 0mm x 0mm
   1440x900 50.0 119.0
   1360x768 51.0 52.0
   1152x864 53.0
   1024x768 54.0 55.0 56.0 57.0 58.0
   960x600 59.0
   960x540 60.0
   840x525 61.0 62.0 63.0 64.0
   832x624 65.0
   800x600 66.0 67.0 68.0 69.0 70.0 71.0 72.0 73.0
   800x512 74.0
   720x450 75.0
   720x400 76.0
   700x525 77.0 78.0 79.0 80.0
   680x384 81.0 82.0
   640x512 83.0 84.0 85.0
   640x480 86.0 87.0 88.0 89.0 90.0 91.0
   640x400 92.0
   640x350 93.0
   576x432 94.0 95.0 96.0 97.0 98.0 99.0 100.0
   512x384 101.0 102.0 103.0 104.0 105.0
   416x312 106.0
   400x300 107.0 108.0 109.0 110.0 111.0
   360x200 112.0
   320x240 113.0 114.0 115.0 116.0
   320x200 117.0
   320x175 118.0
   2560x1600 119.0*

Before the switch the resolution is 1440x900.

In the Awn settings app -> Advanced the monitor width is reported at 1440x900.

Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :
Revision history for this message
Michal Hruby (mhr3) wrote :

What is the setting of "Force monitor"?

Changed in awn:
status: New → Incomplete
Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

Force Monitor is not set. I tried it with and without FM set.

The resolution is not updated from 1440x900 -> 2560x1600 when the larger monitor is enabled.

Entering 2560x1600 manually in the monitor width/height fields makes the panel move to the right place. Of course when the large monitor is disabled, the panel is off-screen.

Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

AWN settings dialog.

Revision history for this message
Michal Hruby (mhr3) wrote :

What happens if you check and again uncheck "Force monitor" after you connect the second monitor?

Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

Nothing apart from the checkbox getting checked/unchecked.

Revision history for this message
Michal Hruby (mhr3) wrote :

I probably see what's going wrong, thanks for report.

Changed in awn:
assignee: nobody → Michal Hruby (mhr3)
importance: Undecided → Medium
milestone: none → 0.4.2
status: Incomplete → Triaged
Revision history for this message
Michal Hruby (mhr3) wrote :

Should be fixed in R702.

Changed in awn:
status: Triaged → Fix Committed
Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

FWIW I installed R725 as mentioned in http://www.webupd8.org/2010/05/awn-lucido-merged-into-awn-trunk-builds.html and it doesn't fix the problem here. I don't know whether that is supposed to include the fix, though.

Let me know if you need more information :-)

Revision history for this message
Michal Hruby (mhr3) wrote :

Please use official awn-testing PPA, we do not have control over PPAs.

Revision history for this message
Michal Hruby (mhr3) wrote :

*over other PPAs...

Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

Sorry Michal - reinstalled from the official awn-testing PPA.

The result is exactly the same though:
- AWN starts up in the middle of my screen when the screen size is 2560x1600 and Force monitor is off
- With Force monitor ON and screen size set to 2560x1600, AWN moves to the right edge as it should.
- When the larger monitor is disabled, with Force monitor ON, AWN is off-screen, presumably at the right edge at x=2560. I.e. the screen size that Force monitor uses is not updated.

Thanks for looking at this.

Btw, this is on a Mac laptop, and even OSX doesn't get this right :-)

Revision history for this message
Michal Hruby (mhr3) wrote :

Hmm, I'm getting clueless, though I see that I forgot something, but I have no idea if it'll help, anyway could you try this please:
1) have force_monitor OFF
2) connect your second monitor
3) awn didn't update, right?
4) check and uncheck force_monitor
5) so now force_monitor is OFF again
6) any changes?

Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

1) have force_monitor OFF
2) connect your second monitor
3) awn didn't update, right?

 Yes, correct.

4) check and uncheck force_monitor
5) so now force_monitor is OFF again
6) any changes?

Correct, no changes.

The dock stays at x=1440 and the numbers in the configuration dialog are still 1440x900.

Revision history for this message
Michal Hruby (mhr3) wrote :

In that case I'm clueless, AFAIK we're monitoring now everything what Gtk emits wrt monitors.

Changed in awn:
assignee: Michal Hruby (mhr3) → nobody
status: Fix Committed → Confirmed
Revision history for this message
Povilas Kanapickas (p12) wrote :
Changed in awn:
status: Confirmed → 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.