Version: (using KDE 4.1.3) OS: Linux Installed from: Ubuntu Packages I currently have 2 panels on my desktop, one at the top, one at the bottom. I use the top panel mainly for shortcuts to my most frequently used applications. For example, I have a shortcut for konsole, gedit and speedcrunch on my top panel. I frequently modify the .desktop files in my /usr/share/applications folder. If I modify the Icon path in a .desktop file for one of the shortcuts on my top panel then the icon is never updated. The application entry on my K menu is successfully updated with the new icon, but the icon on my panel never changes. The only way to get the icon on my panel to update is to right click on it, select "Icon Settings", and then click OK in the properties window. Steps to reproduce: 1. Add an application shortcut for Konsole to your panel 2. Open the konsole.desktop file in a text editor sudo gedit /usr/share/applications/kde4/konsole.desktop 3. Replace the "Icon=" line with the following: "Icon=/usr/share/icons/oxygen/32x32/apps/xedit.png" 4. Save and close the .desktop file 5. The application entry on your K menu will successfully update to the new icon, but the entry on your panel will remain the same. 6. Right click on the konsole icon on your panel 7. Click on 'Icon Settings' 8. You'll notice that the icon in the properties window is the correct one 9. Click OK in the properties window and the konsole icon on your panel will successfully update to the new icon. Expected Results: All of the panels need to be refreshed anytime a .desktop file is modified so that the correct icons will always be displayed.
Created attachment 28804 [details] screenshot of icon bug The attached screenshot was taken after I had edited the Icon= line in a .desktop file for one of the icons that appears on my top panel. As you can see the original icon (the red pen) is still displayed on the panel while the new icon (the red pen with a line through it) is correctly displayed in the properties window. The panel icon never updates to the new icon unless I click on "Icon Settings" and then click OK in the properties window.
I can confirm this too on r958058.
SVN commit 959591 by beatwolf: update icon when desktop file changes BUG:175954 M +17 -1 icon.cpp M +3 -0 icon.h WebSVN link: http://websvn.kde.org/?view=rev&revision=959591
Was this patch applied in KDE 4.3? I'm still experiencing the same bug with icons on the top panel in KDE 4.3. You can verify the bug with the following steps. 1. Install the togglehosts package from the following link. It's attached to the first post in the thread. http://ubuntuforums.org/showthread.php?t=996415 2. Add a panel to the top of your desktop. 3. Add an Application Launcher widget to the top panel. 4. Navigate to Applications > Internet 5. Right click on "Hosts: Enabled" and select "Add to panel". 6. Click the new icon that you just added to your top panel. 7. Enter your password when prompted. 8. The icon on the panel will stay the same but if you open the application launcher you'll notice that the icon has been changed.
did a quick test, i cannot reproduce the bug with the description in the first comment. I believe that the second bugreport might actually be a different bug (perhaps a copy of the desktop file i made? which then is not updated, you can check that if you logout and in again, if the icon changes, then it's the same bug, if not it's another.) If it is another bug (even though it has a similar outcome), please reopen a new bug. thank you