Closed Bug 1574035 Opened 5 years ago Closed 3 years ago

[wayland] Context menu entries are selected when pointer is not on them

Categories

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

70 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tinkerttoy, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

Click on the screen close enough to the bottom that the context menu opens above the pointer instead of below it
Hover the pointer under the context menu

Actual results:

Entries on the context menu light up to show they're selected, as if there were an invisible copy of the context menu extending from the bottom. (See attached screenshot.) If you click, the context menu will close and nothing will happen, but if you hit the Enter key then the selected item will be activated.

Expected results:

Context menu entries should only be selected when pointer is hovering over them.

I've tested this both on Firefox Developer Edition 69.0b12 (64-bit) and Firefox Nightly 70.0a1 (2019-08-14) (64-bit). Tested on Sway and GNOME; this is not specific to any one Wayland compositor.

Robers, is that with Wayland backend only? Thanks.

Flags: needinfo?(tinkerttoy)

(In reply to Martin Stránský [:stransky] from comment #2)

Robers, is that with Wayland backend only? Thanks.

Yes, Wayland backend only.

Flags: needinfo?(tinkerttoy)

Can you please test latest nightly? Also which mutter version do you use? I have mutter-3.32.2-3.fc30.x86_64 and I don't see that.

Flags: needinfo?(tinkerttoy)
Priority: -- → P3

Same behaviour here with Mozilla Firefox 70.0 in a GNOME Shell 3.34.1 Wayland session.

Can you please test latest nightly? (FF 77).
Thanks.

Blocks: wayland-popup
No longer blocks: wayland
Flags: needinfo?(kalhoefer)

Robert, do you still see this?

Can you please test latest nightly under Wayland? A new popup handling code landed there.
Thanks.

It works for me now as expected in version 88 as well as nightly.

Flags: needinfo?(kalhoefer)

Please re-test with new nightly as it gets another popup fixes.
Thanks.

Seems to be working now.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: