Open Bug 1850088 Opened 2 years ago Updated 2 years ago

Menu glitches if not enough screen space

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 102
defect

Tracking

()

UNCONFIRMED

People

(Reporter: u733262, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

Run Firefox on Phosh (Desktop Environment) running Wayland with a small screen. Open any menu (right-click menu, hamburger menu, addon menu, etc.).

Actual results:

If the menu is too large and runs off the screen, it'll start visually disappearing and reappearing. If left alone, Firefox will eventually crash. You can click away from the menu to close it, preventing the crash. You can also try to click on the menu, but it rarely registers the input while it's flickering.

Expected results:

At the very least, the menu shouldn't flicker and crash Firefox. It would be nice to have it adjust to the screen size or allow scrolling horizontally as well as vertically.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Which resolution do you use? Can you attach about:support from the browser?

Flags: needinfo?(qstambaugh)
Attached file firefox-esr debian log
(In reply to Martin Stránský [:stransky] (ni? me) from comment #2) > Which resolution do you use? Can you attach about:support from the browser? The touchscreen display maxes out at 720x1440. Here's the information from about:support:

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

Also please try latest nightly:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.

Unfortunately, it looks like there aren't any packages directly from Mozilla for Linux using the arm64/aarch64 architecture. I did some more testing. It doesn't have any issues with the same scenario with GNOME as the desktop environment, so it's specifically an issue with Firefox on Phosh. Probably a bug on Phosh's side since it's not that mature yet. I'm not able to replicate the issue with any other GTK software on Phosh, though.

Flags: needinfo?(qstambaugh)

102 is pretty old, recent version with may Wayland fixes is 117.0. Please try to test new one.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #6)

102 is pretty old, recent version with may Wayland fixes is 117.0. Please try to test new one.

Mozilla doesn't offer arm64/aarch64 builds for Linux. I was going to grab Firefox for sid from the Debian repository, but its dependencies would end up breaking my setup, so I'm stuck with Firefox ESR on my current setup. I'll setup a secondary partition sometime to install Debian sid to test it.

I was going to grab Firefox for sid from the Debian repository, but its dependencies would end up breaking my setup

Version from unstable should be installable on stable AFAIK. I actually have Firefox from unstable on my AArch64 laptop running Debian 12, so I guess this should work for you too.

I updated to 115.3.0 and it has the same issue. I'll try out the build from sid when I have some extra time. It'll require me to update some dependencies to the versions in sid, which will break some other software I'm using, so I'll need some extra time for reverting back after testing.

Can you please attach screenshot of it? How it looks like?
Thanks.

Flags: needinfo?(qstambaugh)

I couldn't capture it all that well in a screenshot. I recorded my screen for a few seconds instead. It still doesn't show all that well there, but whenever I click an icon that opens a menu too big for the screen, you can see the icon highlight but the menu never shows up or briefly flashes. Other menus come up just fine.

https://share.stambell.net/file_share/eYMjqSl8HsOE5pTetDPRQbK9/demo.mp4

Flags: needinfo?(qstambaugh)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: