Bug 279417 - Autostart menu fails on entrys with '/' in Name field
Summary: Autostart menu fails on entrys with '/' in Name field
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 1.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2011-08-05 06:30 UTC by Erwan David
Modified: 2012-11-09 05:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwan David 2011-08-05 06:30:06 UTC
Version:           1.0 (using KDE 4.6.5) 
OS:                Linux

In /usr/share/applications/icedove.desktop, the Name field is
[Desktop Entry]
Name=Icedove Mail/News

If I add Icedove to autostart, then a mess is done in ~/.config/autostart with
1) a directory name Icedove Mail, containing News.desktop
2) a file named Icedove Mail⁄News.desktop, where the '/' is not really a /
ls Icedove*.desktop gives

ls Icedove*.desktop|hd     
00000000  49 63 65 64 6f 76 65 20  4d 61 69 6c e2 81 84 4e  |Icedove Mail...N|
00000010  65 77 73 2e 64 65 73 6b  74 6f 70 0a              |ews.desktop.|
0000001c

The / is replaced by 3 bytes e2 81 84, UTF-8 encoding of the Fraction Slash character.
But then, after closing kcm_autostart and returning, the Icedove entry is not displayed, preventing from unactivating it.


Reproducible: Always

Steps to Reproduce:
1) Have a .desktop fiel with a / in the name
2) add it to auto start
3) leave session
4) return in kcm_autostart

Actual Results:  
Entry disappeared

Expected Results:  
Entry still in menu.

OS: Linux (i686) release 2.6.39-2-686-pae
Compiler: gcc
Comment 1 Jekyll Wu 2011-12-15 10:59:40 UTC
I observed the same result as described in 2) . However, after closing and reopening the kcm_autostart, that entry was shown as expected.

I'm using KDE SC 4.8 beta2.
Comment 2 Jekyll Wu 2012-11-09 05:48:15 UTC
Well, I just check this issue using KDE SC 4.9.3 again: 

  * a file "Icedove Mail⁄News.desktop" is created under ~/.config/autostart ; no extra directory is created.
  * that entry is shown in the kcm and can be deactivated or removed.

So I think this report can be closed now.