Firefox uses deprecated gtk-menu-popup causing issues in Wayland
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: jhnmlkvch9, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
44.00 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- In a wayland compositor (weston for example) open Firefox nightly with GDK_BACKEND=wayland
- Right click on the right edge of the firefox window
Actual results:
The context menu is rendered partly outside the firefox window.
Expected results:
The context menu should've been re-positioned to appear fully within the firefox window.
This is caused by firefox using the deprecated gtk-menu-popup. This should be updated for Wayland backends. In addition to popups being rendered off-screen, they are also mispositioned away from the point of the right-click. Here are a couple of relevant links:
https://developer.gnome.org/gtk3/stable/GtkMenu.html#gtk-menu-popup
https://bugzilla.gnome.org/show_bug.cgi?id=772096#c10
This affects the behavior of firefox wayland on Sway WM for example:
Updated•5 years ago
|
Comment 1•5 years ago
|
||
This looks like a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1339920 and/or https://bugzilla.mozilla.org/show_bug.cgi?id=1423598.
The issue is also present on other wayland compositors such as GNOME.
Comment 2•5 years ago
|
||
It's a dupe of Bug 1423598.
Description
•