Closed Bug 637080 Opened 14 years ago Closed 14 years ago

"Subscribe to This Page" in Bookmarks button menu always disabled and lacks icon

Categories

(SeaMonkey :: Feed Discovery and Preview, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.1b3

People

(Reporter: stefanh, Assigned: neil)

References

Details

Attachments

(1 file, 1 obsolete file)

Recent trunk, all OS (Callek confirmed Windows) STR: 1) Load planet.m.o and open the Bookmarks menu in the Bookmarks toolbar (note that it's the BM toolbar menu) 2) Look at the "Subscribe to This Page" menu Expected result: Enabled menu with a feeds icon Actual result: Disabled menu without feeds icon
I think this should block, having a menitem that doesn't work seems to me like really bad ui. We should either remove it (it's not there in 2.0.x) or make it work.
blocking-seamonkey2.1: --- → ?
Confirmed (again) on Windows. SM 2.0 and 2.1: window Bookmarks menu has this menuitem; menuitem has the "feeds" icon; menuitem is enabled on http://planet.mozilla.org/ page. The feed icon in the Location Bar works too. SM 2.1 only: personal toolbar Bookmarks menu has this menuitem; and this bug. http://mxr.mozilla.org/comm-central/search?string=populateFeeds&case=1&find=%2Fsuite%2F The 3 occurrences *** http://mxr.mozilla.org/comm-central/search?string=feedsMenu&case=1&find=%2Fsuite%2F Iiuc, nsBrowserStatusHandler.js handles (the) 1 'id=feedsMenu' only :-|
(In reply to comment #2) > http://mxr.mozilla.org/comm-central/search?string=feedsMenu&case=1&find=%2Fsuite%2F > > (the) 1 'id=feedsMenu' only :-| And, because of the same lack of id, css rules don't apply the icon there :-|
(In reply to comment #2) > SM 2.1 only: > personal toolbar Bookmarks menu has this menuitem; > and this bug. Ftr, adding this occurrence is blamed to bug 580660.
Depends on: 580660
Maybe having a BMB_feedsmenu id and then fix nsBrowserStatusHandler.js to handle it would be ok.
Attached patch Proposed patch (obsolete) — Splinter Review
I went with 'bmbFeedsMenu' since that fits better with the style in the js file.
Assignee: nobody → stefanh
Status: NEW → ASSIGNED
Attachment #520554 - Flags: review?(neil)
Comment on attachment 520554 [details] [diff] [review] Proposed patch Forgot to say that the "!important" didn't seemed necessary, but it's not tested on non-mac.
I will file a follow-up, since on Mac, I need an icon for the disabled state (the native menu handles this for free, so I don't have a ready one and the windows one is most likely too washed-out).
Blocks: 643323
Comment on attachment 520557 [details] [diff] [review] Alternative approach [Checked in: See comment 12] Just what I was hoping for: class and command ;-) Should '!important' be removed from the 2 non-Mac files too?
Attachment #520557 - Flags: feedback+
Comment on attachment 520557 [details] [diff] [review] Alternative approach [Checked in: See comment 12] This is much better, thanks :-) Should we have separate names for class and id?
Attachment #520557 - Flags: review?(stefanh) → review+
Assignee: stefanh → neil
Target Milestone: --- → seamonkey2.1b3
Attachment #520554 - Flags: review?(neil)
Attachment #520554 - Attachment is obsolete: true
Pushed changeset 73a13310cbed to comm-central, removing all the !important
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: "Subscribe to This Page" in Bookmarks toolbar menu always disabled and lacks icon → "Subscribe to This Page" in Bookmarks button menu always disabled and lacks icon
blocking-seamonkey2.1: ? → ---
Attachment #520557 - Attachment description: Alternative approach → Alternative approach [Checked in: See comment 12]
[Mozilla/5.0 (Windows NT 5.0; rv:2.2a1pre) Gecko/20110323 Firefox/4.0b13pre SeaMonkey/2.1b3pre] (comm-central-trunk-win32/...) Icon is there and item activates. (at the 3 places) V.Fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: