Bug 154449

Summary: .desktop file that have a "." (dot) in the filename don't work correctly in kicker menu in KDE4 RC2
Product: [Plasma] plasma4 Reporter: Guenther Hutzl <guenther.hutzl>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ingmar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Guenther Hutzl 2007-12-21 20:27:31 UTC
Version:            (using KDE KDE 3.97.0)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

I am having .desktop files that have a "." dot in their filename in the "/usr/share/applications/" directory. If I try to start such an application kicker does not start the application but instead brings up the editor "KWrite" with that file opened.

Example: I have a file "/usr/share/applications/mozilla-firefox-2.0.desktop". A menu item for firefox is shown but when I try to start firefox from the menu KWrite is coming up showing the file "/usr/share/applications/mozilla-firefox-2.0.desktop".

Steps to reproduce:
1. Create a .desktop file in your applications directory that contains a "." (before the .desktop ending). You can just rename one of your existing ones.
2. Try to start the application via the kicker menu.
3. The editor KWrite should pop up.

Expected behaviour:
The application should be lauched instead of the editor.
Comment 1 Pino Toscano 2007-12-22 09:36:28 UTC
Are you using KDE 3 or KDE 4?
Because your version says "kde4", while kicker is kde3-only...
Comment 2 Guenther Hutzl 2007-12-22 11:28:47 UTC
I am using kde 3.97 which I think is the KDE4 RC2. So maybe it is not kicker if this kde-3 only. Is it called differently? What I mean is the kde menu that comes up when I click on the "K" icon in the lower left corner of the taskbar of the kde4 desktop.
Comment 3 Jason Stubbs 2007-12-22 12:41:12 UTC
SVN commit 751601 by jstubbs:

The extension starts after the last period rather than the first

BUG: 154449


 M  +1 -1      urlitemlauncher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=751601