FS#62120 - [intellij-idea-community-edition] .desktop file uses PNG instead of SVG file as icon

Attached to Project: Community Packages
Opened by Volkan (volsa) - Saturday, 23 March 2019, 22:04 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 01 April 2019, 19:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Maxime Gauduin (Alucryd)
Levente Polyak (anthraxx)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The current .desktop file uses the PNG file located at /usr/share/idea/bin instead of the SVG file. As a side effect the icon looks quite blurry in the task switcher (GNOME 3). Funnily enough the locally generated .desktop file uses the SVG file which looks way sharper. Hence replacing the line "Icon=idea" with "Icon=/usr/share/idea/bin/idea.svg" seems to fix the issue. Any thoughts?
This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 01 April 2019, 19:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  2:2019.1-1
Comment by Balló György (City-busz) - Monday, 25 March 2019, 19:17 GMT
Having 'Icon=idea' in desktop file is correct, because it allows icon themes to overwrite the default icon.

It would better to copy the SVG icon into '/usr/share/icons/hicolor/scalable/apps/idea.svg', and it will be picked up.
Comment by Volkan (volsa) - Monday, 01 April 2019, 19:31 GMT
Seems like linking the SVG icon into '/usr/share/icons/hicolor/scalable/apps/idea.svg` fixed it, at least it's working perfectly fine with today's update. So thanks for updating the PKGBUILD!

Loading...