Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371999 - KDE 4.6.4 displays generic icon for all app menus
Summary: KDE 4.6.4 displays generic icon for all app menus
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 09:15 UTC by Martin von Gagern
Modified: 2011-10-30 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-06-17 09:15:57 UTC
After upgrading my KDE to 4.6.4, the list of applications as displayed by the K Menu is empty. Furthermore, the Alt+F2 application launcher won't search for these applications either; one has to typ the full app name so that the command execution will pick it up.

Unfortunately I don't know which of the many kde packages is actually to blame for this. Is it kdelibs? kde-env? kdebase-startkde? Feel free to update Summary.

Reproducible: Always

Steps to Reproduce:
1. Start KDE 4.6.4
2. open K Menu / Applications
3. Press Alt+F2 and type "geeq"
Actual Results:  
2. List is empty
3. No action suggested

Expected Results:  
2. There should be many applications
3. Launching geeqie should be provided as a possible action

There have been similar problems in the past, but no applicable solution as far as I can tell. See bug 265901 and bug 267793.

$ echo $XDG_MENU_PREFIX
kde-4-
$ echo $XDG_DATA_DIRS
/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share/gdm

Yes, the kde 3.5 thing is from kde-sunset, but that shouldn't hurt imo. Things used to work before.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-17 09:22:38 UTC
I suffered from the same problem and running

  kbuildsycoca4 --noincremental

as the affected user fixed the problem immediately.
Comment 2 Martin von Gagern 2011-06-17 09:52:26 UTC
(In reply to comment #1)
>   kbuildsycoca4 --noincremental

Thanks! That made the menu entries appear immediately. The Alt+F2 runner required a logout+login to work as expected; it probably had things cached somewhere.

Now the only remaining issue that I can see on my system is that the menus in the K Menu application list have no individual icons, but instead all share an icon that looks like "unknown document type", i.e. a question mark on a blank sheet of paper. Should I file a separate bug report for this?

Is there some way you can force automatic execution of the kbuildsycoca4 command? So that users won't behit by this once you stabilize it? I guess you could simply "rm -f /var/tmp/kdecache-*/ksycoca4*" in pkg_postinst. Ideally using EAPI=4 and checking REPLACING_VERSIONS first. Not sure what that would do to currently active sessions. Perhaps you have a better idea.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-07-02 18:48:07 UTC
Never heard about the icon problem, do you still have it? You can also try re-emerging kde-env, rebooting your system and then re-running kbuildsyscoca4 (but unless you have been using very early preversions from the kde overlay, that should not be necessary)...
Comment 4 Martin von Gagern 2011-07-02 20:53:14 UTC
(In reply to comment #3)
> Never heard about the icon problem, do you still have it?

Yes. It's only affect ing menus, mind, not the apps themselves.

> You can also try
> re-emerging kde-env, rebooting your system and then re-running kbuildsyscoca4
> (but unless you have been using very early preversions from the kde overlay,
> that should not be necessary)...

Have never used the kde overlay (kde-sunset only), but will give it a try nevertheless.

As you've changed the subject of this report here to only match the icon issue, have you dealt with the original problem in some way that won't force every user to run kbuildsycoca4 manually?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-07-02 21:21:48 UTC
(In reply to comment #4)
> Have never used the kde overlay (kde-sunset only), but will give it a try
> nevertheless.

You dont have to... there was a buggy ebuild in the overlay once that might have caused similar problems. I was just asking to check...

> As you've changed the subject of this report here to only match the icon issue,
> have you dealt with the original problem in some way that won't force every
> user to run kbuildsycoca4 manually?

Not so far... it's a well-known problem, mentioned in the Gentoo KDE guide and for sure in quite some forum posts. Should (I think) also just be solved by logging out and in in some cases.
Comment 6 Martin von Gagern 2011-07-03 10:46:18 UTC
(In reply to comment #3)
> Never heard about the icon problem, do you still have it? You can also try
> re-emerging kde-env, rebooting your system and then re-running kbuildsyscoca4

Did that, and problem persists.

(In reply to comment #5)
> Not so far... it's a well-known problem, mentioned in the Gentoo KDE guide and
> for sure in quite some forum posts.

OK, I guess I never really read that one... have you ever discussed automatic removal of outdated databases, as suggested in comment #2?

> Should (I think) also just be solved by logging out and in in some cases.

I believe I had logged out and in before posting this report, so that didn't do the trick for me.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-08-23 21:44:05 UTC
How about kde-4.6.5 or 4.7.0? Specifically 4.6.4 was broken in many ways...
Comment 8 Martin von Gagern 2011-08-30 23:38:08 UTC
No change with KDE 4.7.0 and after running kbuildsycoca4 --noincremental. :-(
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2011-10-30 17:45:34 UTC
Can you give feedback for kde 4.7.2?
Comment 10 Martin von Gagern 2011-10-30 19:17:49 UTC
(In reply to comment #9)
> Can you give feedback for kde 4.7.2?

Appears to be resolved there. Feel free to mark this bug OBSOLETE.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2011-10-30 19:48:34 UTC
Done.