Closed Bug 1508608 Opened 7 years ago Closed 4 years ago

[Wayland][touch] Addon popups and context menus do not close when clicked away using touch controls

Categories

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

63 Branch
defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: oto.stava, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: In Firefox on Wayland on Fedora 29, I opened an addon popup in the top panel using touch controls / opened a context menu by touch-and-hold. Then I tried to close said popup/menu by touching outside of its region. Actual results: The popup/menu did not hide. Expected results: The popup/menu should close upon touching outside of its region, just like it does with mouse clicks or under X11/XWayland.
Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Issue is still reproducible on Firefox Nightly 68.0a1 (2019-04-04).

I can repro this, fwiw.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: P5 → P3
Blocks: wayland-popup
No longer blocks: wayland

I can also still reproduce this with 79.0 and Nightly.

Still the same in 81.0.

Setting xul.panel-animations.enabled to true fixes this issue for me and also adds the nice animations from the Windows version of FF.

But there is a small issue as a result:
Having an addon window open and trying to open another addon window can cause odd animation canceling behavior and in rare instances cause FF to freeze.

Interesting, changing xul.panel-animations.enabled to true does not change anything for me.

(In reply to chron from comment #8)

Interesting, changing xul.panel-animations.enabled to true does not change anything for me.

I misread the initial issue. This fixes an unrelated problem I've had with FF for Wayland. Sorry for the confusion.

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

Flags: needinfo?(oto.stava)

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

Summary: [Wayland] Addon popups and context menus do not close when clicked away using touch controls → [Wayland][touch] Addon popups and context menus do not close when clicked away using touch controls

Fixed in latest nightly have tested last nightly on Fedora 34 Workstation and the problem seem fixed.

NB: ho lanciato firefox con MOZ_USE_XINPUT2=1

(In reply to Elia Devito from comment #13)

Fixed in latest nightly have tested last nightly on Fedora 34 Workstation and the problem seem fixed.

NB: ho lanciato firefox con MOZ_USE_XINPUT2=1

sorry I sent the message by mistake, the bug is still here

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

Still reproducible with latest nightly build.

Assignee: nobody → stransky
Status: NEW → ASSIGNED
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/0a0cc6cf8702 [Linux] Check for Rollup events at nsWindow::OnTouchEvent/GDK_TOUCH_BEGIN, r=botond
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: