Closed Bug 1906224 Opened 2 months ago Closed 2 months ago

[X11 / Thunderbird] Menulist popups in modal dialog windows don't close when they should

Categories

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

Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1899299

People

(Reporter: darktrojan, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

At some point in the 122 cycle, XUL menulists in modal dialogs stopped closing when you click outside of them. Submenus also don't open when you hover on them, you have to click, and once one is open it won't close if you move the mouse to a different menu item.

To see this, in Thunderbird right-click on a folder and click New Subfolder. (Edit: the message filters dialog shows it better.) I don't think there's any instance in Firefox that can be used for testing.

This bug will probably get moved to Widget:GTK, but I'm going to try to prove that it belongs there first.

It's too far back to back out easily. I'm going to assume it is 1864382 as that's the most likely thing in range by far.

Component: General → Widget: Gtk
Flags: needinfo?(stransky)
Keywords: regression
Priority: P1 → --
Product: Thunderbird → Core
Regressed by: 1864382
Version: Thunderbird 122 → unspecified

Set release status flags based on info from the regressing bug 1864382

Isn't this a dupe of bug 1899299?

It could well be, but I'm using X11.

Do you see that in Firefox too or is it Thunderbird only?

Can you please create a screencast of the issue?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Create_screenshot/screencast_for_a_bug_report
(I know screencast doesn't record mouse cursor but it helps me anyway.)

From Bug 1899299 it looks like TB uses big number of popup windows which are connected together and that breaks widget code as it's somehow unexpected. Such architecture was usual with Gtk2 / child windows long long ago but breaks our recent X11/Wayland Gtk3 code.

Priority: -- → P2
Summary: Menulist popups in modal dialog windows don't close when they should → [X11 / Thunderbird] Menulist popups in modal dialog windows don't close when they should
Flags: needinfo?(geoff)

Yes, it turns out I can see this in Firefox as well, now that I've found a modal dialog with a menulist.

Here's a screen cast. Each time the cursor pauses for a bit I'm trying to click there and nothing happens. (Including on the menulist dropmarker.)

Flags: needinfo?(geoff)

Can you try to attach screencast from Firefox/Thunderbird where you see that?
Thanks.

Flags: needinfo?(stransky) → needinfo?(geoff)

Is comment 7 not what you wanted?

Flags: needinfo?(geoff) → needinfo?(stransky)

(In reply to Geoff Lankow (:darktrojan) from comment #9)

Is comment 7 not what you wanted?

You're right, I didn't realize that's Firefox dialog.
Thanks.

I wonder if it's something like Bug 1883532.

See Also: → 1883532

It's related to Bug 1813498 - we make the popup modal and it causes this behavior - parent dialog clearly doesn't mouse events if its child is modal.

See Also: → 1813498
Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1899299
Flags: needinfo?(stransky)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: