Merge lp:~renatofilho/ubuntu-system-settings/symbolic-icon into lp:ubuntu-system-settings

Proposed by Renato Araujo Oliveira Filho
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~renatofilho/ubuntu-system-settings/symbolic-icon
Merge into: lp:ubuntu-system-settings
Diff against target: 29 lines (+6/-1)
2 files modified
CMakeLists.txt (+5/-1)
ubuntu-system-settings.desktop.in.in (+1/-0)
To merge this branch: bzr merge lp:~renatofilho/ubuntu-system-settings/symbolic-icon
Reviewer Review Type Date Requested Status
Matthew Paul Thomas (community) design Disapprove
Sebastien Bacher (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+254144@code.launchpad.net

Commit message

Added a symbolic icon to be used on messaging-menu.

Description of the change

Added a symbolic icon to be used on messaging-menu.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, do we have writen design guidelines about that? Also is it common to ship the icon with the software rather than with the theme?

review: Needs Information
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

> Thanks, do we have writen design guidelines about that? Also is it common to
> ship the icon with the software rather than with the theme?

Yes the original designer was to use the symbolic icon. But since some changes on application packaging (Trying to become a more self contained app "click-app") the icon got broken.

The idea is to have all apps as click app in the future (I am not sure if it still valid), in way to do that the app should ship his own icon. This app is already shipping the original icon but the symbolic icon was missing.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have a reference to the design/recommendation? I guess settings is not the only concerned and it would be good to have public guidelines...

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

I did not find any document about that. I remember to have one a long time ago when I was working on that but the designers that are working with me left canonical already;

What I can say is that: This was working before change the application name to the full icon path. You can confirm that by just using the icon name instead of the full path icon. It will "atomagically" find the symbolic icon and use that on the messaging menu (there is no need to explicitly specify the symbolic icon name when you use the only the icon name).
But as I said before this new property X-Ubuntu-SymbolicIcon was created to cover click app use case, and since system settings is using the full icon name it must specify the symbolic-icon-name.

And yes this is valid for all Apps that use the full icon name on desktop file.

Revision history for this message
Sebastien Bacher (seb128) wrote :

That new .desktop key seems buggy, we should just try to load <Icon>-symbolic and fallback if it's not available... the change looks fine to me otherwise, the current system seems bogus though (but maybe this merge proposal is not the place to discuss that)

Revision history for this message
Sebastien Bacher (seb128) wrote :

discussed with Ted on IRC, that seems suboptimal to me but seems like it's the way it is for format reasons, so let's say it's ok

review: Approve
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

There is nothing in the spec that says the icon should be different from normal; it just says "Application icon to identify where the message has come from". <http://goo.gl/KIrWzF> We couldn't reasonably expect every app that might appear in the Notifications list to package a symbolic version of its own icon. And even if they did, it wouldn't be a good idea, because it would be harder to distinguish apps in the list.

review: Disapprove (design)
Revision history for this message
Sebastien Bacher (seb128) wrote :

rejecting based on design feedback from mpt, see previous comment

Unmerged revisions

1358. By Renato Araujo Oliveira Filho

Added a symbolic icon to be used on messaging-menu.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-11-19 18:05:48 +0000
3+++ CMakeLists.txt 2015-03-25 19:25:45 +0000
4@@ -87,9 +87,13 @@
5 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE}
6 DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
7
8+set(APP_ICONS
9+ system-settings.png
10+ system-settings-symbolic.png
11+)
12 install(FILES ubuntu-system-settings.url-dispatcher DESTINATION share/url-dispatcher/urls)
13 install(FILES screenshot.png DESTINATION ${SETTINGS_SHARE_DIR})
14-install(FILES system-settings.png DESTINATION ${SETTINGS_SHARE_DIR})
15+install(FILES ${APP_ICONS} DESTINATION ${SETTINGS_SHARE_DIR})
16 install(PROGRAMS push-helper/software_updates_helper.py DESTINATION ${PUSH_HELPER_DIR} RENAME ubuntu-system-settings)
17
18 if(cmake_build_type_lower MATCHES coverage)
19
20=== added file 'system-settings-symbolic.png'
21Binary files system-settings-symbolic.png 1970-01-01 00:00:00 +0000 and system-settings-symbolic.png 2015-03-25 19:25:45 +0000 differ
22=== modified file 'ubuntu-system-settings.desktop.in.in'
23--- ubuntu-system-settings.desktop.in.in 2014-10-01 14:10:47 +0000
24+++ ubuntu-system-settings.desktop.in.in 2015-03-25 19:25:45 +0000
25@@ -14,3 +14,4 @@
26 X-Ubuntu-Single-Instance=true
27 X-Ubuntu-Default-Department-ID=accessories
28 X-Ubuntu-Splash-Show-Header=true
29+X-Ubuntu-SymbolicIcon=@SETTINGS_SHARE_DIR@/system-settings-symbolic.png

Subscribers

People subscribed via source and target branches