Bug 351819 - Changing Icon on created entry has no effect.
Summary: Changing Icon on created entry has no effect.
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 18:34 UTC by Chris Taylor
Modified: 2020-11-15 18:11 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Taylor 2015-08-26 18:34:05 UTC
I created an entry for a program, and after assigning an icon I now realize I can't change it.
Kubuntu 15.04

Reproducible: Always
Comment 1 Christoph Feck 2015-09-03 10:44:07 UTC
Is this different from bug 351663 you reported?
Comment 2 Chris Taylor 2015-09-03 12:55:39 UTC
yes, although this got fixed after a log off and log back in. I remember though that in KDE4 the change was immediate.
Comment 3 Paul Lemmons 2015-09-03 23:05:31 UTC
I am going to piggyback on this issue because I *think* what I am seeing is the same thing. If not, please let me know.

I have numerous applications that have no Icons in the menu. For example Eclipse and Thunderbird to name two of many more. When I go to the menu editor (kmenuedit) I can see the correct icon in the selection list on the left but in the properties on the right the icon is blank. Selecting the blank icon to set it takes me to the icon selection. If I chose any icon from the "Other" category, it will update the .desktop file but the icon remains blank in both the editor and the menu. If I select an icon from the "System" Icons, it will update as expected in both.

I have gone so far as to create a fresh user and login with the new ID and even with a clean start, the problem persists. 

Chris, I am curious, if you assign an ICON from the System Icons to your application, does that work? If so, this may be the same issue.
Comment 4 MH 2015-12-05 16:01:39 UTC
I have similar problem with 5.4.3 version on OpenSUSE Leap 42.1.
When icon to the new submenu is added, it has no effect for menu - there is still some ugly default icon visible. Appropriate file is not changed in ~/.local/share/desktop-directories .
There is Icon=package forever.... in *.directory files.

Logout/Login does not help - of course.
Comment 5 John Carrick Smith 2016-03-09 15:21:34 UTC
I have the same problem as MH on Comment 4
Comment 6 Allen W. Jones 2016-06-24 20:39:51 UTC
kmenuedit version 5.5.5
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system

I've been able to change icons on some items, but not submenus. Kubuntu 16.04
Comment 7 Ralf 2016-11-03 11:58:34 UTC
I've a similar problem and solved it this way:

1. look for the application ".desktop" file, like ~myhome/.local/share
   /applications/myprogram.desktop

2. edit line starting with "Icon=", e.g. "Icon=/usr/share/pixmaps/myprogram.png"
   to "Icon=/usr/share/pixmaps/myprogram"

In short, I removed the extension ".png"

voila
Comment 8 Justin Zobel 2020-11-08 09:04:33 UTC
I've tested this on kmenuedit from git master and cannot reproduce any of the issues listed.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved, thanks.
Comment 9 John Carrick Smith 2020-11-08 17:53:42 UTC
I no longer have a problem.

John
Comment 10 Chris Taylor 2020-11-15 18:11:39 UTC
no longer happens