Closed Bug 355167 Opened 19 years ago Closed 19 years ago

Make bookmark item tooltips have title and url like bookmark buttons

Categories

(Camino Graveyard :: Bookmarks, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: froodian, Assigned: froodian)

Details

Attachments

(2 files)

Spawned from http://forums.mozillazine.org/viewtopic.php?t=470301: 1. Cmd-B 2. Hover over a bookmark Right now we have url description as the tooltip. It seems like having Title — url would be far more useful for most people, and would mimic the way we format tooltips for bookmark buttons and the back/forward toolbar buttons.
Attached patch PatchSplinter Review
This does what I described. One thing we should think about is what we want to do about tooltips for bookmark folders. Right now I just leave it how it is (title \n description) but we should either have it just be title or give the em-dash and make it properly localized.
Attachment #240989 - Flags: review?(hwaara)
This would also make the following string changes (pseudo-diff): - "BookmarkButtonTooltipFormat" = "%1$@\n—\n%2$@"; /* 1=title, 2=url */ - "BackButtonTooltipFormat" = "%1$@\n—\n%2$@"; /* 1=title, 2=url */ - "ForwardButtonTooltipFormat" = "%1$@\n—\n%2$@"; /* 1=title, 2=url */ + "TitleAndURLTooltipFormat" = "%1$@\n—\n%2$@"; /* 1=title, 2=url */
I don't think this is the right way to go; I think we should be fixing bug 315340 instead (it's not just about the location, it's about doing the expand-truncated-strings-in-place style tooltips; try hovering over something truncated in Finder column view, for example, to see what it's requesting).
So would it have separate tracking rects for URL and title columns (compounding the existing perf slowdown), or would you only be able to get tooltips for one or the other? What I like about this solution is that it keeps tracking rects down and provides URL and title information.
Attached image screenshot
Unless something went wrong on my side, but this is what I get after applying that patch (trunk build). The same happens to the tooltip for bookmarks on the bookmarkbar.
(In reply to comment #5) > Unless something went wrong on my side, but this is what I get after applying > that patch (trunk build). You missed the Localizable.strings change in comment 2 ;) (strings files are not diff-able)
(In reply to comment #6) > (In reply to comment #5) > > Unless something went wrong on my side, but this is what I get after applying > > that patch (trunk build). > You missed the Localizable.strings change in comment 2 ;) (strings files are > not diff-able) > Ah, that explains it. Will try again later.
Comment on attachment 240989 [details] [diff] [review] Patch I agree with Stuart here. I think we should truncate the items in these columns, and then show tooltips only when something is truncated. When the whole item is visible, a tooltip is not much useful anyway.
Attachment #240989 - Flags: review?(hwaara) → review-
Per the meeting, we're going to do bug 315340 instead.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: