Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463424

Summary: kde-base/kdeplasma-addons - lancelot swaps Name and GenericName
Product: Gentoo Linux Reporter: Denis M. (Phr33d0m) <god>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: snapshot.png

Description Denis M. (Phr33d0m) 2013-03-27 00:33:29 UTC
Created attachment 343374 [details]
snapshot.png

$summary

Also, this was the behaviour in KDE 4.9.x and in 4.10.x changed, so can we get back the fancy names again?

And a "descriptive" snapshot attached.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-03-27 06:55:23 UTC
Where does that screenshot come from? It looks and behaves differently than my application launcher.

KSysGuard was changed upstream[1] (by a very familiar name :)) to be more compliant[2] with the desktop entry spec. It is also now more consistent with other KDE SC applications.

I am not sure about KInfoCenter as I cannot locate any commits changing the Name key in years.


[1]: http://quickgit.kde.org/?p=kde-workspace.git&a=commit&h=1bfb808d454312e46436adad5bbcd143e68cbeee
[2]: https://git.reviewboard.kde.org/r/105338/
Comment 2 Denis M. (Phr33d0m) 2013-03-27 12:30:22 UTC
(In reply to comment #1)
> I am not sure about KInfoCenter as I cannot locate any commits changing the
> Name key in years.

Now that you mentioned it, I checked on a stable 4.9.x environment and you're right, it's still KInfoCenter there.

Any chance we can hack those .desktop files to be more user-friendly? [1] seems a user-unfriendly commit to me...
Something like:
- KInfoCenter:
- * Name: Info Center
- * GenericName: KInfoCenter
- KSysGuard:
- * Name: System Monitor
- * GenericName: KSysGuard

That way, IMO, it won't lead to confusion nor be problematic as it was stated in [2].

And answering your question, I'm using the Lancelot launcher (which can be added through the widgets).
Comment 3 Michael Palimaka (kensington) gentoo-dev 2013-03-27 14:04:39 UTC
(In reply to comment #2)
> Any chance we can hack those .desktop files to be more user-friendly? [1]
> seems a user-unfriendly commit to me...
> Something like:
> - KInfoCenter:
> - * Name: Info Center
> - * GenericName: KInfoCenter
> - KSysGuard:
> - * Name: System Monitor
> - * GenericName: KSysGuard

Doing this would be contrary to the desktop entry spec[1] which states:

Name	Specific name of the application, for example "Mozilla".
GenericName	Generic name of the application, for example "Web Browser".

Since the behaviour you are expecting is present in the standard launcher, I assume this is a lancelot-specific issue.

[1]: http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-03-27 14:12:33 UTC
It turns out there is a configuration option[1] to toggle this behaviour.

Look in Lancelot settings -> Menu -> Applications.

[1]: http://quickgit.kde.org/?p=kdeplasma-addons.git&a=commit&h=8349ebd7bee0a0475e431cbc14f0971bba0e8ff4