Closed Bug 389365 Opened 17 years ago Closed 3 years ago

popups and dropdown menus are placed incorrectly when window is displayed across two monitors/screens

Categories

(Core :: XUL, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 967096
Tracking Status
firefox59 --- affected

People

(Reporter: jtd, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(4 files)

On a machine with two monitors attached, when the window is positioned across monitors, the dropdown menu appears in the wrong location.

Steps:

1. Create a folder on the bookmarks bar called "test"
2. Open the URL
3. Add the page to the "test" folder
4. Position the windows so that the "test" folder is just to the left of the border between monitors
5. Select the "test" item on the bookmark bar

Result: dropdown menu appears on the second monitor, just to the right of the border between monitors (ok)

6. Next, move the window roughly 150 pixels to the left
7. Select the "test" item again

Result: dropdown menu still appears on the second monitor, to the right of the border between monitors.

In the attached screenshot, the window was place so that the border between windows was placed just above the "k" in "Wikipedia" in the title bar.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007072304 Minefield/3.0a7pre
Component: Bookmarks → Places
QA Contact: bookmarks → places
WFM on Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a8pre) Gecko/2007080811 Minefield/3.0a8pre
I see the same problem. Moving the window partially or fully into the secondary display causes the location/bookmark dropdown (and any other dropdown) to be displaced (shows up on the primary screen)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Dual Display - Dell 2407WFP (primary at 1920x1200) & macbook pro (secondary at 1440x900)
(In reply to comment #4)
> I see the same problem. Moving the window partially or fully into the secondary
> display causes the location/bookmark dropdown (and any other dropdown) to be
> displaced (shows up on the primary screen)
> 
> Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127
> Firefox/2.0.0.11
> 
> Dual Display - Dell 2407WFP (primary at 1920x1200) & macbook pro (secondary at
> 1440x900)
> 

Rajeev: you're probably seeing bug 314279, which will be fixed in Firefox 3. This one seems to be a different one.
I have Xorg configured with 2 monitors.
I have one xorg screen configured to span across the two monitors (twinview/xinerama).
The second monitor is configured to be to the right of the first monitor.
When the Firefox window is on both the left and right monitor AND 50% or more of the window is on the left monitor, the menus (File/Edit/View/etc) do not display in the proper location on the left screen. They are displayed at the left-most position on the second screen.

The red line I drew on the screenshot is the last pixel on the left monitor.

This also happens with Thunderbird.
Using the latest beta binary:

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2
Component: Places → XUL Widgets
Product: Firefox → Toolkit
QA Contact: places → xul.widgets
Mozilla/5.0 (Windows; Security; Windows NT 5.1; Locale; rv:1.9.2a1pre) Gecko/20090312 Extra.Firefox

I have seen this on Windows XP SP2 in a dual monitor configuration:
  *  full screen (primary monitor) -- works as expected;
  *  full screen (secondary monitor) -- all popups are shown on the primary monitor.

This affects:
  *  tooltips;
  *  awesome bar;
  *  text field history (e.g. username);
  *  sub-menus from the menu at the top (e.g. the File menu popup).

This is in a [1 2] configuration. The y position is correct, but the rightmost x position (including the drop shadow if present) is aligned to the rightmost edge of the primary monitor.
Mozilla/5.0 (Windows; Security; Windows NT 5.1; Locale; rv:1.9.2a1pre) Gecko/20090331

Still present in the latest build. Also affects the new Ctrl+Tab UI -- the Ctrl+Tab window appears on the primary screen.
Summary: dropdown menu on bookmark bar is placed incorrectly across two monitors → popups and dropdown menus are placed incorrectly when window is displayed across two monitors/screens
Component: XUL Widgets → XUL
Product: Toolkit → Core
QA Contact: xul.widgets → xptoolkit.widgets
Hardware: x86 → All
still see this?
Flags: needinfo?(msclrhd)
Flags: needinfo?(helamonster)
I no longer have access to a multi-monitor setup to test this bug.
Flags: needinfo?(msclrhd)
I have same problem with firefox47 on ElementaryOS Freya
Depends on: 1363055
Depends on: 1304255
¡Hola Wayne!

Ended up here from https://support.mozilla.org/questions/1210665 so this is apparently still a thing. 

The user asking there is on Firefox 59 on Windows 10 so updating flags accordingly.

There's also https://bugzilla.mozilla.org/show_bug.cgi?id=1163941 that looks like a duplicate to me.

¡Gracias!
Alex
Flags: needinfo?(helamonster)
OS: Mac OS X → All

similar to bug 324949?

Blocks: multimon-win

Reproduced on Windows 10 x64, using Firefox 85.0b9.

  • multi platform issue
  • not sure about an assignee currently
  • needs investigation
See Also: → 967096

Hey Timea, can you provide up to date STR? I tried to reproduce this but couldn't.

Flags: needinfo?(timea.zsoldos)
Priority: -- → P2
  • STR:
    1. Open Firefox and navigate to link and select "Push Payload" and "Demo" from the page.
    2. Click on Allow Notification from the URL bar ().
    3. Open about:debugging > “This Nightly/Firefox” > “Service Workers” in a new tab.
    4. Click "Push" button on (https://serviceworke.rs/push-payload/service-worker.js) Running service worker (if the service workers not Running
    click on Start button then on Push).
  • Expected results:
    The notification pops up on screen 2, where Firefox window is.
  • Actual results:
    The notification pops up on screen 1 (see attached multi-screen.png).
    Reproduced on Windows 8.1 x64 and Ubuntu 16.04 x86, with Fx 86.0b7.
Flags: needinfo?(timea.zsoldos)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: