Bug 391889 - Reference icons form inherited icon packs as full paths
Summary: Reference icons form inherited icon packs as full paths
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 15:00 UTC by RaitaroH
Modified: 2022-11-26 07:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The icons missing from my dock (55.59 KB, image/png)
2018-03-15 15:00 UTC, RaitaroH
Details
The files from /home/raitaro/.local/share/applications (102.81 KB, image/png)
2018-03-15 15:10 UTC, RaitaroH
Details
Dolphin icons missing in krunner, though icon present in kedit (254.79 KB, image/png)
2018-03-15 15:15 UTC, RaitaroH
Details
Dolphin icons present in tthe menu (346.92 KB, image/png)
2018-03-15 15:19 UTC, RaitaroH
Details
After changing the icons for audacious and dolphin from the menu editor again (109.45 KB, image/png)
2018-03-15 15:31 UTC, RaitaroH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RaitaroH 2018-03-15 15:00:09 UTC
I have noticed that with the most recent batch of updates (I am on KDE Neon) some of my custom icons are being completely removed. They just show up blank.

Ok but looking at the dock you may say is a latte dock issue. No. It is an issue with the desktop files from ~/.local/share/applications/. You see, I am adding an inherit to the breeze icons, specifically `Inherits=la-capitain-dark,hicolor` this allows me to have the la-capitaine as a fallback. Unfortunately the updates for the breeze icons overwrite the change I have. Even more so, is that even trying to restart plasma after adding the inherit does not solve the problem... so I thik is an inherit problem with the editor itself. 

In the desktop files they are referenced by name, not by path. Example:
`Icon=waterfox`
Or as if I were to set it to the full path:
`Icon=/usr/share/icons/la-capitaine-dark/apps/scalable/waterfox.svg`

I have waterfox (which is from a binary) but custom profiles (waterfox -p profile) are fine (created through the menu), TOR (again binary), Dolphin (which I only changed it's icon, discord (deb install) have their icons removed.

I am not sure why this happens persay. Even in the .local/share/applications the files have no icons.
Comment 1 RaitaroH 2018-03-15 15:00:53 UTC
Created attachment 111416 [details]
The icons missing from my dock

This is not a latte-dock issue. This was also happening on my old panel I had too.
Comment 2 RaitaroH 2018-03-15 15:10:10 UTC
Created attachment 111417 [details]
The files from /home/raitaro/.local/share/applications

As you can see the files I created with the menu have no icon unless you are looking at logout, shutdown, restart, brigthside which have native kde icons. The rest do not so they are blank now.

Also audacious.desktop has the following icon:
`Icon=/home/raitaro/IconsThemes/la-capitaine-dark/apps/scalable/audacious.svg`
Even though in the menu it shows up changed, on the panel too and in the editor... it still is blank here, as a desktop file.


For example I changed the waterfox icon with the editor, same with firefox, waterfox, dolphin, discord... their icons got changed. Now I went in the files and added full paths.
Comment 3 RaitaroH 2018-03-15 15:15:59 UTC
Created attachment 111418 [details]
Dolphin icons missing in krunner, though icon present in kedit
Comment 4 RaitaroH 2018-03-15 15:19:10 UTC
Created attachment 111419 [details]
Dolphin icons present in tthe menu

So in the menu it shows up, in krunner it does not. Really no idea why.
Comment 5 RaitaroH 2018-03-15 15:31:34 UTC
Created attachment 111420 [details]
After changing the icons for audacious and dolphin from the menu editor again

Now those files have their icons set up... o.O

Now the Icon= reference just the icon name not the full path. I have no idea why that works here, but didn't for the other files.
Comment 6 Justin Zobel 2022-11-18 04:30:31 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 RaitaroH 2022-11-26 07:12:33 UTC
I think it has been resolved.