Closed Bug 213163 Opened 21 years ago Closed 16 years ago

show bookmark URL over mouseover of bookmark toolbar item in status bar

Categories

(Firefox :: Bookmarks & History, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 3 beta4

People

(Reporter: bugzilla+bz, Assigned: dev)

References

Details

Attachments

(3 files, 8 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a cdn) Gecko/20030718 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a cdn) Gecko/20030718 Mozilla Firebird/0.6

Mozilla Firebird implementation of bug 23460 : Bookmarks URL should show in
status bar at mouseover of menuitem

Reproducible: Always

Steps to Reproduce:
1. Move mouse over a bookmark on the Personal toolbar
2.
3.

Actual Results:  
see Status text does not change to URI of bookmark

Expected Results:  
URI of bookmark shown in statusbar
Confirming, patch looks good.
Status: UNCONFIRMED → NEW
Ever confirmed: true
taking QA contact, sorry about the bugspam
QA Contact: asa → mconnor
I saw this fixed in Bonsai about weeks ago but finally got a build. Mr QA please
verify since this should've been marked a while ago and I don't understand why
it's not marked.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
thanks, I saw this fixed, but in my little "clean up after hyatt" rounds I
missed some :)
Status: RESOLVED → VERIFIED
did Bonsai report that 

mozilla/browser/base/content/browser.xul or
mozilla/browser/components/bookmarks/content/bookmarksMenu.js had been altered ?

afaict this particular bug hasn't been touched

those checkins must have been for Seamonkey
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment on attachment 128069 [details] [diff] [review]
Patch for browser.xul / bookmarksMenu.js to show URI of bookmarks in statusbar

browser.xul change in bookmarksMenu.js change not in afaict
Attachment #128069 - Attachment is obsolete: true
Attached patch patch for bookmarksMenu.js (obsolete) — Splinter Review
Okay, I see, you want all mouseovers of bookmarks in any menu to do this.  Hyatt
intended only for bookmarks in the Bookmarks menu to have this, which is what he
implemented.  The BTF bookmarks do not trigger the statusbar change.

Reopening for now.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
hyatt has a time machine ?

as for on other menuitems, I'm not sure

I missed the other implementation, only tried after you pointed it out

haven't followed bonsai for a bit, just been blindly building dailies
is comment 10 the only thing left for this bug?
Summary: Mozilla Firebird : Bookmarks URL should show in status bar at mouseover of menuitem → show bookmark URL over mouseover of bookmark toolbar item in status bar
This should also apply to bookmarks inside folders on the bookmarks toolbar.
*** Bug 237451 has been marked as a duplicate of this bug. ***
Flags: blocking0.9?
not a 0.9 blocker, plussing for 1.0 to get on review radar
Flags: blocking1.0+
Flags: blocking0.9?
Flags: blocking0.9-
Bug 239429 is this bug's cousin in the Bookmarks sidebar
Following Hyatt's example, I created a fix that uses XUL/XBL. This extends
statusbar support to toolbarbuttons. This could be used to enhance the back and
forward button and their submenus so that they'd show the URL in the statusbar
(bug 88541 for Mozilla--is there one for Firefox?) much like the Go menu.

