After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348350 - Switch to Tango-style icons and Icon Naming Standard named icons
Switch to Tango-style icons and Icon Naming Standard named icons
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
git master
Other All
: Normal normal
: gnome-2-22
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 499429 (view as bug list)
Depends on: 346243 348389 348394 348399 348402 348415 402423 450904
Blocks: 322185
 
 
Reported: 2006-07-22 17:45 UTC by Luca Ferretti
Modified: 2008-06-30 18:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
A first path to use currently available icons in gnome-icon-theme (2.62 KB, patch)
2006-07-23 08:25 UTC, Luca Ferretti
committed Details | Review
Popup hidden icon (466 bytes, image/png)
2006-08-26 16:57 UTC, Michael Monreal
  Details
A preview of popup-hidden and download icons I'm going to commit (20.77 KB, image/png)
2006-10-27 14:25 UTC, Luca Ferretti
  Details
Proposed icon for bookmarks (43.35 KB, image/svg+xml)
2006-12-08 15:38 UTC, Luca Ferretti
  Details
bookmark view in 16x16 and 22x22 (4.22 KB, application/x-gzip)
2006-12-10 00:49 UTC, Andreas Nilsson
  Details
history view in 16x16 and 22x22 (6.01 KB, application/x-gzip)
2006-12-10 02:01 UTC, Andreas Nilsson
  Details
New history-view (11.71 KB, application/x-gzip)
2006-12-13 14:49 UTC, Andreas Nilsson
  Details
New bookmark-view icon (2.92 KB, application/x-gzip)
2006-12-13 15:57 UTC, Andreas Nilsson
  Details
The usage of STOCK_DRAG_MOCE (9.63 KB, image/png)
2006-12-14 10:50 UTC, Luca Ferretti
  Details
New location-entry icon (1.56 KB, application/x-gzip)
2006-12-14 11:03 UTC, Luca Ferretti
  Details
history-view in 32x32 and 48x48 (6.74 KB, application/x-gzip)
2006-12-14 12:26 UTC, Andreas Nilsson
  Details
bookmark-view in 32x32 and 48x48 (10.95 KB, application/x-gzip)
2006-12-14 13:17 UTC, Andreas Nilsson
  Details
The new themable Epiphany loves visually impaired people (22.36 KB, image/png)
2006-12-15 17:35 UTC, Luca Ferretti
  Details
bookmark-view for highcontrast (3.66 KB, image/svg+xml)
2006-12-16 00:35 UTC, Andreas Nilsson
  Details
Proposed custom icon for bookmarks toolitems (16 and 22 pixels) (3.69 KB, application/x-gzip)
2006-12-20 16:15 UTC, Luca Ferretti
  Details
Preview of new bookmark toolitems (46.82 KB, image/png)
2006-12-20 17:13 UTC, Luca Ferretti
  Details
Feed icons in 16x16, 22x22, 32x32 and 48x48 (7.55 KB, application/x-gzip)
2007-01-06 17:21 UTC, Andreas Nilsson
  Details
Ephy screenshot using feed icon from Andreas (59.91 KB, image/png)
2007-01-06 21:42 UTC, Luca Ferretti
  Details
Ephy screenshot using new security-* icons available in gnome-icon-theme (109.31 KB, image/png)
2007-05-31 08:59 UTC, Luca Ferretti
  Details

Description Luca Ferretti 2006-07-22 17:45:11 UTC
Please describe the problem:
This is a placeholder theme about new style for Epiphany icons. I'll put here all info or pixmap we could need to make Epiphany a Tango-ided application.

We have to:
  1. use named icons following Icon Naming Standard, both for icons yet available in gnome-icon-theme and for custom epiphany icons
  2. draw custom epiphany icons using Tango guidelines.

Steps to reproduce:
1. Choose Tango or the new GNOME icon theme in Theme preferences tool
2. Start Epiphany
3. Select View->Toolbars->Customize


Actual results:
Old sytle icons are mixed with new ones :-)

Expected results:
All icons should follow the Tango guidelines (now GNOME guidelines too)

Does this happen every time?
Yes, of course

Other information:
In the next days I'll spend some time searching in Epiphany sources for icon names, trying to identify icons we could fetch directly from Icon Naming Standard and custom icons we need to provide with epiphany.

Of course I'll add jimmac to this bug :-)
Comment 1 Luca Ferretti 2006-07-22 17:47:08 UTC
PS of course the first phrase should be "this is a placeholder bug ..."
Comment 2 Luca Ferretti 2006-07-23 08:15:28 UTC
Add jimmac in CC. I hope he could start draw new sexy icons.
Comment 3 Luca Ferretti 2006-07-23 08:21:49 UTC
OK, fist pass. All non GTK+ stock icons useb by Epiphany are defined in lib/ephy-stock-icons.[ch].

There are icons provided by Ephy itself:
  #define EPHY_STOCK_POPUPS	   "epiphany-popup-hidden"
  #define EPHY_STOCK_HISTORY       "epiphany-history"
  #define EPHY_STOCK_BOOKMARKS     "epiphany-bookmarks"
  #define EPHY_STOCK_ENTRY	   "epiphany-entry"
  #define EPHY_STOCK_DOWNLOAD	   "epiphany-download"

And icons grabbed from gnome-icon-theme:

  #define STOCK_NEW_TAB		   "stock_new-tab"
  #define STOCK_VIEW_SOURCE	   "stock_view-html-source"
  #define STOCK_SEND_MAIL          "stock_mail-send"
  #define STOCK_ADD_BOOKMARK	   "stock_add-bookmark"
  #define STOCK_BOOKMARK           "stock_bookmark"
  #define STOCK_PRINT_SETUP	   "stock_print-setup"
  #define STOCK_LOCK_INSECURE	   "stock_lock-open"
  #define STOCK_LOCK_SECURE	   "stock_lock"
  #define STOCK_LOCK_BROKEN	   "stock_lock-broken"
  #define STOCK_DRAG_MODE	   "stock_drag-mode"

There is also a "missing" stock icon, STOCK_NEW_WINDOW: by now the New Window menu and toolbar item is using an odd "document new" icon.
Comment 4 Luca Ferretti 2006-07-23 08:25:16 UTC
Created attachment 69407 [details] [review]
A first path to use currently available icons in gnome-icon-theme

* Add a new STOCK_NEW_WINDOW stock icon and use it for New Window item
* Use "tab-new", "bookmark-new" and "mail-forward". Those icons are available in both gnome-icon-theme and tango-icon-theme and are defined in Icon Naming Standard
Comment 5 Luca Ferretti 2006-07-23 08:32:28 UTC
Make depend on bug # 348389 ("Add document-page-setup icon")

The document-page-setup icon is the named icon as per new standard icon names spet to use in STOCK_PRINT_SETUP, replacing legacy "stock_print-setup".
Comment 6 Luca Ferretti 2006-07-23 08:36:56 UTC
Other relevant bugs outside gnome.org bugzilla:

* https://bugs.freedesktop.org/show_bug.cgi?id=5741
  This bug ask for mail-send in icon naming standard. Useful for STOCK_SEND_MAIL

* https://bugs.freedesktop.org/show_bug.cgi?id=7599
  This bug ask for security-secure, security-insercure and securiry-broken named
  icon in icon naiming standard. Useful for STOCK_LOCK*

* https://bugs.freedesktop.org/show_bug.cgi?id=7600
  The icon naming standard define "bookmark-new" named icon. Why not plain "bookmark" too?


  
Comment 7 Luca Ferretti 2006-07-23 08:53:48 UTC
And now a final note about custom Epiphany icons. We have 5 named icons to draw using new Tango style (Jakub?):

* "epiphany-history" 
  used in History menu and toolbar item. I think it should also the icon
  for History window.
* "epiphany-bookmarks"
  same as above for Bookmarks Manager
* "epiphany-download"
  Used in notification icon for download, it could/should be used alse as
  window icon for Download Manager dialog
* "epiphany-entry"
  Icon for the address entry toolbar item. Of course it's used in toolbar editor
  window
* "epiphany-popup-hidden"
  Used in epiphany status bar when there are hidden popups

history, bookmarks and download could be good candidates for inclusion in Icon Naming Standard, maybe as "history-manager", "bookmarks-manager" and "download-manager" named icons in Applications context.

By now I suggest to provide them in Epiphany, but changing their names in 
  1 "history-manager-epiphany"
  2 "bookmarks-manager-epiphany"
  3 "download-manager-epiphany"
  4 "address-entry-epiphany"
  5 "popup-hidden-epiphany"

Of course we should provide icons at 16x16, 22x22 ("scaled" to 24x24) and scalable svg. Icons should be installed under $prefix/share/hicolor/$size/$context where $context is:
  * apps for 1, 2 and 3
  * actions for 4
  * status for 5

Notes:
 - For info about context see Icon Naming Specification 
 - the -epiphany suffix should be the Good(TM) solution for custom icons. The icon naming spec says: <quote>The dash “-” character is used to separate levels of specificity in icon names[...]For instance, we use “input-mouse” as the  generic item for all mouse devices, and we use “input-mouse-usb” for a USB mouse device.</quote>
Comment 8 Luca Ferretti 2006-07-23 08:57:59 UTC
PS: using the "-epiphany" suffix we could provide named icons still not in icon naming spec, for istance all icons in comment 6.

PPS I forgot to speak about STOCK_VIEW_SOURCE and STOCK_DRAG_MODE. Do we really need them?
Comment 9 Luca Ferretti 2006-07-23 09:37:56 UTC
Add dependence on 348394 "Update stock_lock* icons to Tango style"

Waiting for new icons in Icon Naming Standard could be long.
Comment 10 Luca Ferretti 2006-07-23 10:53:57 UTC
Add dependence on

 * bug # 348399 "Tango and icon naming update for stock_fullscreen"
 * bug # 348402 "Add document-open named icon"
Comment 11 Luca Ferretti 2006-07-23 13:08:54 UTC
Add dependence on bug # 348415 "Missing list-add and list-remove"
Comment 12 Luca Ferretti 2006-07-25 16:56:08 UTC
-1 !

The Great Jimmac provided icons for view-fullscreen and view-restore (bug # 348399.

Christian, do you think I can commit patch in comment 4?
Comment 13 Christian Persch 2006-07-25 18:54:55 UTC
Sure. Thanks for the patch :)
Comment 14 Luca Ferretti 2006-07-26 12:44:45 UTC
Patch committed. Time to draw missing icons.
Comment 15 Michael Monreal 2006-08-26 16:57:47 UTC
Created attachment 71664 [details]
Popup hidden icon

Here's a popup hidden icon i've done some time ago to replace the one in my installation. Perhaps you can use it
Comment 16 Luca Ferretti 2006-10-26 08:23:56 UTC
(In reply to comment #15)
> 
> Here's a popup hidden icon i've done some time ago to replace the one in my
> installation. Perhaps you can use it
> 

Yeay, the idea is good, but IMHO there should be more red on emblem. I've a new version ready, using the emblem from mark-not-junk in gnome-icon-theme.
Comment 17 Luca Ferretti 2006-10-26 08:29:35 UTC
Christian, are you Ok if I will remove stuff from data/art/ directory, moving them on new data/icons/<size> directory and using something like the icons in GNOME Panel (see http://cvs.gnome.org/viewcvs/gnome-panel/icons/).

In short, icons will be installed under ${prefix}/share/icons/hicolor/<size>/app/ directories (see http://cvs.gnome.org/viewcvs/gnome-panel/icons/24x24/Makefile.am?rev=1.1&view=markup ) at multiple sizes as per icon theme request.
Comment 18 Luca Ferretti 2006-10-27 14:25:15 UTC
Created attachment 75507 [details]
A preview of popup-hidden and download icons I'm going to commit

From left to right: 16x16, 22x22, 48x48 (SVG) and 128x128 (SVG).

A little work is needed, to use the same green in download arrow and to match the "x" shape in popup-hidden. But the point is: do you like it?

PS Of course the 24x24 will be generated using 22x22 + 1x1 transparente border, 32x32 creating it from SVG and retouching in GIMP.
Comment 19 Diego Escalante Urrelo (not reading bugmail) 2006-11-30 09:55:16 UTC
Nice icons, updates about this bug?
Comment 20 Luca Ferretti 2006-12-04 16:07:42 UTC
(In reply to comment #19)
> Nice icons, updates about this bug?
> 

Download icons are on cvs, installed under $(prefix)/share/epiphany/icons/hicolor/<size>

More progress will come on this week (I hope).
Comment 21 Andreas Nilsson 2006-12-07 23:29:51 UTC
Luca: The icons looks great! Nice work!

Regarding download, isn't download the same as save-as if you really think about it? I know there were talks of doing document-save and document-save-as using similar metaphors to the download icon Luca drew, but nothing commited to gnome-icon-theme yet. That means one icon less to load.

I also think we have a history icon (history-view) in the GNOME subskin of the tango-firefox theme. I'll look it up.
Comment 22 Luca Ferretti 2006-12-08 11:06:27 UTC
(In reply to comment #21)
> Luca: The icons looks great! Nice work!

Thanks :-)

> Regarding download, isn't download the same as save-as if you really think
> about it? I know there were talks of doing document-save and document-save-as
> using similar metaphors to the download icon Luca drew, but nothing commited to
> gnome-icon-theme yet. That means one icon less to load.

Dunno. Please note that Epiphany is using a "download" icon
  * as window icon for the progress dialog
  * as notification area icon for the same dialog
  * as button icon in a dialog for unknow files
  * in context menu for links

Moreover the Icon Naming Spec defines a "emblem-downloads" named icon to use as emblem for downloads directory. 'cause the download action in Epiphany directly saves the link in this directroy, could be cool to use the same icon.

Maybe we could use "emblem-downloads" and "document-save*" and remove this custom icon from ephy sources...

> I also think we have a history icon (history-view) in the GNOME subskin of the
> tango-firefox theme. I'll look it up.

Great.
Comment 23 Luca Ferretti 2006-12-08 15:38:57 UTC
Created attachment 77969 [details]
Proposed icon for bookmarks

Just a 5 minutes hack, but what about somethink like this for bookmarks.

Oh, by the way, now I think proper named icon is "web-bookmarks" (as well as "web-history")
Comment 24 Andreas Nilsson 2006-12-10 00:49:30 UTC
Created attachment 78059 [details]
bookmark view in 16x16 and 22x22

Here is bookmark-view (my rough guess at what would do a proper name :)).
Matches the bookmark-new icon in gnome-icon-theme a bit better.
Comment 25 Andreas Nilsson 2006-12-10 02:01:22 UTC
Created attachment 78061 [details]
history view in 16x16 and 22x22

The ones in tango-firefox was apparently cc-by-sa, so I drew some new ones. Licensed as GPL.
Comment 26 Christian Persch 2006-12-10 18:21:18 UTC
@Andreas:
Thanks for the icons, they look good to me!

When checking this in, please add the .xcf files directly instead of as .xcf.bz2.

@Luca:

In the Makefile.am:s you added, you have these rules:

install-data-local: install-iconsDATA
        if  test -n "$(ICONMAP)" ; then \
                (cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context)) ; \
        fi

uninstall-am: uninstall-iconsDATA 

What are they used for? $(ICONMAP) isn't set anywhere, what program does that refer to? And shouldn't the uninstall rule be uninstall-local, not uninstall-am?
Comment 27 Rodney Dawes 2006-12-11 14:13:11 UTC
The rule is for using icon-naming-utils, which is meant for themes to use, not apps. So yeah, that rule doesn't belong in Epiphany. As far as uninstall-am goes, if you have an icons_DATA variable, automake automatically has an uninstall rule for it that gets called, so overriding automake and making it call the same rule, is redundant and can break other things.
Comment 28 Luca Ferretti 2006-12-11 17:03:31 UTC
@Christian and Rodney
Yes, I know; I simply cut-and-pasted rules, I know that should be changed. It was just to have an up and running setup, I didn't checked the exact purpose of rules.

@Andreas
 * history -> looks good to me, just could you use another color around the clock (the blue ring, "corona" in Italian language): there is yet a lot of blue in Ephy toolbar (see bug 348407). Maybe yellow/gold?

 * bookmarks -> dunno, IMHO the current bookmark-add icon is odd. What should the paper represent here? For me something like this [1] from the Amsterdam Blue[2] theme for Camino is better. Of course, not is blue :-) So, this "bookmarks-view" icons shouldn't have the paper on background. I'll open a bug for gnome-icon-theme about it. See also Camino default theme here[3].


[1] http://pimpmycamino.com/img/themes/Amsterdam%20Blue/add_to_bookmark.png
[2] http://pimpmycamino.com/parts/amsterdam-blue
[3] http://www.caminobrowser.org/images/screenshots/bm_manager.jpg
Comment 29 Luca Ferretti 2006-12-11 17:10:54 UTC
A little update about needed icons. Currently we have:

   #define STOCK_VIEW_SOURCE        "stock_view-html-source"

IMHO we should drop this legacy icon and switch to

   #define EPHY_STOCK_VIEW_SOURCE   "view-html-source"

Of course the "view-html-source" will be a custom Ephy named icon istalled under ${prefix}/share/epiphany/icons/<size>/actions/

Also, here are any other custom named icon we could install with Ephy and possibly use in plugins? For example "feed-available" or "ads-hidden"? Or we'll let plugins to install and use their own named icons?
Comment 30 Christian Persch 2006-12-11 17:58:14 UTC
If stock_view-html-source is deprecated, then yes we should use a new one.

Yes, those icons in e-e should be done too, but as long as they're only used in e-e they should live there.

I'll fix the Makefile.am rules.
Comment 31 Rodney Dawes 2006-12-11 18:46:59 UTC
It should probably be view-source-html, not view-html-source. HTML is more specific than source.
Comment 32 Andreas Nilsson 2006-12-13 14:49:01 UTC
Created attachment 78289 [details]
New history-view

Purple history-view, tried yellow, but it blended into the white too much.
Comment 33 Andreas Nilsson 2006-12-13 14:52:37 UTC
I don't see how the view-source icon would really help you in the menu there, it rather creates clutter. I could draw it if you _really_ wanted it though, OR I could fix you some HighContrast icons. :)
Comment 34 Luca Ferretti 2006-12-13 15:21:05 UTC
(In reply to comment #32)
> Created an attachment (id=78289) [edit]
> New history-view
> 
> Purple history-view, tried yellow, but it blended into the white too much.
> 

Commited. It's great!
Comment 35 Luca Ferretti 2006-12-13 15:27:40 UTC
(In reply to comment #33)
> I don't see how the view-source icon would really help you in the menu there,
> it rather creates clutter. 

Yeah, maybe remove it is the best solution. Christian?

If we don't want to draw another icon, we could use directly "text-html" (the MIME Type icon for HTML files).
Comment 36 Andreas Nilsson 2006-12-13 15:57:07 UTC
Created attachment 78292 [details]
New bookmark-view icon

Book approach similar to the one in Camino (and a bunch of other browsers)
Comment 37 Christian Persch 2006-12-13 19:33:17 UTC
Yes, I think we can remove the view-source icon from the menu.

Btw: were all those .png files in data/icons/*/* done as png, or derived from some other format? Because in that case, we need to add those sources to cvs and dist them. (I added the 2 .svg you added to dist already.)
Comment 38 Luca Ferretti 2006-12-14 08:39:42 UTC
(In reply to comment #37)
> Yes, I think we can remove the view-source icon from the menu.

Do we have to keep the STOCK_VIEW_SOURCE definition for API stabitily? Could be used by some extenstion?

> Btw: were all those .png files in data/icons/*/* done as png, or derived from
> some other format? Because in that case, we need to add those sources to cvs
> and dist them. (I added the 2 .svg you added to dist already.)
> 

Some sources are GIMP files (xcf.bz2), other sources are svg. All sources should be on cvs, maybe not yet in dist. I'll provide today.
Comment 39 Luca Ferretti 2006-12-14 09:32:47 UTC
(In reply to comment #36)
> New bookmark-view icon
> 
> Book approach similar to the one in Camino (and a bunch of other browsers)
> 

Commited!
Comment 40 Andreas Nilsson 2006-12-14 09:37:43 UTC
Any other icons left to draw, or can we close this one?
Comment 41 Luca Ferretti 2006-12-14 10:04:51 UTC
In Epiphany: 
  * We need 32x32 and 48x48-svg for bookmark-view and history-view
    (useful for LargePring a11y theme) in Epiphany.
  * Update "location-entry" and provide it at all sizes
  * I've to track STOCK_DRAG_MODE and STOCK_BOOKMARK stock icons
    (currently using deprecated "stock_drag-mode" and "stock_bookmark")
  * The Epiphany Bookmarks launcher in Application menu issue[1]

In Gnome-Icon-Theme
  * missing security icons [2]
  * missing print setup icons [2]


[1] Rodney suggested on theme list to remome the Epiphany Bookmarks entry from
    Application -> Internet menu "They are abstract concepts explicit to the   
    browser internals. I don't see why there should be separate entries for
    them in the system programs menu." See http://mail.gnome.org/archives/gnome-themes-list/2006-December/msg00004.html
    (PS I was proposing to add "bookmarks" and "history" named icons in  
    Applications category)

[2] see depends on
Comment 42 Luca Ferretti 2006-12-14 10:09:36 UTC
STOCK_DRAG_MODE
  lib/egg/egg-editable-toolbar.c:
  { "MoveToolItem", STOCK_DRAG_MODE, N_("_Move on Toolbar"), NULL,


STOCK_BOOKMARKS
  src/bookmarks/ephy-bookmark-action.c:
  pixbuf = gtk_widget_render_icon (proxy, STOCK_BOOKMARK,

  src/bookmarks/ephy-bookmark-properties.c:
  gtk_window_set_icon_name (window, STOCK_BOOKMARK);

Comment 43 Luca Ferretti 2006-12-14 10:25:22 UTC
There are also
  * "Related" toolbar item currently using the GTK_INDEX stock icon
  * "Quick Bookmark" and "Quick Topic" entries in toolbar editor currently
     using a plain + (add) icon.

For the fist we have to add a new custom named icon ("related-bookmarks"?) and a new EPHY_STOCK_RELATED stock item.
Comment 44 Luca Ferretti 2006-12-14 10:50:35 UTC
Created attachment 78350 [details]
The usage of STOCK_DRAG_MOCE

Maybe we could remove the proxy icon and use the same layout of panel applets' context menu:

  "list-remove"  Remove from Toolbar
  NULL           Move
Comment 45 Luca Ferretti 2006-12-14 11:03:08 UTC
Created attachment 78351 [details]
New location-entry icon

A simple merge of applications-internet named icon from gnome-icon-theme and entry icon from glade3
Comment 46 Andreas Nilsson 2006-12-14 12:26:27 UTC
Created attachment 78355 [details]
history-view in 32x32 and 48x48
Comment 47 Andreas Nilsson 2006-12-14 13:17:02 UTC
Created attachment 78358 [details]
bookmark-view in 32x32 and 48x48
Comment 48 Christian Persch 2006-12-14 13:30:47 UTC
(In reply to comment #38)
> (In reply to comment #37)
> > Yes, I think we can remove the view-source icon from the menu.
> 
> Do we have to keep the STOCK_VIEW_SOURCE definition for API stabitily? Could be
> used by some extenstion?

Extensions are versioned, we don't guarantee API/ABI. And if an extension used STOCK_VIEW_SOURCE it should be fixed the same way as epiphany itself.
Comment 49 Luca Ferretti 2006-12-14 14:59:39 UTC
Forgot to mention: the "popup-hidden" is installed in Status context, so you need latest hicolor-icon-theme (0.10 - grab from here[1]). This version of hicolor provides all contexts from Icon Naming Spec at all sizes; whithout this, "status" context is unknown, so the new cool icon can't be found.

I've asked on desktop devel list to update external deps [2], but nobody replied.

Can someone "lobby" this change?


[1] http://icon-theme.freedesktop.org/wiki/HicolorTheme
[2] http://live.gnome.org/TwoPointSeventeen/ExternalDependencies
Comment 50 Luca Ferretti 2006-12-15 17:35:44 UTC
Created attachment 78439 [details]
The new themable Epiphany loves visually impaired people
Comment 51 Christian Persch 2006-12-15 17:57:50 UTC
So we need high-constrast, low-contrast and lc/hc inverse icons too? Is there a way to (semi)automatically generate them from the normal ones?
Comment 52 Luca Ferretti 2006-12-15 20:28:41 UTC
(In reply to comment #51)
> So we need high-constrast, low-contrast and lc/hc inverse icons too?

Could be a good addition. HIG says applications should provide those icons. But don't care: by now all the works will be performed in gnome-themes. 

I'll provide Ephy icons for HC-SVG theme, HC inverse could be simply created switching black and white. Low contrast will be created fitering normal icons in GIMP or with ImageMagick.

See [1] for all details about accessible icons. 

> Is there a way to (semi)automatically generate them from the normal ones?
> 

It's not simple: there was some ideas on latest Boston Summit [2], but
  * HighConstrast icons need a complete redesign (more "signs" then icons):
    4 pixels whide borders, no unuseful stuff, no details..
  * LowContrast icons should be renderd on-the-fly by GTK+ - by now you
    can use GIMP as suggested in [1] or ImageMagick to create new image files,
    maybe gegl will help us


[1] http://developer.gnome.org/projects/gup/hig/draft_hig_new/icons-design-accessible.html
[2] http://live.gnome.org/AwesomeArtShit
Comment 53 Andreas Nilsson 2006-12-16 00:35:11 UTC
Created attachment 78455 [details]
bookmark-view for highcontrast

Here is the missing highcontrast icon for bookmark-view.
Comment 54 Andreas Nilsson 2006-12-16 00:40:46 UTC
Luca: You are free to ship everything with HC-SVG, I'm afraid the situation could go out of hands when you find yourself having every icon from all the apps on the planet in that library.

Agree with you about the stuff from AweSomeArtShit. The current approach for  making HC icons let you have most control of the outcome.
Comment 55 Luca Ferretti 2006-12-19 17:05:14 UTC
Status Update:
  * commited new "location-entry" icon set (waiting for a different solution
    to list non toolbuttons items in toolbar editor)
  * removed STOCK_VIEW_SOURCE definition
  * use NULL icon for MoveToolItem action, and invert order in menu to
    match the same feature of panel applets (context menu for toolitems)
  * removed STOCK_DRAG_MODE definition
Comment 56 Luca Ferretti 2006-12-19 17:31:26 UTC
== STOCK_BOOKMARK ==

This stock icon is currently using "stock_bookmark" as target. This icon is used:

  1. In bookmark edit/properties dialog
  2. In bookmarks toolitems on toolbar[1]

Functions are src/bookmarks/ephy-bookmark-properties.c:ephy_bookmark_properties_constructor and src/bookmarks/ephy-bookmark-action.c:ephy_bookmark_action_sync_icon  

In 1. we could replace it with a generic "document-properties" named icon.

In 2. we should remove the feature and show no icons when the bookmark has no favicon. 

IMHO the best is provide a new named icon (maybe "bookmark"? which context?) to use just like in the Camino screenshot I linked in a previous comment. Note that  without this we'll have some toolitems with an icon (the favicon) and other with only the text; this is bad IMHO, don't help the used to distringuish items.

Of course this "bookmark" icon should be used only in toolitems, and in Toolbar Editor for Quick Bookmark item, not in Bookmarks menu or Bookmarks editor.


Comments? Better ideas?


[1] when the bookmark has no favicon; moreover this feature seems broken on my 
    2.16 (edgy), but works on HEAD
Comment 57 Christian Persch 2006-12-19 18:08:40 UTC
I'd prefer to use a special icon in [1] that says you're editing a bmk, not just some general 'document': "bookmark-properties" instead of "document-properties" maybe.

I don't remember if the bookmarks-icon-on-toolbar was a concious decision or just a side-effect of some patch; I have to say it looks a bit nicer with the icons than without.

(Btw, it seems you accidentally inverted the order of RemoveToolbar and MoveToolbar in the UI file; I fixed that.)
Comment 58 Luca Ferretti 2006-12-19 21:31:06 UTC
(In reply to comment #57)
> I'd prefer to use a special icon in [1] that says you're editing a bmk, not
> just some general 'document': "bookmark-properties" instead of
> "document-properties" maybe.
> 
> I don't remember if the bookmarks-icon-on-toolbar was a concious decision or
> just a side-effect of some patch; I have to say it looks a bit nicer with the
> icons than without.

OK, so new app-specific icon for Epiphany. I agree.

BTW, the bookmark-icon-on-toolbar seems to work only if you add the bookmark through the Bookmarks window. Dragging a "Quick Bookmark" toolitem from toolbar editor, the toolitem has no icon. I've to open another bug or it's yet known?

> (Btw, it seems you accidentally inverted the order of RemoveToolbar and
> MoveToolbar in the UI file; I fixed that.)
> 

Honestly is was  intentionally (match the Remove/Move applet on panel layout) :-|
Comment 59 Christian Persch 2006-12-19 21:58:37 UTC
> I've to open another bug or it's yet known?

I don't think there's a bug open for it.

> > (Btw, it seems you accidentally inverted the order of RemoveToolbar and
> > MoveToolbar in the UI file; I fixed that.)
> > 
> Honestly is was  intentionally (match the Remove/Move applet on panel layout)
> :-|

Oh.

In that case, it's ok to commit it again, sorry :)
Comment 60 Luca Ferretti 2006-12-20 16:15:15 UTC
Created attachment 78696 [details]
Proposed custom icon for bookmarks toolitems (16 and 22 pixels)

Camino-style bookmark icon to use for STOCK_BOOKMARK.

'cause the icon will be used on toolbars and in bookmark properties dialog to identify a "location", I think that Places could be a good context and "web-bookmark" a good name.

Of course the stock item will be renamed as EPHY_STOCK_BOOKMARK to match other Ephyphany custom stock items names.

If it's OK, I'll commit changes (a screenshot will come).
Comment 61 Luca Ferretti 2006-12-20 17:13:18 UTC
Created attachment 78699 [details]
Preview of new bookmark toolitems
Comment 62 Jakub Steiner 2006-12-20 18:07:17 UTC
Great stuff happening here, but I find having every single bookmark item prefixed with the same icon counter-productive. Favicons are helpful, but this is just noise.
Comment 63 Diego Escalante Urrelo (not reading bugmail) 2006-12-25 09:07:47 UTC
Hot.
Comment 64 Reinout van Schouwen 2006-12-27 22:16:39 UTC
It appears that the 'Popup blocked' icon (shows up in the status bar when a popup is blocked) is missing in the latest epiphany release. Any thoughts?
Comment 65 Wouter Bolsterlee (uws) 2006-12-27 22:22:30 UTC
Confirming the issue Reinout experiences.
Comment 66 Wouter Bolsterlee (uws) 2006-12-27 22:32:27 UTC
The popup icon shows up fine with hicolor-icon-theme 0.10 (reinout has 0.9).
Comment 67 Luca Ferretti 2007-01-05 20:16:16 UTC
Just a reminder: http://www.feedicons.com/

While related to epiphany-extensions (see previous comments), I think Epiphany should use the common icon to identify feeds (common to FF end IE). 

See also
  * http://www.opmlicons.com/
  * http://shareicons.com/
Comment 68 Christian Persch 2007-01-05 20:24:22 UTC
That's not possible, see bug 324511 about the licence problem with those icons.
Comment 69 Rodney Dawes 2007-01-05 20:39:35 UTC
You would want the icon in the tango style anyway. You don't need to specifically use that icon, in order to have one representative of the metaphor in another style. There have been requests to put such an icon in gnome-icon-theme and/or tango-icon-theme, but it needs a reasonably good name for that to happen. Just calling it "feed" or "rss" won't do. It needs more context.
Comment 70 Andreas Nilsson 2007-01-06 17:21:27 UTC
Created attachment 79539 [details]
Feed icons in 16x16, 22x22, 32x32 and 48x48

Crappy naming, but here they are, tango-style and stuff.
Comment 71 Diego Escalante Urrelo (not reading bugmail) 2007-01-06 17:29:24 UTC
Pretty cool :).

Only thing I don't like is that there's some empty space in the top right corner, but it's because I'm used to the widespread feed icon I guess.

Comment 72 Andreas Nilsson 2007-01-06 17:42:05 UTC
Diego: Tried to make them look as close as possible to the ones on feedicons.com, but some weirdness might have sneaked in.
Comment 73 Andreas Nilsson 2007-01-06 21:38:25 UTC
what about the name feed-subscribe for the rss-icon?
Comment 74 Luca Ferretti 2007-01-06 21:40:56 UTC
** About feed icon **

I've a working patch ready, using images from Andreas. Everything is managed by "rss" extension, so:
  * the named icon will be installed in $prefix/share/epiphany-extensions/...
  * we need to add this directory to icon theme seach path only for rss ext.

The best place seems to me the ephy_rss_create_statusbar_icon() function in ephy-rss-extension.c, just before gtk_image_new_from_icon_name() call.

Also, IMHO the right Context/Name for this icon is Status/feed-presence (or feed-available?).

#### the patch ####

Index: extensions/rss/ephy-rss-extension.c
===================================================================
--- extensions/rss/ephy-rss-extension.c (revisione 1430)
+++ extensions/rss/ephy-rss-extension.c (copia locale)
@@ -69,7 +69,7 @@
        "stock_connect-to-url"          <-- Globe with a plug
        "stock_internet"                        <-- Simple globe
 */
-#define STOCK_ICON     "stock_hyperlink-toolbar"
+#define STOCK_ICON     "feed-presence"
 
 static void ephy_rss_display_cb        (GtkAction *action, 
                                         EphyWindow *window);
@@ -381,6 +381,9 @@
        data->evbox = gtk_event_box_new ();
        gtk_event_box_set_visible_window (GTK_EVENT_BOX (data->evbox), FALSE);
 
+       gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+                                          SHARE_DIR G_DIR_SEPARATOR_S "icons");
+
        icon = gtk_image_new_from_icon_name (STOCK_ICON, GTK_ICON_SIZE_MENU);
        gtk_container_add (GTK_CONTAINER (data->evbox), icon);
        gtk_widget_show (icon);

PS any other changes in epiphany-extensions are related to new files/directories.
Comment 75 Luca Ferretti 2007-01-06 21:42:53 UTC
Created attachment 79572 [details]
Ephy screenshot using feed icon from Andreas
Comment 76 Diego Escalante Urrelo (not reading bugmail) 2007-01-06 21:49:55 UTC
Absolutely sexy.
Comment 77 Christian Persch 2007-01-06 22:54:49 UTC
I think we don't have to append yet another icon path; installing the e-e icons into epiphany's directory is fine, IMHO.
Comment 78 Luca Ferretti 2007-01-08 13:42:28 UTC
(In reply to comment #77)
> I think we don't have to append yet another icon path; installing the e-e icons
> into epiphany's directory is fine, IMHO.
> 

Unfortunately we have to know that (full) path in order to install icons from epiphany-extensions. We can't simply grab $prefix in epiphany-extension and trust the hand-builded $(prefix)/share/epiphany/icons as installation path: see for example the Debian based systems, where this path becomes $(prefix)/share/epiphany-browser/icons :-(

To do this, I think we have to export $(pkgdatadir) (aka SHARE_DIR in Ephy source files) through the epiphany-version.pc file, then reuse it in epiphany-extension calling `pkg-config --variable=pkgdatadir epiphany-2.17` somewhere in configure.

If you think it's OK I can prepare, test and commit needed changes.

PS the RSS extension isn't in the list of default/common extensions to build. Is this OK?
Comment 79 Christian Persch 2007-01-08 14:00:02 UTC
I'd say that if distros choose to move files around that's their problem. But I'm ok with introducing a "icondir" = pkgdatadir/icons variable in the .pc file.

RSS isn't part of the default set yet, yes.
Comment 80 Luca Ferretti 2007-01-08 16:48:45 UTC
(In reply to comment #79)
> I'm ok with introducing a "icondir" = pkgdatadir/icons variable in the .pc
> file.

Is seems I'm unable to do this :-(

I tried a simple

  icondir=@pkgdatadir@/icons   (in epiphany.pc.in)

and a more complex

  icondir=@SHARE_ICONDIR@  (in epiphany.pc.in)
  +
  AC_DEFINE_UNQUOTED([SHARE_ICONDIR],                   (in configure.ac)
                     ["${pkgdatadir}/icons"],
                     [path to install custom themeable icons]) 


The first one remains therefore as it is (@pkgconfig@).

The second one remains as it is in .pc file (@SHARE_ICONDIR), while value for SHARE_ICONDIR variable in config is "/icons"

Any idea? Maybe ${pkgdatadir} is used only Makefiles?
Comment 81 Christian Persch 2007-01-08 18:32:14 UTC
@datadir@/@PACKAGE@ should work.
Comment 82 Luca Ferretti 2007-01-09 11:32:14 UTC
feed-presence icon in now on svn trunk :-)

(next step for ephy-extensions: adblock icon)
Comment 83 Diego Escalante Urrelo (not reading bugmail) 2007-01-18 01:33:59 UTC
From initial comment on #332968:

"Furthermore, if I click on an image because I want to save it, the icon used to
save the webpage and the one used to save the image are the same, which
sometimes led me to mistake and made me save a webpage when I wanted to save an
image."

Can we get a nice save-image icon or a save-webpage icon :)?
Comment 84 Rodney Dawes 2007-01-18 03:56:25 UTC
Why don't we just get rid of the save icons here? Or at least for the "Save Image As..." item. It's only in the context menu, not the toolbar. It really shouldn't have an icon. And to differentiate "image" and "web page" in a 16x16 icon, that also needs to say "save as" is a bit much for an icon.
Comment 85 Luca Ferretti 2007-01-18 12:46:42 UTC
Commited changes suggested from myself in comment 60 (EPHY_STOCK_BOOKMARKS and custom "bookmark-web" named icon). As you can see the icon name is changed, 'cause the generic part here is bookmark, not web (generic icon: "bookmark"; specific icons: "bookmark-web", "bookmark-filesystem",...)

@Jakub (comment 62): the bookmark icon will be used only if the bookmark don't provide a favicon, the posted screenshot was just a corner case. Now all bookmark buttons on toolbar have an icon: this is better, IMHO if you have "mixed" bookmarks on toolbar. Of course the new icons is not used in Bookmarks menu or window.
Comment 86 Luca Ferretti 2007-01-18 12:51:45 UTC
PS: of course due to bug 387920, sometimes the bookmark icons disappear from toolbar :-(
Comment 87 Luca Ferretti 2007-01-30 13:11:09 UTC
Are we sure that "bookmark-view" and "history-good" are proper names for icons? 

The first should at least be "bookmarks-view" (plural) and both are better in "open-*" form IMHO.

OK to change code and filenames before hard code freeze (March 5th)?
Comment 88 Rodney Dawes 2007-01-30 15:14:34 UTC
What is "history-good" anyway? Is there also a "history-bad" or "history-neutral"? That seems like a horrible name. And no, you shouldn't prepend the icon names with open-. Look at the spec for generic names. nothing is prepended with open-. And in this case, you aren't actually opening anything. You get a new view of data that's already available. You're not viewing the bookmarks either. Presumably the goal of the UI in question where the icon is used, is to manage/edit bookmarks, not view them.

Also, I would not try to specify what the bookmark is for by creating bookmark-web, etc... icons. At that point you end up just putting the "bookmark" bit on top of every type of file there is, and you dilute the metaphor. Bookmarks are bookmarks, whatever they are for, be it paperback, hardcover, or digital media.
Comment 89 Christian Persch 2007-03-12 12:25:23 UTC
Moving to 2.20 target due to feature and UI freeze for 2.18.
Comment 90 Luca Ferretti 2007-05-31 08:56:31 UTC
New security icons landed on gnome-icon-theme (trunk): security-medium and security-high. We could use them for secure and insecure sites, but I'm not so sure.

The trivial change is:
--- lib/ephy-stock-icons.h      (revisione 7059)
+++ lib/ephy-stock-icons.h      (copia locale)
@@ -37,8 +37,8 @@
 #define STOCK_PRINT_SETUP          "stock_print-setup" /*document-page-setup*/
-#define STOCK_LOCK_INSECURE        "stock_lock-open"
-#define STOCK_LOCK_SECURE          "stock_lock"
+#define STOCK_LOCK_INSECURE        "security-medium"
+#define STOCK_LOCK_SECURE          "security-high"
 #define STOCK_LOCK_BROKEN         "stock_lock-broken"

The result in next comment...
Comment 91 Luca Ferretti 2007-05-31 08:59:51 UTC
Created attachment 89092 [details]
Ephy screenshot using new security-* icons available in gnome-icon-theme

Please also note the Icon Naming Spec defines "security-low" (not yet available in g-i-t): are we sure that security-low will be good for broken status? Dunno.
Comment 92 Reinout van Schouwen 2007-05-31 09:32:28 UTC
Security-low is in practice the same as no security. 
Comment 93 Christian Persch 2007-05-31 10:42:05 UTC
Low is equivalent to none, but != broken, definitely.

Which versions of hicolor-icon-theme and g-i-t does this depend on, is the h-i-t version the approved external dependency version ?

So we've been telling users for years to look for the 'lock' icon, and now we're changing it to .... whatever that thing is ?
Comment 94 Jakub Steiner 2007-05-31 11:38:03 UTC
The security-high shield is not so clear at 16x16. Maybe we just make the shape typical shield in wood, silver, gold finish?
Comment 95 Reinout van Schouwen 2007-05-31 12:31:26 UTC
I agree with Christian. Changing the lock icon to a shield is a ridiculous idea. Even if we change our own documentation to explain it, every bank tells its customers to look for the yellow lock in the lower left, or otherwise not to trust the site they're visiting.
Comment 96 Luca Ferretti 2007-05-31 12:49:04 UTC
(In reply to comment #93)
> Low is equivalent to none, but != broken, definitely.

IMHO security-* icons should be:
  Icon             | Example
-------------------|----------------------------
  security-high    | well behaving https
  security-low     | https with outdated certs 
  security-none    | simple http
  security-broken  | recognized phishing site

or similar (for example, security-low could be named security-medium)

> Which versions of hicolor-icon-theme and g-i-t does this depend on, is the
> h-i-t version the approved external dependency version ?

h-i-t >= 0.10 for "status" category - external dep from GNOME 2.17
g-i-t trunk - it will be 2.20 

> So we've been telling users for years to look for the 'lock' icon, and now
> we're changing it to .... whatever that thing is ?

If we are going to made icons themeable we can't trust the shape and the metaphore (you should not put in the UI something like "To open your bookmarks click on the icon representing a gray book with an orange strip over it").

But, yes, I can't distinguish current security-high icon too. Jakub?
Comment 97 Luca Ferretti 2007-05-31 12:55:19 UTC
(In reply to comment #94)
> The security-high shield is not so clear at 16x16. Maybe we just make the shape
> typical shield in wood, silver, gold finish?
> 

*-low --> http://www.digital-street.com/img/tutorials/old-wooden-shield/25.png
*-medium  --> http://www3.sympatico.ca/tomkaczor/img/pics/tarst4.jpg
*-high  --> http://www.int-int.biz/acatalog/covert_vest_kevlar.jpg

:-D
Comment 98 Luca Ferretti 2007-05-31 12:57:45 UTC
(In reply to comment #95)
> I agree with Christian. Changing the lock icon to a shield is a ridiculous
> idea. Even if we change our own documentation to explain it, every bank tells
> its customers to look for the yellow lock in the lower left, or otherwise not
> to trust the site they're visiting.
> 

This could mean dump security-* icons defined in Icon Naming Spec and use new custom Ephy icons.

But we should also ask to icon themers to use the padlock metaphor for those icons, if themeable :-/
Comment 99 Luca Ferretti 2007-05-31 13:04:03 UTC
I forgot security-none: http://www.sandowmuseum.com/sandowfigleaf.gif

;-)
Comment 100 Diego Escalante Urrelo (not reading bugmail) 2007-05-31 18:57:15 UTC
I like the lock icon, it's  pretty much a standard as the orange feed icon for RSS.
Also the shield doesn't say much at first sight.

In any case, redraw the lock icons in tango style but keep them as lock icons.
Comment 101 Andreas Nilsson 2007-06-01 08:37:09 UTC
Apparently both safari and ie use the lock [1], so that would lean towards using that metaphor. A strange side behavior is that ephy shows a unlocked lock when I visit regular pages in the lower left corner. Why is this? 

Pro-shield argument would be that shields protects you from stuff, while locks just locks stuff up (and it is used for dialog-password already). But, familiarity  is quite important (especially for serious security related stuff like this).

1. http://mark5.co.uk/secbrowsepop.htm
Comment 102 Tuomas Kuosmanen 2007-06-01 09:55:46 UTC
Definitely lock. 

I think we need to include metaphors used for our icons, so that while it is technically possible to redo everything as small happy rubber ducks, any "freedesktop standard compliant" theme would have a commonly agreed metaphor for each icon. This should help documentation writers a lot too, as well as keeping consistency.
Comment 103 Christian Persch 2007-07-09 16:38:29 UTC
I copied the lock icons from g-i-t 2.16 to ephy svn.
Comment 104 Michael Monreal 2007-10-13 16:34:27 UTC
>> Changing the lock icon to a shield is a ridiculous idea.

The lock icon is perhaps the worst metaphor for security I have ever seen. Being used by lots of other apps doesn't mean it is the right way to do.

I asked my girlfried (who is not into computer tech very much, but uses the web etc) what the lock icon meant to her. I expected her to say "I don't know what it means" but instead she said it has to be something that is blocked or disabled.

For SSL, you could argue that unwanted access to your connection is "blocked or disabled", but a shield would still be more meaningful, as it stands for protection and that is what we want to tell the user.
Comment 105 Reinout van Schouwen 2007-10-14 22:30:11 UTC
It's not the fact that other apps are doing it this way. It's the fact that each and every company and institution with secure webpages is telling their clients to look for a lock icon to verify security. Until Epiphany has >50% of browser market share, we're not going to change that.
Comment 106 Rodney Dawes 2007-10-15 14:22:20 UTC
FWIW, those same people also tell their clients that they need to use IE 7, Netscape, Mozilla, Firefox, or Safari. They will never mention Epiphany. Claiming that no change regarding this can happen until Epiphany has >50% market share is just insane. Apple sure isn't waiting for Safari to get >50% market share to do anything interesting with it. Nor are Netscape or Mozilla, with their products. Also, because people tell their clients to look for a lock icon, it's also one of the most prominent aspect of phishing pages these days. A lot of companies also stick lock icons in their own pages. So either way, it's really a lose-lose situation for the people that don't have the understanding to validate the URL and other aspects of what they're looking at before continuing on to enter their password.

(In reply to comment #105)
> It's not the fact that other apps are doing it this way. It's the fact that
> each and every company and institution with secure webpages is telling their
> clients to look for a lock icon to verify security. Until Epiphany has >50% of
> browser market share, we're not going to change that.
> 

Comment 107 Christian Persch 2007-11-25 13:27:26 UTC
*** Bug 499429 has been marked as a duplicate of this bug. ***
Comment 108 Christian Persch 2008-06-30 18:27:35 UTC
This is done. Please open new bug(s) for any further tango issues.