kubuntu kde4 intrepid kickoff menu, items added to favorites dont keep correct icon, generic gear shown

Bug #254688 reported by thefish
112
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Fix Released
Medium
Harald Sitter

Bug Description

Kubuntu 8.10 up to date as of 16:00 4/aug/2008

What happens:
Browse kickoff menu to application, eg amarok.
Right-click app and choose add to favourites
Go back to favourites, app is show with gear icon

Expected behaviour:
New app in favourites should have associated icon show, not generic gear icon

Related branches

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Confirming in latest Intrepid.

Revision history for this message
Christophe Olinger (olingerc) wrote :

Still happening for me. Fully updated intrepid

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Icons added to Desktop from kickoff menu of some non-KDE applications are unusable, as like as firefox, synaptic...
I initially reported it in other bug report, but it was marked as duplicated of this.

Revision history for this message
Christophe Olinger (olingerc) wrote :

I agree with EagleScreen. Dragging icons from kickoff to the desktop or folderview is currently broken. Manually creating launchers works.

Changed in kdebase-workspace:
importance: Undecided → Low
Revision history for this message
Giovanni Cucca (spawnhcs-deactivatedaccount) wrote :

Same problem here adding Firefox to favourites on Intrepid.

Changed in kdebase-workspace:
importance: Low → Medium
milestone: none → ubuntu-8.10
status: Confirmed → Triaged
Revision history for this message
Eduard Wulff (mail-eduard-wulff) wrote :

Same problem here - non-KDE4 apps are the victims

Just tried quanta plus which is a KDE3 app.

Revision history for this message
Shriramana Sharma (jamadagni) wrote :

Both GTK applications as well as KDE 3 applications are victims. Tried Firefox and Amarok. Confirming non-KDE-4 diagnosis.

Revision history for this message
Dr. Asfak Motiwala (ghpibm) wrote :

I never had this problem until after recent update. Non-kde app has this problem. kde3 apps has no such problem . Uptil kubuntu alpha5 (or maybe alpha6) there was no such problem.

Revision history for this message
Dr. Asfak Motiwala (ghpibm) wrote :

On lancelot, this is no more bug. It's on Kicker as well as classic menu.

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote :

Well... no... still persist... when I try to add, for example, Firefox to favorites or the plasma panel, it shows only the gears icon. And wort, in the panel the desktop icon access is badly created, since it does not launch Firefox... it creates nothing...
In favorites, does work... but without icon.

Using Kubuntu intrepid beta latest.

Revision history for this message
wonko (oekj) wrote :

