Bug 350983 - Firefox/Thunderbird do not work correctly with xrandr
Summary: Firefox/Thunderbird do not work correctly with xrandr
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Wolfgang Rosenauer
QA Contact: E-mail List
URL:
Whiteboard: apps, wrong-position, gnome-wrong-out...
Keywords:
Depends on:
Blocks: randr-tracker
  Show dependency treegraph
 
Reported: 2007-12-30 16:59 UTC by Felix Möller
Modified: 2012-07-09 11:58 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot of thunderbird (247.86 KB, image/png)
2007-12-30 16:59 UTC, Felix Möller
Details
screenshot of firefox (155.11 KB, image/png)
2008-02-28 19:59 UTC, Felix Möller
Details
another screenshot of firefox (307.30 KB, image/png)
2008-05-04 22:20 UTC, Fredrik Wendt
Details
screenshot of thunderbird (297.96 KB, image/png)
2008-05-14 21:03 UTC, Felix Möller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Möller 2007-12-30 16:59:16 UTC
I am running current factory and have an external display connected.

# xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1050
VGA disconnected (normal left inverted right x axis y axis)
   1024x768_60    60.0
LVDS connected (normal left inverted right x axis y axis)
   1280x800       59.9 +
   1024x768       60.0
   800x600        60.3
   640x480        59.9
TMDS-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1680x1050      59.9*+   60.0
   1280x1024      75.0     59.9
   1440x900       59.9
   1280x960       59.9
   1152x864       75.0     74.8
   1024x768       75.1     60.0
   832x624        74.6
   800x600        75.0     60.3     56.2
   640x480        75.0     60.0     59.9
   720x400        70.1
TV disconnected (normal left inverted right x axis y axis)

Somehow thunderbird seems to calculate the position of popups with the wrong resolution (i.e. from the switched of LVDS). 

Therefore popups like the drop down on the search button are shown at the wrong position. See attached screenshot.
Comment 1 Felix Möller 2007-12-30 16:59:55 UTC
Created attachment 188933 [details]
screenshot of thunderbird
Comment 2 Felix Möller 2008-02-28 19:57:19 UTC
This bug appears with all mozilla applications as far as I can see. It happens at least with Firefox too.
Comment 3 Felix Möller 2008-02-28 19:59:00 UTC
Created attachment 197756 [details]
screenshot of firefox
Comment 4 Fredrik Wendt 2008-05-04 22:20:12 UTC
Created attachment 212179 [details]
another screenshot of firefox

My left monitor is my laptop's built in (1280x800, LVDS, I'm on an Intel 965) and the on to the right is an extern (1024x768, VGA). Every tooltip and dropdown (including menus) appear on the left screen. (I'm using a single display with two screens setup using xrandr. If I could use two displays setup instead I'd be even happier and propably have one issue less to bug report. :)
Comment 5 Felix Möller 2008-05-14 21:03:38 UTC
Created attachment 215317 [details]
screenshot of thunderbird

OK playing with it I found out that the menus are aligned with the smallest connected display. On the attached screenshot you see my external TFT with 1680x1050 the menu is aligned on the right side of my VGA output which is 1024x768.
Comment 6 Federico Mena Quintero 2008-05-15 18:38:49 UTC
If Firefox is using plain GTK+/GDK to create those menu windows, it can just call gtk_window_set_screen (window, gtk_widget_get_screen (parent_control)).
Comment 7 Felix Möller 2008-08-13 13:03:00 UTC
this is still true with todays factory and firefox 3.
Comment 8 Felix Möller 2008-10-19 11:07:36 UTC
This is said to be fixed upstream https://bugzilla.mozilla.org/show_bug.cgi?id=403706

Wolfgang should the openSUSE package have this fix yet?
Comment 9 Wolfgang Rosenauer 2008-10-19 18:03:07 UTC
Unfortunately not. It only has been fixed for Firefox 3.1.
Not sure if there
- is time to backport it
- it's important enough to risk breaking something by backporting
Comment 10 Felix Möller 2008-10-19 20:40:36 UTC
Hi Wolfgang thanks for your response. 

This bug is certainly really annoying when you use xrandr alot.

When is the release of Firefox 3.1 planned? https://wiki.mozilla.org/Firefox3.1/Schedule does not state the final.

Is openSUSE 11.1 going to ship with a 3.0 version? Or are you shipping a prerelease again?

AFAIK you have been updating Firefox even after release as soon as new version came out, haven't you? I am a factory user for three years now, therefore I am not sure ;)

Comment 11 Wolfgang Rosenauer 2008-10-20 07:04:35 UTC
(In reply to comment #10 from Felix Möller)
> This bug is certainly really annoying when you use xrandr alot.
> 
> When is the release of Firefox 3.1 planned?
> https://wiki.mozilla.org/Firefox3.1/Schedule does not state the final.

It's not fixed so if it's ready but it still is some months away. IIRC it was meant for Q1/2009 (but even could be later).
 
> Is openSUSE 11.1 going to ship with a 3.0 version? Or are you shipping a
> prerelease again?

No prerelease in this case (at least not that I'm aware of). I wouldn't support that strongly. All we could have would be probably beta2 which is too far away from final I guess.

> AFAIK you have been updating Firefox even after release as soon as new version
> came out, haven't you? I am a factory user for three years now, therefore I am
> not sure ;)

Novell is only updating to patch releases immediately. NLD9 and SLED10 still have Firefox 2.x AFAIK. The next major version is only used if it isn't possible to do security maintenance for older ones.
(There will be updates in the buildservice though)
Comment 12 Felix Möller 2008-11-09 20:03:56 UTC
This bug prevents http://en.opensuse.org/Testing:Features_11.1#Make_Fn-F7_work_on_laptops_to_switch_the_internal.2Fexternal_displays_.28Feature_No:_4147.29 to work with firefox.

As the Favourites menu of firefox thinks the screen is still big after beeing switched to the internal screen. Therefore I can just click on my first favourites... :-( (the menu does not allow scrolling)
Comment 13 Stefan Behlert 2012-07-09 11:58:45 UTC
There's no intention to provide an update for that project any longer. Sorry.
We suggest to upgrade to a newer openSUSE version.