Closed
Bug 1141353
Opened 11 years ago
Closed 2 years ago
Fix ReadingList bookmarks nativemenu on OSX
Categories
(Firefox Graveyard :: Reading List, defect, P3)
Firefox Graveyard
Reading List
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: Unfocused, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [blocked on platform][readinglist-v2])
Bug 1124400 added a submenu in the menubar (under bookmarks) for the ReadingList. Unfortunately, that doesn't work on OSX, which apparently has trouble with dynamically changing menus once they're open. Original plan was to have the storage backend cache the first X items to provide a sync API, but that ended up being shot down.
Options are:
* Keep the menu up to date always. Means (possibly regular) background DOM updates and background DB queries for every window.
* Have a cache per window. Means (possibly regular) background DB queries for every window.
* Have a cache in ReadingList.jsm. Would work same as original fix, but code in a different location. Only one set of DB queries to maintain this cache.
Comment 1•11 years ago
|
||
What kind of problem, and dynamic how?
Other menus (like History and Recently Closed Tabs) work fine...
Comment 3•11 years ago
|
||
(In reply to Justin Dolske [:Dolske] from comment #1)
> What kind of problem, and dynamic how?
>
> Other menus (like History and Recently Closed Tabs) work fine...
Native Mac menus are only updated when they are opening; the popupshowing event handler is our last opportunity to add content there.
The readinglist code is async, which means the popupshowing handler gets a promise for the list, and we only generate the DOM menuitems when the promise is resolved. This works fine on Windows/Linux, but on Mac the DOM nodes we add after the menu has been shown are never converted to native menu items.
This is an old known issue, see bug 733419.
Depends on: 733419
Flags: needinfo?(florian)
Comment 4•11 years ago
|
||
We're ok with shipping as-is (no Reading List item in the native menubar Bookmarks menu), but if we can get the platform fix in time and it's low-risk, it would be great to have. No need for a front-end workaround if not.
Priority: -- → P3
Whiteboard: [blocked on platform]
Updated•11 years ago
|
Flags: qe-verify+
Updated•11 years ago
|
Whiteboard: [blocked on platform] → [blocked on platform][readinglist-v2]
| Assignee | ||
Updated•10 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•