This is the situation for me:
kde4 apps (like kopete) it all works; dragging icon to desktop / panel, right-click -> add to desktop/ panel/ favourites
non-kde apps (like thunderbird) nothing works; all the above mentioned actions creates a 0 byte .desktop-file with a gear-icon, that opens kate (with an error message stating it can't read the file) when clicking it.
kde3 apps (like amarok) only favourites works; everything but "add to favourites" makes an empty file, like with non-kde apps, while "add to favourites" adds a gear icon to favourites that opens amarok when clicked.

Using kubuntu intrepid, beta with latest updates.

Revision history for this message
Olaf Lenz (olenz) wrote :

I have just slightly changed the description of the bug (favourites->favorites) - before I reported the bug, I had searched the database for quite a while, because I didn't believe that it hadn't been reported before, but apparently using the wrong keywords.
Using the US english spelling might help.

I have some information concerning the bug:

The problem seems to affect only applications that have their desktop files in the directory /usr/share/applications (like Firefox, Thunderbird, etc.), while apps that have a desktop file in /usr/share/applications/kde4 or /usr/share/applications/kde work fine.

I have watched
  .kde/share/config/plasma-appletsrc
and it seems, that the url given for the desktop files is broken. While for the working icons, the Url is
  Url=file:///usr/share/applications/kde4/ksysguard.desktop
for the inoperative icons it is
  Url=firefox.desktop

When I kill plasma, manually fix the entry in plasma-appletsrc, and restart plasma, the icons work.

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote : Re: [Bug 254688] Re: kubuntu kde4 intrepid kickoff menu, items added to favorites dont keep correct icon, generic gear shown

I can confirm this as the exactly Behavior I am Having with latest Kubuntu
Beta.

2008/10/10 Olaf Lenz <email address hidden>

> I have just slightly changed the description of the bug
> (favourites->favorites) - before I reported the bug, I had searched the
> database for quite a while, because I didn't believe that it hadn't been
> reported before, but apparently using the wrong keywords.
> Using the US english spelling might help.
>
> I have some information concerning the bug:
>
> The problem seems to affect only applications that have their desktop
> files in the directory /usr/share/applications (like Firefox,
> Thunderbird, etc.), while apps that have a desktop file in
> /usr/share/applications/kde4 or /usr/share/applications/kde work fine.
>
> I have watched
> .kde/share/config/plasma-appletsrc
> and it seems, that the url given for the desktop files is broken. While for
> the working icons, the Url is
> Url=file:///usr/share/applications/kde4/ksysguard.desktop
> for the inoperative icons it is
> Url=firefox.desktop
>
> When I kill plasma, manually fix the entry in plasma-appletsrc, and
> restart plasma, the icons work.
>
> ** Summary changed:
>
> - kubuntu kde4 intrepid kickoff menu, items added to favourites dont keep
> correct icon, generic gear shown
> + kubuntu kde4 intrepid kickoff menu, items added to favorites dont keep
> correct icon, generic gear shown
>
> --
> kubuntu kde4 intrepid kickoff menu, items added to favorites dont keep
> correct icon, generic gear shown
> https://bugs.launchpad.net/bugs/254688
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
wonko (oekj) wrote :

Manually fixing ~/.kde/share/config/plasma-appletsrc only works for icons I add to the desktop for me. Icons I add to the panel, and then manually edit, just disappear.

Revision history for this message
Salva Ferrer (salva-ferrer) wrote :

Hi all,

after reading Olaf description I tried the following:

1.- create a new directory in /usr/share/applications/ the name is not important I called mine 'others'. You need to be root for this: 'sudo mkdir /usr/share/applications/<dirname>'
2.- move all .desktop files in /usr/share/applications/ to this new directory: 'sudo mv /usr/share/applications/*.desktop /usr/share/applications/<dirname>'
3.- restart kde

After logging in the problem has dissapeared for me. I can add firefox to the favourites and the panel.

I don't know if this workaround has any side effects, so maybe somebody with more knowledge than me in Kubuntu file system can tell.

Revision history for this message
Dr. Asfak Motiwala (ghpibm) wrote :

The best workaround is to use lancelot. With it you can either drag non-kde apps on desktop or panel. This bug was not bugging me till alpha5.

Revision history for this message
Egbert van der Wal (eggie) wrote :

I can confirm this bug on kubuntu intrepid, fully updated.

Also ~/.kde/share/config/.plasma-appletsrc contains no information whatsoever about firefox, only generic stuff as to where to place the plasmoids, what desktop background to use etc.

Revision history for this message
Harald Sitter (apachelogger) wrote :

kde4libs (4:4.1.2-0ubuntu10) intrepid; urgency=low

  * Remove 12_deprecate_applnk.diff, it was the cause of all the problems with
    non-kde4 applications we had (broken icons, duplicated entries etc.)
    (LP: #254688, #268800)
  * Add kubuntu_11_fix_openwithdialog.diff to increase reliability of
    kopenwithdialog. Without the patch it creates KService objects using
    findByName, which is wrong whenever there is a non-application service
    type with the same name as the application (e.g. Kontact and kontactconfig)

 -- Harald Sitter < <email address hidden>> Sat, 18 Oct 2008 03:14:56 +0200

Changed in kdebase-workspace:
assignee: nobody → apachelogger
status: Triaged → In Progress
Changed in kde4libs:
status: In Progress → Fix Released
Revision history for this message
Egbert van der Wal (eggie) wrote :

Fixed it for me. I did have to remove the icons from favorites and add them again, but now the icons did come along!

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote :

Solved for me too. Thanks =)

2008/10/18 Egbert van der Wal <email address hidden>

> Fixed it for me. I did have to remove the icons from favorites and add
> them again, but now the icons did come along!
>
> --
> kubuntu kde4 intrepid kickoff menu, items added to favorites dont keep
> correct icon, generic gear shown
> https://bugs.launchpad.net/bugs/254688
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

It works now the duplicate entries are gone :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.