Description of problem: FF does not show menus and especially submenus properly. E.g. the favourites menu is linked to the top of the window (see the attached SS), but the submenu is not visible at all. Changing the FF window size helps to display the menu, but it is misplaced as well. Version-Release number of selected component (if applicable): $ rpm -q firefox firefox-68.0.2-1.fc32.x86_64 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Menus are misplaced. Expected results: Menus are correctly placed. Additional info:
Created attachment 1606025 [details] Fulscreen missplaced menu This displays fullscreen situation, where the submenu is not displayed at all (or it is off limits).
Created attachment 1606027 [details] Displaced menu This illustrates the situation with normal window and misplaced menu.
Can you check if you see that also with mozilla nightly + wayland? How-to is here: https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries I'm going to backport missing wayland patches to FF69.
Hi. I can confirm that this issue if fixed in Firefox 69.
It is still issue for me using firefox-69.0-1.fc32.x86_64. There seems to be -2 with some Wayland patches. Going to try ...
Hm can't see any difference with firefox-69.0-2.fc32.x86_64 :(
(In reply to Vít Ondruch from comment #6) > Hm can't see any difference with firefox-69.0-2.fc32.x86_64 :( Actually, the bookmark menu behaves a bit better, to the point that I can actually use it again. But it is far from correct. All the submenus appears to be misplaced by two rows, but this might be because the main bookmark menu si misplaced? It should pop down from the button, while it pops down from the top of the screen. So the SS in attachment 1606025 [details] still applies.
Also, I suspect that the issue might exhibit itself just for long bookmark menus. The experience for short bookmark menu might be correct (but I have not tested it). AFAIR, it was possible to scroll in such long menus, but that his not possible now. I appears that FF does what it can to fit it the menu on the screen, but that is not really correct behavior.
And it appears that context menus has similar issues 🙈
The menu is placed by mutter compositor as we use move_to_rect wayland compositor method to place the popup. It's also determined by screen size/menu size etc. I suppose for such small screens and large popups compositor just fails to find any placement. Can you try to compare it with X11 Firefox for instance?
Created attachment 1613265 [details] Screenshot(fixed missplaced menus) Running on Wayland, Gnome 3.30, Fedora 30. Menus appear in their respective places. I now use it as my daily driver on all of my machines.
*gnome 3.32.2
(In reply to Akarshan Biswas from comment #11) > Created attachment 1613265 [details] > Screenshot(fixed missplaced menus) Yes, I can confirm that the main hamburger menu is on its place (not sure if it wasn't previously) but that does not apply to bookmarks menu.
I think we should reduce popup menu size (add scrollbar) and place it at correct location. I think it's related do https://bugzilla.mozilla.org/show_bug.cgi?id=1565401
Moving upstream.