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 Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1721614

Title:
  Firefox menus are misplaced

Status in Mozilla Firefox:
  New
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Sometimes Firefox places its menus at incorrect locations. See attached 
screenshot and video. This happens at least with the main (hamburger icon) 
menu, bookmark folders, and context menu. Moving the Firefox window temporarily 
solves the problem. It usually happens after resume from suspend, which in 
general in my case is accompanied by a display reconfiguration (unplug external 
monitor, suspend, resume, plug other external monitor).
  This looks very similar to this another bug 
(https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1641629) which I 
reported against Firefox 49 and that was resolved by installing Firefox 52. 
This time, it occurred in Firefox 55, and also now in Firefox 56. It started 
occurring sometime during the 17.10 cycle, which I have been using for a few 
months.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: firefox 56.0+build6-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
  Uname: Linux 4.13.0-12-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.7-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC1D0p:   gpothier   2684 F...m pulseaudio
   /dev/snd/controlC1:  gpothier   2684 F.... pulseaudio
   /dev/snd/controlC0:  gpothier   2684 F.... pulseaudio
  BuildID: 20171003222101
  Channel: Unavailable
  CurrentDesktop: GNOME
  Date: Thu Oct  5 15:23:47 2017
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions:
   English (South Africa) Language Pack - [email protected]
   English (GB) Language Pack - [email protected]
   Default - {972ce4c6-7e08-4474-a285-3208198ce6fd}
  InstallationDate: Installed on 2015-01-23 (985 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MostRecentCrashID: bp-8649eb9a-09b9-49fc-8320-99cbf1171004
  Plugins: Shockwave Flash - /usr/lib/flashplugin-installer/libflashplayer.so
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=56.0/20171003222101 (In use)
  RunningIncompatibleAddons: True
  SourcePackage: firefox
  SubmittedCrashIDs:
   bp-8649eb9a-09b9-49fc-8320-99cbf1171004
   bp-604f3b87-472e-4026-8588-3d2122160725
   bp-1cd058b7-bfd2-4105-a9b4-1852d2160703
   bp-b5b0d8b4-2b5b-40f5-b468-f5eec2160122
   bp-aba8367f-3da0-4f1c-9342-b377f2151224
  UpgradeStatus: Upgraded to artful on 2017-06-15 (112 days ago)
  dmi.bios.date: 03/30/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 76CN43WW
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: Yoga2
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058STD
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga 2 Pro
  dmi.modalias: 
dmi:bvnLENOVO:bvr76CN43WW:bd03/30/2015:svnLENOVO:pn20266:pvrLenovoYoga2Pro:rvnLENOVO:rnYoga2:rvr31900058STD:cvnLENOVO:ct10:cvrLenovoYoga2Pro:
  dmi.product.family: IDEAPAD
  dmi.product.name: 20266
  dmi.product.version: Lenovo Yoga 2 Pro
  dmi.sys.vendor: LENOVO

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to