Description of problem: If a new launcher for an application is added to a folder view plasmoid by dragging it from the menu and copying, and it is renamed to remove the .desktop extension, then on first use the icon changes to a generic text document icon and opens as a text file in kwrite. Initially the file contains:- # KDE Config File [Desktop Entry] Name=Kdenlive ----snip----- ...but after editing the name this is changed to :- #!/usr/bin/env xdg-open # KDE Config File [Desktop Entry] Name=Kdenlive ----snip----- Clicking this icon simply causes it to open in a text editor. If the shebang is removed it then works correctly and the icon is correct with (in this example case) the icon label (filename) Kdenlive, just as it would be if it had been placed on the desktop. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Drag application to a folder view plasmoid and copy. 2.Right click -> rename and remove the .desktop ext. 3.Try to use the icon 4.Right click -> open with-> kwrite and remove the shebang 5.Note Icon reverts to correct image and program can be launched
Well, .desktop files should have a .desktop extension... the shebang is added when you "trust" the launcher, i.e. first time you click it KDE asks you. FWIW, I tested with kdenlive, seems to work here without the .desktop extension.
What about this bug, still present ? should be reported upstream ?
Keywords: (none) => NEEDINFOAssignee: bugsquad => balcaen.john
invalid, a desktop file should have a .desktop extension. Otherwise he need to report upstream
Status: NEW => RESOLVEDCC: (none) => balcaen.johnResolution: (none) => INVALID