Firefox dropdowns in wrong location

Bug #1603430 reported by Phydeaux
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned
cinnamon-desktop-environment (Ubuntu)
Confirmed
Undecided
Unassigned
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On Mint 17.3 Cinnamon 64bit.

Steps to reproduce:
 * Do a fresh install.
 * Run mintupdate and update all packages.
 * Run firefox.
 * Start right clicking on the page to open the context menu. Resize the window and perhaps move it around the screen a couple of times. Right click some more.
 * Observer that, eventually, the context menu will start to appear in incorrect locations on the screen. The same also happens with the search bar, text fields and any other dropdown box.

In the worst embodiment of the bug, the menu opens underneath the pointer and treats the release of the mouse button as a click, and so does things the user does not want to do.

I believe the root cause is the following bug in GTK+ 3.10.8. Firefox switched over to using GTK+3 in version 46 which is when this bug appeared and has been there ever since.

https://bugzilla.gnome.org/show_bug.cgi?id=758609
https://bugzilla.mozilla.org/show_bug.cgi?id=1022241

Mozilla aren't going to fix it because it's a GTK bug. GTK have already fixed it. But Mint 17.3 remains on GTK+ 3.10.8 which does not have the patch.

Please roll out the patch for us 17.3 users who cannot upgrade. I can confirm that the problem is solved in Mint 18.

Revision history for this message
Ahmet İpkin (ahmetipkin) wrote :

The same situation occurs on Ubuntu 16.04 when Cinnamon desktop environment is installed. The first dropdown opens at the correct position; but if you close it (anyhow) and make it appear again, it always ends up in random positions.

This was not occuring with Gnome desktop environment - so I doubt that GTK is the root cause here.

Affected packages:

Package: cinnamon-desktop-environment
Version: 2.8.0

Package: firefox
Version: 63.0+build2-0ubuntu0.16.04.2

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
affects: linuxmint → firefox (Ubuntu)
Changed in cinnamon-desktop-environment (Ubuntu):
status: New → Confirmed
Changed in firefox (Ubuntu):
status: New → Confirmed
Changed in xorg (Ubuntu):
status: New → Confirmed
no longer affects: xorg (Ubuntu)
Revision history for this message
Robert Foss (robertfoss) wrote :

This issue is still apparent on Ubuntu 18.10

Package: firefox
Architecture: amd64
Version: 63.0+build1-0ubuntu1

Revision history for this message
Tigran Martirosyan (tmartiro) wrote :

I'm on ubuntu 18.10.
head to Customise and uncheck the ‘Title Bar’ box at the very bottom of the settings page.

Revision history for this message
Evert Pot (evert-4) wrote :

Still an issue on Ubuntu 19.04. I've experienced this issue for a few years

Revision history for this message
Roman Grytskiv (grzkv) wrote :

I am also experiencing this on Ubuntu 18.10

Could you please give an update on this issue?

Thanks!

Revision history for this message
Joshua Trees (jtrees) wrote :

I'm on elementary OS (based on Ubuntu 18.04) and also experience this issue. As Tigran mentioned, disabling the Title Bar functions as a workaround.

I presume the Client Side Decoration feature is what introduced this bug in the first place.

Revision history for this message
Anthony Kamau (ak-launchpad) wrote :

I too have been seeing this issue on my Ubuntu 16.04.6 LTS installation and after living with it for a long long time, decided to hunt down reports of others with the issue. As I now see, it is a known issue. That sort of made me feel better - specifically that misery loves company - :(.

Here is how I can reliably reproduce this issue on my system:

Configure at least 2 workspaces:
  On the left workspace, open an application - say Chrome
  On the right workspace I have Firefox

If I switch between workspaces using keyboard shortcuts, the right-click context menu on Firefox continues to function as expected. Also, if I click the Workspace Switcher in launcher and select the different workspaces, again Firefox context menu functions as expected.

However, if I click the Chrome icon in the launcher and then click the Firefox icon (in essence I'm switching workspaces indirectly), the Firefox context menu appears at random locations - mainly along the edges of the screen - I am yet to see it appear in a random location away from screen edges (see attached screenshot).

I have noticed there are several ways to restore the placement of the context menu:
  * Middle-click the title bar (or the panel if Firefox is maximized)
  * Switch to another application running in the same workspace and return to Firefox
  * Move the Firefox window
  * Resize the Firefox window

There could be other ways to restore the context menu, but the few I mention above work reliably in my environment.

I'm hoping that when I migrate to Ubuntu 20.04 next year the issue will have been resolved.

Revision history for this message
David (blitzin4) wrote :

* Ubuntu 18.04.3 LTS
* Kernel 5.3.0-26-generic
* Gnome 3.28.2
* Firefox 72.0.1

Confirmed this bug still exists. Fixed by disabling and re-enabling all add-ons that add an entry to this dropdown (aka right click context menu).

Revision history for this message
Kenzi (isavegas) wrote :

* Ubuntu 19.10
* Kernel 5.3.0-29-generic
* Cinnamon 4.0.10
* Firefox 72.0.1

Issue persists. Known workaround of disabling `Title Bar` under `Customize` applies.

Revision history for this message
Sancho (christophe-andral) wrote :

Kind of confirmation.

* Ubuntu 18.04.4 LTS
* 4.15.0-76-generic #86-Ubuntu SMP
* Xubuntu flavor
* Xfce 4.12
* Firefox 72.0.2

In my case, both contextmenu and stored credential dropdown list are miss-aligned (by approximately {-130px;-60px}) when the 'Title bar' display option is unchecked (=title bar not rendered).
When re-enabling 'Title bar' display, all miss-alignment are gone.

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.