Closed Bug 401279 Opened 17 years ago Closed 17 years ago

Use stock icons for 'folder' icons in bookmarks menu

Categories

(Firefox :: Shell Integration, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 beta2

People

(Reporter: ht990332, Assigned: ventnor.bugzilla)

References

Details

Attachments

(3 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007102612 Firefox/3.0a9pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007102612 Firefox/3.0a9pre

This isn't a bug but rather a enhancement request. We already use the stock system gnome icons in the beautified ftp:// interface.
Check ftp://ftp.somesite.org or file:///home under gnome and you will see the stock gnome icons. This means the we have the infrastructure backend to use those icons.
The current folder icons in the bookmarks menu looks too much like windowsXP style icons.
If we can use the system icons under gnome (Linux), this would slightly increase the usability and aesthetics of Firefox under Linux.

Thanks you in advance for considering my enhancement request.

Reproducible: Always
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Component: Bookmarks → OS Integration
Depends on: 402742
Ever confirmed: true
Depends on: 399937
QA Contact: bookmarks → os.integration
Blocks: 233462
Attached file userChrome.css (deleted) —
This is what my userChrome.css looks like to have all folder icons use stock icons
Attached patch Patch (obsolete) (deleted) — Splinter Review
Assignee: nobody → ventnor.bugzilla
Status: NEW → ASSIGNED
Attachment #289567 - Flags: review?(gavin.sharp)
(In reply to comment #2)
> Created an attachment (id=289567) [details]
> Patch
> 

Patch works correctly in my builds. I have a comment though. It uses the same icon for closed and expanded folders. Does gnome icon theme provide expanded folder icons?
Patch needs to be reworked to apply to latest cvs. It doesn't apply anymore after bug 404475.
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=289567) [details] [details]
> > Patch
> > 
> 
> Patch works correctly in my builds. I have a comment though. It uses the same
> icon for closed and expanded folders. Does gnome icon theme provide expanded
> folder icons?

It does but we can't use it because GTK doesn't provide access to it. Limiting our use of stock icons to GTK's API ensures that every icon is available on any theme.
Attached patch Patch 2 (deleted) — Splinter Review
Attachment #289567 - Attachment is obsolete: true
Attachment #289567 - Flags: review?(gavin.sharp)
Attachment #289613 - Flags: review?(gavin.sharp)
patch 2 is working fine.
There's still the back/forward/home/print buttons in the help viewer. Is there a open bug for that?
Hussam: see bug 404530 for a very complete list of places were we plan to use GTK stock icons. There's also bug 405165, which is about adding (mostly stock) icons to the menus.

Michael: We (the tango project) have experimented with various styles for the personal bookmarks toolbar and agreed to not use folder icons for the containers here, but rather do it similar to OSX and the GNOME webbrowser:

# skip the image
# add a dropmarker on the right (hopefully a native GTK drop-arrow as seen in the list header)
# transform the menu into a gtk button

We also would like not to show the placeholder (white sheet) for bookmarks that don't have a favicon, as we feel that those just clutter the interface.

I'll attach a CSS with out current changes. Feel free to patch something like this in for this bug, but I can also file a separate bug.
Sorry, that should have been .css instead of .cs
Comment on attachment 290087 [details]
Personal toolbar/Bookmark changes

changed the filename: unclutter.cs -> unclutter.css
Attachment #290087 - Attachment filename: unclutter.cs → unclutter.css
Attachment #290087 - Attachment mime type: text/x-csharp → text/css
Attachment #289613 - Flags: review?(gavin.sharp) → review?(rflint)
Can you do the review anytime soon, Ryan?
Attachment #289613 - Flags: review?(rflint) → review+
mozilla/browser/themes/gnomestripe/browser/browser.css 	1.138
mozilla/browser/themes/gnomestripe/browser/places/organizer.css 	1.2
mozilla/browser/themes/gnomestripe/browser/places/places.css 	1.21 

a=mconnor as part of gnomestripe.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M10
Does that still work with 3.0b4 or trunk?
I've got the following report:
https://bugzilla.novell.com/show_bug.cgi?id=373173
which suggests that the folder icon is not taken from the Gtk theme.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: