Bug 73335 - Unable to change icons of menu items
Summary: Unable to change icons of menu items
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 0.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 73540 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-23 16:42 UTC by Carsten Schlipf
Modified: 2008-11-03 09:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Schlipf 2004-01-23 16:42:45 UTC
Version:           0.5 (using KDE 3.2.0 RC1, compiled sources)
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:          Linux (i686) release 2.4.20-18.9

Since Beta 2 (currently using RC1) it's not possible to change the menu icon.

If I click on the icon button, select a icon and click on OK, the new icon is shown on the button, but not in the menu hierachy on the left. After clicking on a different menu item and then clicking again on the changed icon, it still shows the old icon.

Workaround: Create items with the editor, open the folder in Konqueror below ~/.kde/share/applnk, select properties from the context menu of the item and choose the icon you want.
Comment 1 Carsten Schlipf 2004-01-23 16:58:04 UTC
Oops... the icons are in ~/.local/share/applications and not longer in ~/.kde/share/applnk
Comment 2 Waldo Bastian 2004-01-24 19:04:17 UTC
Subject: kdebase/kmenuedit

CVS commit by waba: 

Fix BR73335: Unable to change icons of menu items
CCMAIL: 73335-done@bugs.kde.org


  M +1 -1      basictab.cpp   1.34


--- kdebase/kmenuedit/basictab.cpp  #1.33:1.34
@@ -99,5 +99,5 @@ BasicTab::BasicTab( QWidget *parent, con
     _iconButton = new KIconButton(general_group);
     _iconButton->setFixedSize(52,52);
-    connect(_iconButton, SIGNAL(clicked()), SLOT(slotChanged()));
+    connect(_iconButton, SIGNAL(iconChanged(QString)), SLOT(slotChanged()));
     grid->addMultiCellWidget(_iconButton, 0, 1, 2, 2);
 


Comment 3 Richard Fujimoto 2004-04-06 20:38:28 UTC
I'm experiencing this problem still with kdebase-3.2.1.  I'm trying to assign an icon to Mozilla Firefox but it won't stick.  In kmenuedit the changes are made and it edits ~/.local/share/applications/kde-mozilla-firefox.desktop successfully.

However, the actual menu appears to be read from ~/.kde/share/applnk.  I tried moving it but kmenu showed no signs of reading from .local/share/applications.

Can this bug be re-opened?
Comment 4 Waldo Bastian 2004-04-06 22:54:47 UTC
Richard: I'm pretty confident that your problem has a slightly different cause and that that has been fixed for KDE 3.2.2, KDE 3.2.2 will be out in about a week.

As a workaround you can move Mozilla to a different submenu, once you have done that I expect that changes will stick.
Comment 5 Richard Fujimoto 2004-04-07 06:45:07 UTC
Indeed, that fixed it!  Sorry for the false alarm :-)

Thanks for the reply, and I'm thrilled to hear about 3.2.2
Comment 6 Waldo Bastian 2004-05-04 11:26:28 UTC
*** Bug 73540 has been marked as a duplicate of this bug. ***
Comment 7 Timothy Murphy 2008-11-03 02:07:50 UTC
This bug - or a very similar one - still seems to be present
in KDE-4.2.1 .
I right-click on the f-button, and choose Menu Editor.
I click on New Item, and give a name.
Then as soon as I click on the "?" icon
the application crashes, with the error message:
-------------------------------
A Fatal Error Occurred
The application KDE Menu Editor (kmenuedit) crashed 
and caused the signal 11 (SIGSEGV).
-------------------------------
Comment 8 Carsten Schlipf 2008-11-03 09:05:19 UTC
Timothy, this old report refers to an early KDE 3.x version. KDE 4 is a different story. You should file a new bug report for your problem.