Closed Bug 1621660 Opened 4 years ago Closed 3 years ago

[Wayland] Clear Recent History dropdown list items cannot be selected with the mouse

Categories

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

74 Branch
defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox73 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- wontfix
firefox88 --- wontfix
firefox89 --- wontfix
firefox90 --- fixed

People

(Reporter: ke5trel, Assigned: jhorak)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Press Ctrl+Shift+Del to show the "Clear Recent History" dialog.
  2. Click the time range dropdown.
  3. Try to click on a different menu item with the mouse eg "Everything".

The dropdown menu items do not response to mouse hover or clicks. Keyboard arrow keys work.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=601b94cc2e12bb1749342266f4ee3f25121a04bf&tochange=12c004663a5c03385170eb1ac009e3bcdc2547ea

Regressed by Bug 1605795.

Jan, can you look at it please?
Thanks.

Assignee: nobody → jhorak

Hi Martin, can you please (let) set a priority here? Thank you!

Flags: needinfo?(stransky)
Flags: needinfo?(stransky)
Priority: -- → P2
Blocks: wayland-popup
No longer blocks: wayland

This is because the Clear recent history dialog is modal. It's always 'above' the Time range to clear dropdown (dropdown does not receive the OnEnterNotify). Setting dropdown menu be also modal somehow workaround the problem but another occurs: You cannot close the dropdown by clicking back to Clear history window.

It seems to be related on how we're creating the popup menus. I need to investigate further the GTK3 code to find some solution - or reproduce it upstream.

See Also: → 1650611

(In reply to Jan Horak [:jhorak] from comment #4)

This is because the Clear recent history dialog is modal. It's always 'above' the Time range to clear dropdown (dropdown does not receive the OnEnterNotify). Setting dropdown menu be also modal somehow workaround the problem but another occurs: You cannot close the dropdown by clicking back to Clear history window.

It seems to be related on how we're creating the popup menus. I need to investigate further the GTK3 code to find some solution - or reproduce it upstream.

As i mentioned in my bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1650611#c3 the Flatpak Version works fine. Also there is no problem in the 'Clear history window' Dialog.

Priority: P2 → P1

Looks like the history dialog is reworked in latest nightly and no longer uses Gtk widgets.

It's fixed by bookmark code rewrite in latest nightly.

Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/0d390cf3d072
[Wayland] When parent window is modal, set modal popup child window too, r=jhorak
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Has Regression Range: --- → yes
Regressions: 1794613
Duplicate of this bug: 1677847
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: