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. ** Attachment added: "Screenshot of Firefox context menu placement" https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1603430/+attachment/5305830/+files/firefox-context-menu.png -- 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/1603430 Title: Firefox dropdowns in wrong location Status in Linux Mint: New Status in cinnamon-desktop-environment package in Ubuntu: Confirmed Status in firefox package in Ubuntu: Confirmed 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. To manage notifications about this bug go to: https://bugs.launchpad.net/linuxmint/+bug/1603430/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp