Bug 368251 - plasma-org.kde.plasma.desktop-appletsrc does not honor applicationName nor genericName for directory targets
Summary: plasma-org.kde.plasma.desktop-appletsrc does not honor applicationName nor ge...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-04 23:37 UTC by Sébastien Bardeau
Modified: 2016-09-12 06:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Bardeau 2016-09-04 23:37:50 UTC
My file /home/seb/.config/plasma-org.kde.plasma.desktop-appletsrc contains the following shortcut (is this the name you use?) to a directory:

[Containments][19][Applets][40][Configuration][General]
applicationName=Grenoble
genericName=Grenoble
iconName=inode-directory
url=file:///home/seb/Documents/Images/Grenoble/2016

This entry appears on the desktop, but unfortunately it is named "2016" (basename of the target directory) instead of the desired name ("Grenoble"). It used to work "in the past".

It also seems there is no way to customize this shortcut (name, target, icon, ...), except from editing the file plasma-org.kde.plasma.desktop-appletsrc

Reproducible: Always

Steps to Reproduce:
Steps to reproduce:
- drag and drop a directory from Dolphin to the desktop,
- logout from KDE
- edit the file ~/.config/plasma-org.kde.plasma.desktop-appletsrc, find the corresponding entry, add an applicationName and genericName,
- login again and see the result

Actual Results:  
applicationName and genericName are not taken into account, directory basename is used instead.

Expected Results:  
applicationName should be shown as the icon name on the desktop.
Comment 1 Kai Uwe Broulik 2016-09-11 20:06:46 UTC
You cannot expect random configuration keys to magically work. See Bug 349177 for a ticket about bringing back the config options.
Comment 2 Sébastien Bardeau 2016-09-12 06:55:01 UTC
(In reply to Kai Uwe Broulik from comment #1)
> You cannot expect random configuration keys to magically work. See Bug
> 349177 for a ticket about bringing back the config options.

"random configuration keys"? Those keywords were set by Plasma itself when migrating my shortcuts from one Plasma version to a newer one. This perfectly worked up to Fedora 23 (can not say which Plasma it was). I am just reporting a regression.