By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 153

Summary: profile and icon problems with kde4 programs
Product: TDE Reporter: B. A. <baumber>
Component: other (any)Assignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella
Priority: P5    
Version: 3.5.11 [Trinity]   
Hardware: amd64   
OS: Linux   
Compiler Version: TDE Version String: 3.5.11 Trinity
Application Version: Application Name:

Description B. A. 2010-02-25 10:34:18 CST
Hi!

If I start a KDE4 program directly from the KDE3-Menu, the program (e.g. okular) will load correctly (with normal KDE4-icons and the stored settings in ~/.kde).

But if I execute "okular" from the desktop (before it, drag&drop from the menu) or use the konsole to start "okular", the icons will change to the KDE3 ones. 

You can see that better, when you use the "open file"-dialog in okular. 
The navigation sidebar has different icons and the icons on the "open"- and "abort"-button are gone.

That could be a wrong setting of KDE-Home, or something else !?
I made a symbolic link called "~/.kde4", pointing to ~/.kde, but it didn't solve the problem.

Thank you for your help!

Used KDE4: 4.3.5 from karmic backports (also the stable kde4 4.3.2 packages tested) 

Best regards, B.A.
Comment 1 Timothy Pearson 2010-04-13 20:53:01 CDT
Was the KDE4 program detected by KDE3?  i.e. did it have a [KDE4] after it in the menu?
Comment 2 Timothy Pearson 2010-04-13 20:55:22 CDT
This may not be entirely fixable, especially not when running from Konsole.  The problem is that certain environment variables have to be reset before KDE4 programs can be run, but when you directly run a program from Konsole the current environment is used.

It might be possible to fix this for desktop files, but it will have to wait until the next release of Kubuntu,
Comment 3 B. A. 2010-04-19 12:39:31 CDT
> Was the KDE4 program detected by KDE3?  i.e. did it have a [KDE4] after it in
> the menu?

Yes. KDE4 programs are in the KDE Menu with [KDE4] bracket, but gnome apps aren't. Look at: http://bugs.pearsoncomputing.net/show_bug.cgi?id=152

>This may not be entirely fixable, especially not when running from Konsole. 
>The problem is that certain environment variables have to be reset before KDE4
>programs can be run, but when you directly run a program from Konsole the
>current environment is used.

I have partly fixed it:
You must have a .bashrc and a .bash_profile file in home-dir.
The .bash_profile must also call the .bashrc -script.

In both set: 
export KDEHOME="" or with unset(?)

I don't remember all settings now, because I have deleted the installation, but it should work.

This should solve the issue with the konsole. 
=> Now you can start a KDE4 program on the konsole, and the icons are "normal".
Also calling KDE4 apps from the KDE3-Menu works (as it has before).
Only starting apps from the desktop via *.desktop-file doesn't show the right profile icons.
Comment 4 Timothy Pearson 2012-05-14 02:16:50 CDT
I suspect that this bug is resolved in either 3.5.13 or out GIT development HEAD via renaming of conflicting environment variables.

Please reopen this bug report if the problem persists in R14.0.