Launchpad has imported 7 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1411398.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2017-10-24T20:26:01+00:00 gpothier wrote:

Created attachment 8921616
firefox-bug.mp4

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171024001719

Steps to reproduce:

Computer has two monitors configured (laptop's + external). Open
Firefox. Then unplug the external monitor. Click on UI elements that
cause a popup menu to appear (eg. right click to display context menu,
click on bookmark folder, or on "burger" menu icon)


Actual results:

The popup menus appear at seemingly random locations. Moreover, the menu item 
highlighting do not match the actual mouse position (see attached video).
Happens on v56 and v57 beta.


Expected results:

The popup menus should appear at their correct location: right next to
the mouse cursor for context menu, or next to the UI element that
triggers the popup).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/11

------------------------------------------------------------------------
On 2017-10-24T20:26:35+00:00 gpothier wrote:

Original bug report in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/12

------------------------------------------------------------------------
On 2017-12-19T15:37:04+00:00 gpothier wrote:

The bug is still present in v58.0b11. I'll try to give more precisions.
As I wrote earlier, pop up menus appear at incorrect locations after
reconfiguring monitors. As shown in the attached video, they can appear
quite far away from their correct location. Maybe an important point is
that the DPI settings change between configurations. One configuration
is with only the internal laptop monitor at 3200 x 1800 with high DPI
settings, and the other one is internal + external monitor, both at 1920
x 1080 (normal DPI settings).

It seems there is some kind of caching of individual menu positions, and
this caching seems to be invalidated when the requested menu position
changes; afterwards the menus appear in their correct positions until
the next monitor reconfiguration. This invalidation can be triggered in
two ways:

- For the context menu (right click), simply closing the menu and right
clicking somewhere else solves the problem. The context menu is thus
misplaced only once after reconfiguring the monitors (unless one right
clicks again at the exact same position)

- For the bookmarks and search menus, one has to move the window by a
few pixels in order to get rid of the problem. However, it is necessary
to open each menu once before moving the window to get rid of the
problem for that particular menu. For instance with two bookmarks menus,
after reconfiguring the screens I open the first one, it is misplaced.
Then I move the window and open the first menu again, then it is
correctly placed. However if after that I open the second menu, it is
also misplaced. I have to move the window again to fix it. On the other
hand, if after reconfiguring the screens I open both menus (both are
then misplaced) and then move the window, after that both menus are
correctly placed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/15

------------------------------------------------------------------------
On 2018-05-31T20:31:07+00:00 gpothier wrote:

Following up on this report: this bug is 100% reproducible with the
Ubuntu 18.04 Live usb image, so it is not a configuration/package issue
on my system.

Steps to reproduce:
0. Use a laptop with high resolution display (eg. 3200 x 1800).
1. Boot from live image with external monitor plugged in.
2. Launch Firefox and enable the bookmarks toolbar.
3. Open and close the first item in the toolbar (or any other menu actually) => 
no problem.
4. Open the display configuration app and change config, eg. change scale from 
200% to 100%, or change built in display's resolution to 1900 x 1080.
5. Open the first item in Firefox's bookmarks toolbar => it usually appears at 
wrong location. If not, try disconnecting the external monitor and opening the 
menu. At some point it will appear at the wrong location.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/17

------------------------------------------------------------------------
On 2018-06-02T16:32:47+00:00 gpothier wrote:

I did a bisection and found that the problem started appearing here:

13:29.43 INFO: Last good revision: 8e5c888d0d89 (2015-07-22)
13:29.43 INFO: First bad revision: 1f77b78797d6 (2015-07-23)

I think it has to do with DPI handling, as in the last good revision the
whole UI appears very small on the laptop's built in high DPI display,
and in the first bad revision it seems work was being done to address
this. Unfortunately I could not go deeper than nightlies:

18:02.59 INFO: There are no build artifacts on inbound for these
changesets (they are probably too old).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/18

------------------------------------------------------------------------
On 2018-11-04T22:38:16+00:00 kmare wrote:

I've been having the same problem for a while. It is exactly as gpothier 
described. It is really an annoyance as the only way to get back to work 
normally, is to basically quit Firefox and start it up again.
I'm using Fedora 28, but the problem was the same on Fedora 27. I tested Fedora 
29 too. Would be really nice to have to bug fixed at some point. If can provide 
any more info about the problem, please let me know.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/19

------------------------------------------------------------------------
On 2019-02-04T13:53:23+00:00 Stergios-mekras wrote:

I have the same problem in both Fedora 29 and Ubuntu 18.04. Would really
appreciate a fix.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1721614/comments/20


** Changed in: firefox
       Status: Unknown => New

** Changed in: firefox
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721614

Title:
  Firefox menus are misplaced

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1721614/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to