Closed Bug 1761929 Opened 2 years ago Closed 2 years ago

[Wayland] Right-click context-menus can only become shorter

Categories

(Core :: Widget: Gtk, defect)

Firefox 100
defect

Tracking

()

VERIFIED FIXED
101 Branch

People

(Reporter: q23456yuiop, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

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

Steps to reproduce:

  1. Install enough extensions to have a long enough right click context menu.
  2. Open https://archlinux.org/
  3. Right click on a link in the middle of the screen.
  4. Right click on a link at the top the screen.

Actual results:

The second context menu has the same height as the first context menu, despite having much more space below.

Expected results:

The second context menu should use be higher and use more of the space below.

Environment: GNOME wayland 41.5 on Arch Linux

I can't repro this, does it work on Nightly?

"Long enough" as in, it doesn't fit on the screen at in any dimension (i.e., more than half the screen height?)

Flags: needinfo?(q23456yuiop)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)

I can't repro this, does it work on Nightly?
Still reproducible on 101.0a1 (2022-04-11) with GNOME wayland 42 on Arch Linux.
"Long enough" as in, it doesn't fit on the screen at in any dimension (i.e., more than half the screen height?)
Yes.

Flags: needinfo?(q23456yuiop)

For more context, in my case the menu is higher than half of the screen height but shorter than the whole screen height. After right-clicking on a link in the middle of the screen, it is then impossible to right-click a link and get the menu to be higher than that without restarting the browser.

Let me try to reproduce this a bit harder then, thanks for clarifying :)

Flags: needinfo?(emilio)

Otherwise showing the same popup again could incorrectly constrain the
position of the popup.

Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4d56ad9b7e38
Clear move-to-rect size on popup close. r=stransky
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

Comment was meant for 1765714, will verify this issue asap.

Status: RESOLVED → VERIFIED
Status: VERIFIED → RESOLVED
Closed: 2 years ago2 years ago

I could not reproduce the issue on Ubuntu 20.4 (Wayland) using build 100.0a1(20220329204247).
Are there any more steps that I can use?
Can you please mention if the issue is still reproducing on latest Beta (https://archive.mozilla.org/pub/firefox/candidates/101.0b8-candidates/)?

Flags: needinfo?(q23456yuiop)

I can confirm this issue is no longer reproducing on 101.b8. I'm not sure what more steps I can provide, though.

Flags: needinfo?(q23456yuiop)

(In reply to Monica Chiorean from comment #10)

I could not reproduce the issue on Ubuntu 20.4 (Wayland) using build 100.0a1(20220329204247).
Are there any more steps that I can use?

You need to install enough add-ons so that the context menu is huge, or use a tiny screen or something. Anyways based on comment 11 marking as verified.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: