Bug 280901

Summary: kio (KService*): WARNING: Invalid Service :
Product: [openSUSE] openSUSE 10.2 Reporter: Mark Van De Vyver <mvdv>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: mvdv
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.2   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mark Van De Vyver 2007-06-05 12:02:27 UTC
It is not clear what the consequenc of the following is, so I'll report it.
At the very least it leads to very cluttered session files created by FreeNX see #280787

On starting a KDE sessions there is a warning:

kio (KService*): WARNING: Invalid Service : .hidden/dirfilterplugin.desktop
KMenuBase::setProperty( "frameShadow", value ) failed: property invalid, read-only or does not exist

It seems this may be due to one (some/all?) of the following files having 'Type=Service', but being located in the apps folder:

/opt/kde3/share/apps/kdeprint/tools/escputil.desktop
/opt/kde3/share/apps/khtml/kpartplugins/akregator_konqfeedicon.desktop
/opt/kde3/share/apps/khtml/kpartplugins/mf_konqmficon.desktop
/opt/kde3/share/apps/konqueror/kpartplugins/searchbar.desktop
/opt/kde3/share/apps/konqiconview/kpartplugins/kremoteencodingplugin.desktop
/opt/kde3/share/apps/konqiconview/kpartplugins/kshellcmdplugin.desktop

**** The next might be the only file warned about? 
/opt/kde3/share/apps/konqiconview/kpartplugins/dirfilterplugin.desktop
/opt/kde3/share/apps/konqlistview/kpartplugins/kremoteencodingplugin.desktop
/opt/kde3/share/apps/konqlistview/kpartplugins/kshellcmdplugin.desktop

**** The next might be the only file warned about? 
/opt/kde3/share/apps/konqlistview/kpartplugins/dirfilterplugin.desktop
/opt/kde3/share/apps/kdevappwizard/template-common/kde-part.desktop
/opt/kde3/share/apps/kviewviewer/kpartplugins/kviewbrowser.desktop
/opt/kde3/share/services/searchproviders/appsy.desktop
Comment 1 Mark Van De Vyver 2007-06-05 12:56:01 UTC
OK, I can confirm that in the two 'dirfilterplugin.desktop' files changing

  Type=Service

to

  Type=Application

does eliminate that one particular warning.  NOW, is this correct? Or should these files be stored in the Service folder, and Type=Service left unchanged?

There is a similar question mark over all the files listed in the OP:
 - Is the Type=Service correct and the location wrong, or.....
 - Is the Type incorrect and the location correct?

????
Comment 2 Mark Van De Vyver 2007-06-05 13:26:29 UTC
In the OP the last file is listed in error:

/opt/kde3/share/services/searchproviders/appsy.desktop

should be left as it is.
Comment 3 Stephan Binner 2007-09-21 14:45:09 UTC
Please report such stuff upstream at http://bugs.kde.org