! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session ships generic icons in wrong folders
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2015-05-17 14:11:44 CEST
Hi,

it seems that xfce4-session ships icons with generic names in system folders, which looks like a bad idea.

Those icons are also apparently at the wrong subfolder anyway:

/usr/share/icons/hicolor/scalable/apps/system-shutdown.svg
/usr/share/icons/hicolor/48x48/apps/system-log-out.png
/usr/share/icons/hicolor/48x48/apps/system-reboot.png
/usr/share/icons/hicolor/48x48/apps/system-hibernate.png
/usr/share/icons/hicolor/48x48/apps/system-shutdown.png
/usr/share/icons/hicolor/48x48/apps/system-suspend.png

Those apparently belong to actions/ but should they really be shipped in xfce4-session in those global folders?
Comment 1 Simon Steinbeiss editbugs 2015-06-05 01:56:53 CEST
Yeah, I agree that those are in the wrong folder/s, they should go in hicolor/*/actions/

Using generic icon names on the other hand makes sense, that's the best way to ensure that icon themes will be able to set those icons correctly without having to add DE specific symlinks (like xfsm-shutdown etc). I dunno whether there's another way of ensuring that those icons exist (as a backup if no other icon theme provides them) than installing it in hicolor, so that part - to me - seems okay.
Comment 2 Skunnyk editbugs 2019-04-29 13:55:07 CEST
Maybe we can fix this for 4.14 ?
Comment 3 Simon Steinbeiss editbugs 2019-04-29 20:38:52 CEST
Meanwhile (since 2015 :)) I have read more of the session code and will
1) move the icons to the actions folder and
2) will rename them to xfsm-*, because those are xfce-specific fallback icon names that session uses for the logout dialog.
Comment 4 Git Bot editbugs 2019-04-29 21:28:58 CEST
Simon Steinbeiss referenced this bugreport in commit 3b23006fda8cf9f24878b399e08d0df119daff64

Don't install generic icon names (Bug #11912)

https://git.xfce.org/xfce/xfce4-session/commit?id=3b23006fda8cf9f24878b399e08d0df119daff64

Bug #11912

Reported by:
Yves-Alexis Perez
Reported on: 2015-05-17
Last modified on: 2019-04-29

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
4.12.0

Attachments

Additional information