Firefox/Thunderbird menus often change shortly after opening (should wait while processing updates)

Reported by Chris Coulson on 2011-01-21
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DBus Menu
Medium
Unassigned
Global menubar extension
Low
Unassigned

Bug Description

Currently, menus in Firefox and Thunderbird often change their contents shortly after the menu opens.

For example:
* Every menu briefly appears as a stub the first time it is opened in an application session. https://launchpadlibrarian.net/122180594/thunderbird-menus.ogv
* Thunderbird's "File" > "Send Unsent Messages" item is initially insensitive until Thunderbird checks whether there are any.

Currently, the menubar sends a signal over DBus when a user opens a menu, and this signal might trigger updates to the menu inside Firefox. Because the panel opens the menu immediately, these updates can arrive after the menu has already opened, which is visually jarring.

We need a way to postpone the menu opening until we've updated it, and then we should lock the menu structure whilst the menu popup is open to prevent any further updates causing flicker in the menu.

Changed in globalmenu-extension:
status: New → Triaged
importance: Undecided → High
Ted Gould (ted) wrote :

This requires some playing with GTK in the menu rendering. Not quite sure how to do that. It's probably going to be tricky. But I agree it is a bug.

Changed in dbusmenu:
status: New → Confirmed
importance: Undecided → Medium
Chris Coulson (chrisccoulson) wrote :

This isn't really high priority anymore, since we avoid rebuilding the menu where possible now

Changed in globalmenu-extension:
importance: High → Low
Matthew Paul Thomas (mpt) wrote :
description: updated
summary: - Should delay menu opening whilst processing menu updates
+ Firefox/Thunderbird menus often change shortly after opening (should
+ wait while processing updates)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers