Closed Bug 456141 Opened 16 years ago Closed 14 years ago

Description in Bookmarks Menu Tooltips

Categories

(SeaMonkey :: Bookmarks & History, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 135962

People

(Reporter: skyalmian, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080913003128 SeaMonkey/2.0a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080913003128 SeaMonkey/2.0a1pre

Currently when hovering above a bookmark the name of the bookmark and the URL under it pops up as a tooltip. Feature suggestion, to add an about:config preference to have the Description of the bookmark placed after an empty line under the URL in the tooltip.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Version: unspecified → Trunk
Since I'd like to see the Descriptions pop up as a tooltip under the Bookmark Title and URL when hovering over one, going looking. My guess is any code for it belongs here. /attempting to trace the existing Bookmark Title and URL information to their sources to find description input.

[]
// Fill in tooltips for personal toolbar (and Bookmarks menu).
fillInBTTooltip: function (tipElement)
{
  // Don't show a tooltip for non bookmark related elements.
  if (!/bookmark/.test(tipElement.className))
    return false;

  var title = tipElement.label;
  var url = tipElement.statusText;

  // Don't show a tooltip without any data.
  if (!title && !url)
    return false;

  var tooltipElement = document.getElementById("btTitleText");
  tooltipElement.hidden = !title || (title == url);
  if (!tooltipElement.hidden)
    tooltipElement.setAttribute("value", title);

  tooltipElement = document.getElementById("btUrlText");
  tooltipElement.hidden = !url;
  if (!tooltipElement.hidden)
    tooltipElement.setAttribute("value", url);

  // Show the tooltip.
  return true;
}
[/]
Whether this has any...validity is not for me to decide, and should be closed if none. That aside, given that tooltips already display both the Title of the bookmark and the accompanying URL, could the Description (if found) be added beneath the URL as well? I'm aware that people don't tend to set descriptions, but may be inclined to if they didn't need the Bookmarks Manager to see the notes they store for pages and the like. Or something.

The "about:config" part mentioned in the beginning is rescinded.
Component: Bookmarks & History → UI Design
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: UI Design → Bookmarks & History
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.