Closed Bug 112347 Opened 23 years ago Closed 12 years ago

option to turn off icons in personal toolbar

Categories

(SeaMonkey :: Bookmarks & History, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: aha, Assigned: neil)

References

Details

(Whiteboard: [2012 Fall Equinox][Extension Fodder])

In personal toolbar are icons for every bookmark and bookmark folder. These
icons are eating a lot of space. I think, that is usefull for user to have
option turn off these icons (in personal toolbar will be just text of bookmarks).
Bug 108809 spinoff 
Status: UNCONFIRMED → NEW
Ever confirmed: true
especially the animated mozillanews-logo should be turned off...
mass reassign of pchen bookmark bugs to ben
Assignee: pchen → ben
Status: NEW → ASSIGNED
Target Milestone: --- → Future
This work be nice, they do eat an obscene amount of space. (16px icon+4px
padding)*17 bookmarks = 340 pixels I lose, where I could put useful bookmarks.
*** Bug 125140 has been marked as a duplicate of this bug. ***
Moreover, I'd like to be able to instead have the Personal Toolbar
selections act like buttons as with the Home and Bookmarks entries on the Toolbar.

Also, I'd like to be able to hide the name for bookmarks that have a favicon.
But that's less of a concern.

Here are some things that you can put in your <profile
directory>/chrome/userChrome.css file to accomplish some of the things described
in earlier comments.  I ignored the "don't show text if a favicon exists"
request because that's out of the build until it can be fixed. It's feasible,
but I can't test it until favicons in bookmarks come back.

Note that I tried (after a suggestion in IRC) to make it so folders/groups were
distinguished with characters (such as [folder] and <group>), but that cannot be
accomplished from CSS (the text is stored in an attribute, which cannot be
modified from CSS).

Since adding new prefs is generally being frowned upon by the UI developers, I
suspect this will be WONTFIXed given this workaround.  The details may
eventually find themselves into the Customizing Mozilla page (which explains
userChrome.css).

/* Kill all bookmark icons in the Personal Toolbar */
toolbarbutton.bookmark-item > .toolbarbutton-icon { display: none; }

/*** Alternatives:
 Select only bookmark folder icons
 .bookmark-item[type="menu"] > .toolbarbutton-icon { ... }

 Select only tab group icons
 .bookmark-item.bookmark-group > .toolbarbutton-icon { ... }

 Example: only kill icons on normal bookmarks
 .bookmark-item:not(.bookmark-group):not([type="menu"])
    > .toolbarbutton-icon { display: none; }
***/

/* Visual aids for no-icons operation */
/* Make tab group bookmarks italics and brown */
.bookmark-group > .toolbarbutton-text {
   font-style: italic;
   color: brown;
}

/* Make bookmark folders bold and navy blue */
.bookmark-item[type="menu"] > .toolbarbutton-text {
   font-weight: 900;
   color: #000090;
}
http://www.mozilla.org/unix/customizing.html has been updated with these methods
(and a few other icon-hiders).  Since this is ben's, I'll leave it to him to
handle as he wishes.
Thanks for coming up with those tweaks, Tim. Only one complaint. I turned off
icons for regular bookmarks in the menu and PT, but on the PT, now they're a
little close together, and hard to tell apart. (They were spaced a bit more in
4.x). Is there a CSS property to set the element spacing?
Better than element spacing is margin-left:4px.

BTW in NN4.79 is possible to turn-off icons on Personal Toolbars using
Preferences | Appearance | Show toolbars as | Text only. Bug 22056 'Show
toolbars as text/icons/both' is about way, how this was done in NN4.79 - Ben,
could you set correct dependency? 
Keywords: 4xp
This gets closer to the NS4 look-and-feel, though there are still problems.
Though perhaps this should be in another bug, I thought I'd put it here.

toolbarbutton.bookmark-item[disabled="true"],
toolbarbutton.bookmark-item:not([container="true"]):hover,
toolbarbutton.bookmark-item:not([container="true"]):hover:active,
toolbarbutton.bookmark-item[container="true"]:hover,
toolbarbutton.bookmark-item[container="true"]:hover:active {
  border-left: 1px solid transparent !important;
  border-right: 1px solid transparent !important;
  -moz-border-right-colors: ThreeDShadow !important;
  -moz-border-left-colors: ThreeDShadow !important;
} 

toolbarbutton.bookmark-item,
toolbarbutton.bookmark-item:not([container="true"]) {
  border-left: 1px solid transparent !important;
  border-right: 1px solid transparent !important;
}
Why is this bug open? I copied to user.js according to instructions form another
bug long ago and have had no PTB icons since.
Summary: RFE: option to turn off icons in personal toolbar → option to turn off icons in personal toolbar
*** Bug 210799 has been marked as a duplicate of this bug. ***
Bug 210799 considered it a bug that those icons do not vanish when toolbars are
set to show as text only. After all, this also is a toolbar. 
However, strictly observing this pref does not make sense because showing as
icons only would certainly be quite useless...
So I think this RFE is the way to go.
If one could assign icons to bookmarks instead of just depending on the
site-provided ones, it wouldn't necessarily be useless to show only icons (at
least at some levels of the toolbar, or for individual bookmark entries, even).
Assignee: bugs → p_ch
Status: ASSIGNED → NEW
QA Contact: claudius → seamonkey.bookmarks
Assignee: p_ch → neil.parkwaycc.co.uk
Product: Browser → Seamonkey
*** Bug 332937 has been marked as a duplicate of this bug. ***
Depends on: 418331
As solution via userChrome.css available, shouldn't this be closed as wontfix?
Whiteboard: [2012 Fall Equinox]
As well as userChrome.css there are several (Firefox extensions that do this). Closing as WONTFIX/Extension Fodder.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Whiteboard: [2012 Fall Equinox] → [2012 Fall Equinox][Extension Fodder]
You need to log in before you can comment on or make changes to this bug.