Closed Bug 342078 Opened 18 years ago Closed 13 years ago

display the "Refresh Live Title" context menu item if any bookmarks in selection have microsummaries

Categories

(Firefox Graveyard :: Microsummaries, defect, P3)

2.0 Branch
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Firefox 3

People

(Reporter: myk, Unassigned)

Details

(Whiteboard: [microsummaries-feature-removal])

Per the fix for bug 341555, the "Reload Live Title" context menu item is displayed only when all items in a selection of bookmarks have microsummaries.

mconnor suggests, and I agree, that it makes sense to also display that command (and possibly others, like the "Reload Live Bookmark" command) when only some of the items in the selection have microsummaries, since users won't always be precise when choosing bookmarks to refresh, and we shouldn't enforce such precision when we can easily handle the lack of it (by refreshing the bookmarks that have microsummaries and ignoring the rest).

In theory, we would do this by making bookmarks.js's BookmarksController.isCommandEnabled() return true for cmd_bm_refreshmicrosummary if any items in the selection have microsummaries.

But BookmarksCommand.createContextMenu() extracts the intersection of enabled commands for bookmarks in the selection, so it only displays commands common to the entire selection, regardless of what isCommandEnabled() says.

We should make it possible for a command to be displayed so long as any bookmarks support it and then display the "Reload Live Title" command like that.
And in these cases, the UI should really say:

 "Reload Live Bookmarks"
and
 "Reload Live Titles"
Priority: -- → P3
Whiteboard: [myk-mss]
Target Milestone: --- → Firefox 2 beta2
I suspect this of being too big a change to take into Firefox 2 at this stage.
Component: Bookmarks → Microsummaries
Whiteboard: [myk-mss]
Target Milestone: Firefox 2 beta2 → Firefox 3
QA Contact: bookmarks → microsummaries
- BUGSPAM -
Wontfixing all Microsummaries bugs, since the feature has been removed from the core product and previous versions won't get further fixes for it.
If interested in supporting Microsummaries in your add-on, you're free to use our old microsummaries code and to search all previously open bugs by looking for [microsummaries-feature-removal] in the status whiteboard field.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Whiteboard: [microsummaries-feature-removal]
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.