Closed Bug 409748 Opened 17 years ago Closed 17 years ago

No statusbar-text for bookmarks toolbar sub-menu items

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3 beta5

People

(Reporter: dev, Assigned: dev)

References

Details

Attachments

(1 file, 9 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b3pre) Gecko/2007122404 Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b3pre) Gecko/2007122404 Minefield/3.0b3pre Follow up to bug #213613. While hovering over items inside sub menus within the bookmarks toolbar, the URI does not appear in the status bar. Reproducible: Always Steps to Reproduce: 1. Click on any menu on the bookmarks toolbar (Smart Bookmarks, Places, ...) 2. Hover over any item Actual Results: Nothing changes/appears in the status bar Expected Results: While hovering, the URI of the item should appear in the status bar
Oops.. I meant to write - Follow up to bug #213163.
confirming. I'd wanted to say that this is a duplicate, but I couldn't find it with quick query.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I put another "k" in boomarks in the summary, for searching convenience.
Summary: No statusbar-text for boomarks toolbar sub-menu items → No statusbar-text for bookmarks toolbar sub-menu items
Also bookmarks under the overflow chevron don't show up in the status bar.
Attached patch v1 (obsolete) — Splinter Review
Works for the chevron & other menu popups.
Assignee: nobody → dev
Status: NEW → ASSIGNED
Attachment #303779 - Flags: review?(mano)
Attachment #303779 - Flags: review?(mano)
Attachment #303779 - Attachment is obsolete: true
Attached patch v2 (obsolete) — Splinter Review
Toolbar.xml is responsible for displaying the URL of any toolbar item whether its just a bookmark, or a folder containing bookmarks. Menu.xml is responsible for displaying the URL of any chevron item, including both folders and bookmarks.
Attachment #303987 - Flags: review?(mano)
Comment on attachment 303987 [details] [diff] [review] v2 We should look into moving this code over to the new shard binding for places popups.
Attachment #303987 - Flags: review?(mano) → review-
Attached patch v3 (obsolete) — Splinter Review
Mano: I'm not entirely sure as to what you meant by taking out the code into a shared place, because the placesMenuBindings binding doesn't handle the toolbar menu items. Right now, toolbar.xml handles only the toolbars menu items (not folders!) and the menu.xml handles everything else, which include all folders, chevron menu items & chevron folders. So, please let me know if I got it wrong...
Attachment #303987 - Attachment is obsolete: true
Attachment #306079 - Flags: review?(mano)
actually places-popup-base handles all menus and submenus while places-menupopup handles bookmarks menu (first level, the view) toolbar.xml handles the toolbar while the chevron has it's own view (and the binding is still places-menupopup) since places-menupopup extends places-popup-base using the latter will ensure that it will be fired on all menupopups. the toolbar is not a menupopup so it has to be served by its own
So in other words, I got it right?
Comment on attachment 306079 [details] [diff] [review] v3 So, few concerns: 1. Use DOMMenuItemActive/Inactive events 2 . This probably makes the popuphidden unnecessary. 3. This _should_ make the statustext attribute set in createMenuItemForNode unnecessary as well.
Attachment #306079 - Flags: review?(mano) → review-
And, "button" is a pretty odd variable-name for a menuitem ;)
Depends on: 420033
Attached patch v3.2 (obsolete) — Splinter Review
Changing to DOMMenuActive/Inactive handlers also causes the Mac native menu bar in question (History & Bookmarks in this case) to display status bar text. This would be a great add-on, if not for another bug which prevents DOMMenuInactive from being fired for those native menus. So, holding out for a review until resolution of bug 420033.
Attachment #306079 - Attachment is obsolete: true
Attached patch v3.3 (obsolete) — Splinter Review
Same deal, better if-statements. (Trying to counteract some of Manos foreseeable nit comments!)
Attachment #306213 - Attachment is obsolete: true
mmh, removing statustext attribute will break those themes that are using that to show different icons for bookmarklets (See bug 397263), so what about doing something like <handler event="mouseover"><![CDATA[ var target = event.target; if (target.parentNode != this) return; var statustext = target.getAttribute("statustext"); if (statustext) window.XULBrowserWindow.setOverLink(statustext, null); ]]></handler> in toolbar.xml Also in domMenuItemActive/inactive you could use the attribute, it exists if the node is an uri node, so we don't need to check again if that node is an uri. plus we don't break anything. If you want you can merge in the patch in Bug 397263 to add the attribute to toolbar buttons, so everything lives is in a single patch.
Marco: the statustext attribute is pretty buggy as far as i can tell, and slows the creation of very large bookmarks menus, I'm fine with removing it for now. That said, if you want to add some css *class* for bookmarklets, that can happen in bug 397263.
Attached patch v3.4 (obsolete) — Splinter Review
Same as before, but hacked so it wouldn't show the status bar text for the History & Bookmarks menu bars in Mac OS, because chances are Bug 420033 won't be included in Firefox 3.
Attachment #306216 - Attachment is obsolete: true
Attachment #308602 - Flags: review?(mano)
Attachment #308602 - Flags: review?(mano)
Attachment #308602 - Flags: review+
Attachment #308602 - Flags: approval1.9?
Flags: blocking-firefox3?
Comment on attachment 308602 [details] [diff] [review] v3.4 hrm, sorry, i didn't realize that the this.id check wouldn't filter out items under submenus of the main bookmarks menu.
Attachment #308602 - Flags: review-
Attachment #308602 - Flags: review+
Attachment #308602 - Flags: approval1.9?
(In reply to comment #17) > Marco: the statustext attribute is pretty buggy as far as i can tell, and slows > the creation of very large bookmarks menus, I'm fine with removing it for now. well, that was working fine however, but np we can use both ways
This will not block the final release of Firefox 3.
Flags: blocking-firefox3? → blocking-firefox3-
Attached patch v3.5 (obsolete) — Splinter Review
Same deal, different hack...
Attachment #308602 - Attachment is obsolete: true
Attachment #308680 - Flags: review?(mano)
Attached patch v3.6 (obsolete) — Splinter Review
Attachment #308680 - Attachment is obsolete: true
Attachment #308685 - Flags: review?(mano)
Attachment #308680 - Flags: review?(mano)
Attached patch v3.7 (obsolete) — Splinter Review
Attachment #308685 - Attachment is obsolete: true
Attachment #308688 - Flags: review?(mano)
Attachment #308685 - Flags: review?(mano)
Comment on attachment 308688 [details] [diff] [review] v3.7 Without the changes to toolbar.xml, r=mano. Thanks.
Attachment #308688 - Flags: review?(mano)
Attachment #308688 - Flags: review+
Attachment #308688 - Flags: approval1.9?
Comment on attachment 308688 [details] [diff] [review] v3.7 a1.9+=damons
Attachment #308688 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
this cannot be checkin-needed, you still need to address comment #26 (remove toolbar.xml changes)
Keywords: checkin-needed
Attached patch for checkinSplinter Review
Marco: Asaf had told to me that you can simply omit the changes to toolbar.xml during the checkin itself, thus there is no need for me to upload another patch. But nevertheless, here is the updated patch.
Attachment #308688 - Attachment is obsolete: true
Keywords: checkin-needed
still is better having the checked-in patch in the bug before resolving. Sorry Michael didn't want to hurt your work :)
Marco is right. Please always attach a final patch for check-in. It makes the checkin-needed people (such as myself) much happier. Checking in browser/components/places/content/menu.xml; /cvsroot/mozilla/browser/components/places/content/menu.xml,v <-- menu.xml new revision: 1.119; previous revision: 1.118 done Checking in browser/components/places/content/utils.js; /cvsroot/mozilla/browser/components/places/content/utils.js,v <-- utils.js new revision: 1.120; previous revision: 1.119 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 beta5
Version: unspecified → Trunk
Understandable.. Will do from now on! Thanks guys...
Note that this patch missed the Mac nightly but made the Windows and Linux nightlies.
Depends on: 422645
from my preliminary tests this seems to have caused Bug 422645
Depends on: 423083
verified with: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008031704 Minefield/3.0b5pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008031704 Minefield/3.0b5pre
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: