Open Bug 1729944 Opened 3 years ago Updated 2 years ago

Firefox context menu is small and displays with scrollbar on KDE Wayland

Categories

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

Firefox 94
x86_64
Linux
defect

Tracking

()

Tracking Status
firefox94 --- affected

People

(Reporter: mystiquewolf, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(4 files)

As requested in Bug 1727072 i file this bug.

Attached image Firefox context menu.png (deleted) —

Context menu frequently appears like this.

Attached image Firefox context menu 3.png (deleted) —

The above comment and this one happen when you click towards the bottom of the viewport with little space below it for the context menu to appear.

So the above happens but sometimes it appears on top of/above the cursor - like it should.

Attached image Firefox context menu 2.png (deleted) —

This last case is what happens when i click somewhere close to the top of the viewport - it shows the scrollbar even then, so maybe what the issue is/what happens its an erratic behavior between two ways of working - one which tries to position the context menu inside the viewport and therefore generates scroll arrow; and another one, which doesn't care about the viewport and if it happens it also draws part of the context menu over the address bar so that it doesn't produce a scroll arrow. This is all speculation from myself.

The popup position is out of our control so closing as wontfix.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → MOVED
Blocks: wayland-kde

This comment applies to this bug.
@Martin please reopen this bug as i don't have privileges to do so. It's not an urgent bug at all so place it wherever you find appropriate in your backlog.

Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(stransky)
Resolution: MOVED → ---

It's already reopened.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(stransky)
Priority: -- → P3

Can you please attach whole screen with the broken popup there?
Thanks.

Flags: needinfo?(liubomirwm)

Comment from Vlad:

Firefox sets the following xdg-positioner constraint adjustments: slide_x, flip_x, flip_y, resize_x, and resize_y. If a popup can't be flipped vertically, the only thing that's left is to resize the popup (SLIDE_Y is not set). It's not a compositor bug, firefox needs to set appropriate constraint adjustments.

Attached image firefox broken context menu.png (deleted) —

Attaching.

Flags: needinfo?(liubomirwm)

Can you please test latest nightly?
Thanks.

Flags: needinfo?(liubomirwm)

Still happens in Firefox Nightly 100.

Flags: needinfo?(liubomirwm)

Does this problem still occur with Nightly?

Flags: needinfo?(liubomirwm)

Yes

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

Attachment

General

Created:
Updated:
Size: