GNOME Bugzilla – Bug 260823
No icons for some categories.
Last modified: 2021-05-19 11:12:47 UTC
I am using evolution 1.5.12. There are no icons for some of the categories in evolution under which we can store calendar object and tasks. Those categories are: VIP, Competitions, Waiting These icons will help us to identify the different appointmaents, tasks. And also there is no provision for adding icons to the user creats some new category.
*** bug 266149 has been marked as a duplicate of this bug. ***
*** Bug 201078 has been marked as a duplicate of this bug. ***
Default missing are, as of today: { N_("Anniversary") }, { N_("Competition") }, { N_("VIP") }, { N_("Waiting") }, As soon as someone will draw such icons (and maybe give a new shiny look for those old), then yes, I'll be very happy to put them to the code. With respect of icon setup, users can add their own categories and assign them the icon. Thus I believe it works.
CC'ing Michael, maybe he'll find some time to polish those icons and create some new. Just note that the above are in evolution-data-server/art directory, but there are also hidden some in the evolution/plugins/calendar-weather for weather condition categories.
If anyone updates or adds category icons, please make them themeable.
- evolution/plugins/calendar-weather could use themed icons. The GNOME icon theme ships all required icons in gnome/16x16/status/weather-* [if I recall correctly there was a problem with using themed icons from plugins... is this (still) correct? If yes, maybe we can include the g-i-t icons in Evo for now?] - evolution-data-server/art ugh... I have seen the birthday icon, but never seen any of the rest. Are they all used for something? If yes, some explanation of how (+screenshot) would be great. For now, a quick review of the current metahphors: category_birthday_16.png -- fine category_business_16.png -- fine category_favorites_16.png -- fine category_gifts_16.png -- fine category_goals_16.png -- not sure if this really makes sense category_holiday_16.png -- fine category_holiday-cards_16.png -- does not work at 16x16. why have a cat for this anyway? category_hot-contacts_16.png -- this is just... wow. someone show me how this is being used :) fire does not really seem to fit and is against HIG anyway category_ideas_16.png -- fine category_international_16.png -- UN flag? category_key-customer_16.png -- we need something better here category_miscellaneous_16.png -- same here category_personal_16.png -- same here category_phonecalls_16.png -- fine category_status_16.png -- need something better category_strategies_16.png -- may work but could also mean "games" category_suppliers_16.png -- maybe category_time-and-expenses_16.png -- maybe Some of those are less then clear. Maybe we even want to reduce icon usage here?
(In reply to comment #6) > - evolution/plugins/calendar-weather could use themed icons. The GNOME icon > theme ships all required icons in gnome/16x16/status/weather-* > [if I recall correctly there was a problem with using themed icons from > plugins... is this (still) correct? If yes, maybe we can include the g-i-t > icons in Evo for now?] Recall any details about the problem? I'm not aware of one. > - evolution-data-server/art ugh... I have seen the birthday icon, but never > seen any of the rest. Are they all used for something? If yes, some explanation > of how (+screenshot) would be great. For now, a quick review of the current > metahphors: Contacts, calendar events, tasks and memos can be categorized. See the "Show" combo box in the main window, or try editing one of them (enable View->Categories in the editor if necessary). We ship an assortment of stock categories, and many have these cute little 16x16 icons. I need them to be themed in order to use them in GTK+ widgets that only deal with themed images. Right now I'm hacking around the problem by adding /usr/share/pixmaps/evolution-data-server to the icon theme's search path and relying on a legacy feature that lets GTK+ find them there.
(In reply to comment #7) > Recall any details about the problem? I'm not aware of one. Not really... however I just had a look at the calendar-weather plugin and it seems to be using the themed icons already? I cannot find those icons from plugins/calendar-weather/ used anywhere. Maybe they can just be removed? > Contacts, calendar events, tasks and memos can be categorized. See the "Show" > combo box in the main window, or try editing one of them (enable > View->Categories in the editor if necessary). We ship an assortment of stock > categories, and many have these cute little 16x16 icons. I was not aware of this... I have a few categories but I seem to be missing the stock categories but my .evolution has seen quite a few migrations etc, so maybe this broke at some point (could also explain why not many people have complained about this?). Any idea how to get the default categories back? > I need them to be themed in order to use them in GTK+ widgets that only > deal with themed images. We can just make the widget use themed icons and then install those icons to share/evolution/$version/icons/hicolor like all the other themed icons? Anyway, those icons are only required in 16x16 pixels, right?
(In reply to comment #8) > (In reply to comment #7) > > Recall any details about the problem? I'm not aware of one. > Not really... however I just had a look at the calendar-weather plugin and it > seems to be using the themed icons already? I cannot find those icons from > plugins/calendar-weather/ used anywhere. Maybe they can just be removed? Oh, good point, they are used only with older categories. Some migration code is supposed to go there, for sure. > Any idea how to get the default categories back? Try --force-shutdown evolution and remove your ~/.evolution/categories.xml file. The next start should fill it with default categories as of the version you'll run. > > I need them to be themed in order to use them in GTK+ widgets that only > > deal with themed images. > We can just make the widget use themed icons and then install those icons to > share/evolution/$version/icons/hicolor like all the other themed icons? No idea here, kept it for Matt. > Anyway, those icons are only required in 16x16 pixels, right? As far as I can tell yes. (In reply to comment #6) > Some of those are less then clear. Maybe we even want to reduce icon usage > here? Please no, let have all default category has its icon.
(In reply to comment #9) > Try --force-shutdown evolution and remove your ~/.evolution/categories.xml > file. The next start should fill it with default categories as of the version > you'll run. That worked however it also revealed a problem: <category a="Birthday" icon="/opt/gnome2.26/share/pixmaps/evolution-data-server/category_birthday_16.png" searchable="1"/> +1 for themable icons, hardcoding a path like this is bound to break.
(In reply to comment #9) > > We can just make the widget use themed icons and then install those icons to > > share/evolution/$version/icons/hicolor like all the other themed icons? > > No idea here, kept it for Matt. As far as you need to be concerned, yes. There will be some migration work here, since we unfortunately store the absolute icon paths for all categories (stock and custom) in categories.xml. But that's my problem.
Created attachment 139013 [details] screen shot just in case you are still interested. Note categories without icons and at the bottom how it looks within the event itself. (The bell icon is added because the event contains an alarm, the rest are category icons)
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.