Closed Bug 1684167 Opened 5 years ago Closed 5 years ago

When value of flag layout.css.devPixelsPerPx is greater than 2.00 and smaller than 3 not show right submenus and more than 4

Categories

(Core :: XUL, defect, P3)

Firefox 87
Desktop
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1693474

People

(Reporter: grsm, Unassigned)

Details

Attachments

(3 files)

907.64 KB, image/jpeg
Details
411.44 KB, image/png
Details
129.46 KB, application/pdf
Details
Attached image menus

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

Steps to reproduce:

When value of flag layout.css.devPixelsPerPx is greater than 2.00 not show right-click submenus, but left submenus is shoing. Use Fedora 33 Wayland. See screenshots

Actual results:

menu not shown

Expected results:

menu must show

OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 84

reproduce it on 84.0 and nightly 86 release

and i'm using custom fractional scaling in gnome = 1.25

always use layout.css.devPixelsPerPx=2.2

olso firefox crash when trying to make right-click on item tools->web-development

Oh, sorry forgot to say hello, and great thaks to mozilla's team for their work.

Works fine in latest Waterfox Settings and custom.css file was copied to new profile.

Attached image Waterfox

Also works fine 78.6.0esr

Works fine, but not stable.

Hello I wasn't able to reproduce the issue on Ubuntu 20 with 86.0a1(2020-12-24). I will add a component to this issue so one of our developers could look more into it. If it's not the right component please feel free to change it to an appropriate one.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Component: Widget: Gtk → Panning and Zooming

Since it works on older Firefox you could use https://mozilla.github.io/mozregression/ to narrow down what change caused this.

Component: Panning and Zooming → Widget: Gtk

(In reply to Negritas Sergiu from comment #10)

Hello I wasn't able to reproduce the issue on Ubuntu 20 with 86.0a1(2020-12-24). I will add a component to this issue so one of our developers could look more into it. If it's not the right component please feel free to change it to an appropriate one.

Hi, thank you for your reply. Older versions works bad, not stable. About reproducing: I don't know which component i should choose. I change it to 'panning and zooming'.

First of all i use fractional scaling 125% on my FullHD display on Gnome on Wayland. Second i change in about:config layout.css.devPixelsPerPx=2.2. And than when i click Tools -> Web-Development->.... submenu not working if i click left mouse button and browser crash if click right in a section Web-Development. And any menu with sub menu work the same.

Okay thanks. The "zooming" in Panning and Zooming refers to pinch or smooth zoom. The kind of zooming that is related to the pref layout.css.devPixelsPerPx is called "full zoom", but it's mechanism is quite different from pinch/smooth zoom, so I kept the component as gtk for now. If we learn more about the problem we can move it to another component.

i was created a short video about reproducing, you can watch it on the link below

https://youtu.be/XwBh1MxWdoY

Final crash after clicking by right-mouse button.

Still same in 87 nightly release

New detailt fractional value between 2 and 3 cause it

Component: Widget: Gtk → Menus
Product: Core → Firefox
Summary: When value of flag layout.css.devPixelsPerPx is greater than 2.00 not show right submenus → When value of flag layout.css.devPixelsPerPx is greater than 2.00 and smaller than 3 not show right submenus
Version: Firefox 84 → Firefox 87

When i make it mode than 3 even fractional menu start working correctly

Not all but somethings. And bigger than 4 not work again

Summary: When value of flag layout.css.devPixelsPerPx is greater than 2.00 and smaller than 3 not show right submenus → When value of flag layout.css.devPixelsPerPx is greater than 2.00 and smaller than 3 not show right submenus and more than 4

This smells like a XULPopupManager issue, or maybe deeper in layout. Let's put it in Core :: XUL for now.

Component: Menus → XUL
Product: Firefox → Core

situation not depends from flag layout.css.devPixelsPerPx it crashes with default value...

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Severity: -- → S3
Priority: -- → P3

Sorry for mystake, reprpducing depends from flag layout.css.devPixelsPerPx. Bug is still actual. Yesterday I change flag value to -2.2, but need 2.2.

But some menus work fine with default value and some crash with it.

Attached file about:support

I am use fractional scaling on Wayland = 125%

Bug finded, custom theme for gnome shell....Thank u guys and great sorry.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INVALID

Finally summury info i wrote on this report. Maybe it will be full and you can reproduce it by ownself. BTW I don't know this is a bug of browser/gnome/wayland or problem of themes or maybe problem of my system.

https://bugzilla.mozilla.org/show_bug.cgi?id=1693474

Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: