Maybe I meant 'desktop-icons' and not 'ubuntu-dock' in the above. Anyway, here is a stack trace of the popup menu positioning in the Ubuntu case. It starts in the right place on the desktop and then gets immediately repositioned to the Terminal window's cursor:
Desktop Icons-Message: 15:49:25.500: vv: setDummyCursorGeometry 1217.5523681640625,737.8848876953125 0x0 setDummyCursorGeometry@resource:///org/gnome/shell/ui/layout.js:800:25 _openMenu@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopGrid.js:366:9 _onPressButton@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopGrid.js:501:13 DesktopGrid</<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopGrid.js:125:68 GNOME Shell-Message: 15:49:25.507: vv: setDummyCursorGeometry 325,149 9x18 setDummyCursorGeometry@resource:///org/gnome/shell/ui/layout.js:800:25 _setDummyCursorGeometry@resource:///org/gnome/shell/ui/ibusCandidatePopup.js:275:9 setPanelService/<@resource:///org/gnome/shell/ui/ibusCandidatePopup.js:176:13 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1842910 Title: Desktop right click menu appears in the wrong place if a Terminal window is open Status in GNOME Shell: New Status in gnome-shell package in Ubuntu: In Progress Status in gnome-shell-extension-desktop-icons package in Ubuntu: Confirmed Status in gnome-shell source package in Eoan: In Progress Status in gnome-shell-extension-desktop-icons source package in Eoan: Confirmed Bug description: Desktop right click menu appears in the wrong place if a Terminal window is open. 1. Open a Terminal 2. Right click on the desktop. Expected: The menu appears where you click. Observed: The menu appears near the Terminal window instead. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: gnome-shell-extension-desktop-icons 19.01.3+git20190814.1-1 ProcVersionSignature: Ubuntu 5.2.0-15.16-generic 5.2.9 Uname: Linux 5.2.0-15-generic x86_64 ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 Date: Thu Sep 5 18:26:24 2019 InstallationDate: Installed on 2019-05-02 (126 days ago) InstallationMedia: Ubuntu 19.10 "Eoan EANIMAL" - Alpha amd64 (20190501) PackageArchitecture: all SourcePackage: gnome-shell-extension-desktop-icons UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1842910/+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