This was patched against the files in the chrome jars for Firefox 0.9. I
believe toolbarbutton.xml has a different location in the source tree.
Attachment #130654 - Attachment is obsolete: true
Attachment #152062 - Attachment is obsolete: true
Thanks, Chris. The patch in comment #19 looks to be the right files and the same
changes as my original patch. What's next? Who can review this?
-> vlad. There's a patch in here.
Assignee: p_ch → vladimir
Status: REOPENED → NEW
p4 priority - not a blocker. if a fully reviewed patch materializes, please
nominate for aviary approval. 
Flags: blocking-aviary1.0+ → blocking-aviary1.0-
*** Bug 265297 has been marked as a duplicate of this bug. ***
Patch needs update because of recent Livemarks changes. I've applied it manually
to FF PR, and it works as expected.
*** Bug 268409 has been marked as a duplicate of this bug. ***
Assignee: vladimir → vladimir+bm
May be woolly
Attachment #152063 - Attachment is obsolete: true
(In reply to comment #26)
> Created an attachment (id=167774) [edit]
> Update of attachment 152063 [details] [diff] [review] [edit] - takes Livemarks into account
> 
> May be woolly

Great job again! The patch applies to FF 1.0 with no problems. Can you set
review flag on the patch, so the patch can be reviewed and checked in?
Attachment #167774 - Flags: review?(vladimir+bm)
Flags: blocking-aviary1.1+
Flags: blocking-aviary1.1+ → blocking-aviary1.1?
As of today (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050523
Firefox/1.0+), the urls for bookmarks (top-level as well as bookmarks contained
in a folder, or sub-folder, etc.) are still not shown in the 'status bar'. At
least on arch: PC, OS: Linux.

Neither does the feature as mentioned in comment #17.
(In reply to comment #28)
> As of today (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050523
> Firefox/1.0+), the urls for bookmarks (top-level as well as bookmarks contained
> in a folder, or sub-folder, etc.) are still not shown in the 'status bar'. At
> least on arch: PC, OS: Linux.

hm, odd: using 2005052311-trunk (deer park alpha 1) on linux fc3 (gnome), I see
the urls for bookmarks in the bookmarks main menu (both toplevel and children of
bookmark folders).

however, I don't see the urls of bookmarks in either the bookmarks toolbar or
the bookmarks sidebar, when I do a mouseover.
(In reply to comment #29)

> hm, odd: using 2005052311-trunk (deer park alpha 1) on linux fc3 (gnome), I see
> the urls for bookmarks in the bookmarks main menu (both toplevel and children of
> bookmark folders).
> 
> however, I don't see the urls of bookmarks in either the bookmarks toolbar or
> the bookmarks sidebar, when I do a mouseover.

Yes, that's exactly what I am talking about. URLs are not desplayed in the
'status bar' when hovering over bookmarks in the 'bookmarks toolbar'.

This is with a trunk checkout from about 5 hours ago.
Sairuh, this was established a long time ago.  Hyatt implemented for the menu
only, and never got the other bits done. :-/
Ok, I should have a patch ready by the end of the week (say, monday evening,
just for the case...).
(In reply to comment #32)

> Ok, I should have a patch ready by the end of the week (say, monday evening,
> just for the case...).

So, I already start talking to myself...

Sorry for the delay, but <rant>why is there no possibility to add multiple
bindings independent of each other?? It's simply a pain in the ass to always
track back every possible binding chain, and then insert the new binding into
this hierarchy. But even worse, this prevents code reuse, and renders binding
hierarchies basicly unreadable. It is simply not possible to add any orthogonal
functionality, which does not have to be linked into the existing binding
hierarchy. Of course I see the issues of multiple inheritance, but this could be
solved by linking the additional bindings transparently into the hierarchy. And
don't tell me this is what document.addBinding is for. This little bitch simply
crashes when called (ah, who said bug
https://bugzilla.mozilla.org/show_bug.cgi?id=51261 was fixed??)!</rant>

Now, I first have to workaround this bug, maybe by adding events manually. If
someone could point out a better way to add a binding, please speak up.
Depends on: 296375
if 296375 materialized in time to get a low-risk patch before beta, we can take
a look, but this isn't a blocker.
Flags: blocking-aviary1.1? → blocking-aviary1.1-
BTW: Take a look at your review request again, it says "(BM, do not Cc or
Request) ", so you won't get any review from vlad this way (try requesting
review from :vlad).
*** Bug 312796 has been marked as a duplicate of this bug. ***
Assignee: vladimir+bm → nobody
Flags: blocking-firefox2?
Not a blocker, this is a small polish fix at best.
Flags: blocking-firefox2? → blocking-firefox2-
Comment on attachment 167774 [details] [diff] [review]
Update of attachment 152063 [details] [diff] [review] - takes Livemarks into account

this patch is no longer applicable (needs to be written against Places)
Attachment #167774 - Attachment is obsolete: true
Attachment #167774 - Flags: review?(vladimir+bm)
I've updated the previous patch against MOZILLA_1_8_BRANCH. There is still time for it to make into FF2.0.
Attachment #227674 - Flags: review?(mconnor)
This is an updated patch for FF2. It has a minimal regression risk and addresses an annoying usability issue. Please consider before FF final ships out.
Attachment #227674 - Attachment is obsolete: true
Attachment #234523 - Flags: review?(gavin.sharp)
Attachment #227674 - Flags: review?(mconnor)
QA Contact: mconnor → bookmarks
Comment on attachment 234523 [details] [diff] [review]
Updated patch against latest MOZILLA_1_8_BRANCH only.

I can't review this - you likely want to ask "mconnor@moz" or "bugs.mano@".
Attachment #234523 - Flags: review?(gavin.sharp)
Attachment #234523 - Flags: review?(bugs.mano)
Comment on attachment 234523 [details] [diff] [review]
Updated patch against latest MOZILLA_1_8_BRANCH only.

We shouldn't change the  toolbarbutton binding in order to implement something like this (there are statusbar utils in browser.js, setOverLink in particular). Also, considering the way this is implemented, the statustext might be overwritten while you've hovering an item.

Using setOverLink should address these issues.
Attachment #234523 - Flags: review?(bugs.mano) → review-
Flags: blocking-firefox3?
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [wanted-firefox3]
Flags: wanted-firefox3+
Whiteboard: [wanted-firefox3]
Attached patch patch (obsolete) — Splinter Review
Please note: The patch will not show the URI of a menuitem due to a different bug. Will open a followup.
Attachment #294510 - Flags: review?(dietrich)
Attachment #294510 - Attachment filename: 213613.diff → 213163.diff
Comment on attachment 294510 [details] [diff] [review]
patch

>Index: browser/components/places/content/toolbar.xml
>===================================================================
>RCS file: /cvsroot/mozilla/browser/components/places/content/toolbar.xml,v
>retrieving revision 1.112
>diff -u -p -8 -r1.112 toolbar.xml
>--- browser/components/places/content/toolbar.xml	14 Dec 2007 21:10:38 -0000	1.112
>+++ browser/components/places/content/toolbar.xml	25 Dec 2007 01:37:03 -0000
>@@ -992,16 +992,27 @@
>             parent = parent.parentNode;
>           }
>           return false;
>         ]]></body>
>       </method>
>     </implementation>
> 
>     <handlers>
>+      <handler event="mouseover"><![CDATA[
>+        var button = event.target;
>+        if (button.parentNode == this && button.node &&
>+            PlacesUtils.nodeIsURI(button.node))
>+          window.XULBrowserWindow.setOverLink(event.target.node.uri, null);
>+        else
>+          window.XULBrowserWindow.setOverLink("", null);

I think the mouseout handler covers the else case.

r=mano with that removed..
Attachment #294510 - Flags: review?(dietrich) → review+
Attached patch v1.2 (obsolete) — Splinter Review
Thanks for the review, Mano!

Same deal, no {else}. 
r=mano.
Attachment #294510 - Attachment is obsolete: true
Attachment #301586 - Flags: approval1.9?
Attachment #301586 - Flags: approval1.9? → approval1.9+
Attached patch For checkinSplinter Review
Attachment #301586 - Attachment is obsolete: true
mozilla/browser/components/places/content/toolbar.xml 1.120
Assignee: nobody → dev
Target Milestone: --- → Firefox 3 beta4
Status: NEW → RESOLVED
Closed: 21 years ago16 years ago
Resolution: --- → FIXED
I think that "Home" button URL should be shown too, but now I see "Done" in status bar when mouse over Home bookmark.
It's fixed for items directly on the bookmarks toolbar, but items within sub-folders (inc. Smart Bookmarks and feeds) still do not give status bar feedback.
I'm assuming this is what the note in comment #43 is referring to (as it almost certainly is), but, as it's not completely clear, I'll say it anyway.
William:  Yea, that's gonna be Bug 409748.
So the URL now displays in the bookmarks menu and bookmarks toolbar.
Are you going to implement this for the bookmarks sidebar as well (bug 239429)?
Actually, it only shows the URL for the bookmarks toolbar, not menu.  Maybe we should open a follow-up bug for the bookmarks menu.
Opened a follow-up bug regarding both the bookmarks menu, and the toolbars chevron.  Bug 417938.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: