Summary: | Cannot change icon for panel button | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Mathew Hennessy <kdebugs> |
Component: | widget-misc | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andresbajotierra, asraniel, dpalacio, l.savernik, pier_andreit, prusselltechgroup, thijs22nospam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Icon settings dialog
icon shown in desktop folder icon on side panel isn't shown |
Description
Mathew Hennessy
2009-01-27 16:01:35 UTC
How your "Icon Settings dialog" looks like for that icon? Can you post an screenshot? Thanks Created attachment 30674 [details]
Icon settings dialog
When I attempt to right-click or otherwise interact with the icon, nothing happens.. And clicking on the wrench brings me to a MIME association page of some sort, which makes sense, but doesn't get me anywhere.. Interesting, clicking on the icon for a menu item I dragged to the panel (konsole) works properly when I click on its icon (popup of icon selector dialog), but still not with the shell script. konsole is of 'desktop configuration file' type, while the non-working icon is of 'shell script' type. Indeed, I think you can't change the icon for a shell script (you can't do that in Dolphin either) However, I can't drag a shell script into a panel; so I don't know how do you did it.. Anyways, It may be a bug as dragging a file to the panel would create a .desktop file for it (icon and description editable) How did that icon got there? Do you dragged it using a previous KDE version ? Thanks IIRC I dragged it down from a Konqi window. In KDE3 there was a kicker option to create non-KDE icons, which would presumably create kdesktop files for them in the right place automagically. This appears to be another useful bit forgotten in KDE4. Given that distros are going to start deprecating KDE3 (or leaving it out altogether) very soon now, these missing/forgotten KDE3 features are going to bite a lot of KDE veteran users like myself very hard in the butt. The workaround is to create a .desktop file(an application shortcut) for the script and dragging that file to the panel. You can alter the icon then. > Anyways, It may be a bug as dragging a file to the panel would create a > .desktop file for it (icon and description editable) See plasma-desktop-appletsrc for KDE 4.4 [Containments][10][Applets][159] geometry=87,1,25,25 immutability=1 plugin=icon zvalue=0 [Containments][10][Applets][159][Configuration] Url=file:///home/david/bin/dbgrab.sh No .desktop file created > How did that icon got there? Do you dragged it using a previous KDE version ? It works in 4.4. IMO, the icon widget needs more flexibility. Instead of altering .desktop data, it should override it in the widget configuration (then non desktop files are configurable as well). Created attachment 40094 [details]
icon shown in desktop folder
I have a similar problem, create a new link to URL in desktop folder, change its icon, drag it and drop on the side panel, in the side panel the icon isn't shown, if I ask properties in both cases the icon in the dialog is shown. I have a similar problem, create new link to URL (smb://111.222.333.444) on the desktop folder, change its icon, drag it in the side panel, in the side panel appear without the assigned icon, if I ask properties in both cases appear with the propper icon but the icon isn't shown in the side panel. Created attachment 40095 [details]
icon on side panel isn't shown
I have a similar problem in that I *can not* change the icon for a link on a panel. I did find a solution. Steps to recreate: 1. Open Dolphin 2. Right-click -> Create New -> Link to Location (URL)... 3. In the dialog, add a name and browse to directory. Click OK. 4. Right click this new link -> Properties 5. Click the icon button. Click "Other icons:" and browse to icon location. Select icon. All looks good, until... 6. Right click and drag this link to an existing panel. The icon is *gone*. It is some sort of gray gear (default perhaps). 7. Right click the icon on the panel -> Icon Settings. The icon I selected is *there*. Just to make sure I repeat step 5. The icon settings look okay, but when I click OK, the icon on the panel doesn't change. If I were to add a Folder View Widget and point it to the same directory as used in Dolphin above, I would see the correct icon. It is when I drag this exact same link to a panel that the icon changes to a "default?" gray gear. Environment: kdebase4 = v4.3.5 dist = opensuse 11.2 I found a solution. The above process does not add ".desktop" to the file. If I simple went to the directory and renamed the file to add ".desktop" it worked. *** Bug 216826 has been marked as a duplicate of this bug. *** *** Bug 262740 has been marked as a duplicate of this bug. *** Still a bug in 4.8b1, also when putting icon on desktop instead of in panel. i actually fixed this just this morning :) |