Bug 497905 - Emoji Selector is missing a description and a comment in its .desktop file
Summary: Emoji Selector is missing a description and a comment in its .desktop file
Status: RESOLVED FIXED
Alias: None
Product: Emoji Selector
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-26 14:06 UTC by hottog
Modified: 2025-01-07 04:15 UTC (History)
2 users (show)

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


Attachments
Properties of Ark, Emoji Selector, System Settings and System Monitor (537.30 KB, image/png)
2025-01-05 13:58 UTC, hottog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hottog 2024-12-26 14:06:30 UTC
SUMMARY
In Kickoff, Emoji Selector has no description while other KDE apps have one. By right-clicking on Emoji Selector in Kickoff and selecting 'Edit Application...', then choosing the 'Application' tab in the properties window, it is clearly visible that the description and comment are missing.
Comment 1 Nate Graham 2025-01-03 21:19:37 UTC
Does it really need a description? I think the name is pretty self-explanatory. What would you have it say?
Comment 2 hottog 2025-01-03 21:59:49 UTC
It's true thaf the name is quite self-explanatory, but we do give descriptions to System Monitor, Partition Manager, System Settings and so on... So why not Emoji Selector? It was very noticable for me in Kickoff, since only this program was missing a description. In short, adding a description and comment would be for the sake of consistency.
Comment 3 hottog 2025-01-05 13:58:08 UTC
Created attachment 177125 [details]
Properties of Ark, Emoji Selector, System Settings and System Monitor
Comment 4 hottog 2025-01-05 14:06:55 UTC
I've attached a screenshot to highlight some inconsistencies I've found (in Neon Testing live environment).

If the comment is missing, there won't be anything below the application name in Kickoff.
If the description is missing, when hovering over an icon in the panel, there won't be anything below the application/widget name.

And also if the comment/description is identical to the application name, like in the case of System Monitor, the comment/description won't be displayed in Kickoff/the panel.

I think the naming of .desktop files (not just those of applications, but widgets too) should be streamlined or at least there could be a recommended way to do it in the HIG.
Comment 5 Nate Graham 2025-01-06 22:18:04 UTC
Git commit d4ce42f2a857d9ee7901f97ed8cb1c9d17e6ca81 by Nate Graham.
Committed on 06/01/2025 at 22:17.
Pushed by ngraham into branch 'master'.

emojier: give it a description
FIXED-IN: 6.3.0

M  +1    -0    emojier/app/org.kde.plasma.emojier.desktop

https://invent.kde.org/plasma/plasma-desktop/-/commit/d4ce42f2a857d9ee7901f97ed8cb1c9d17e6ca81
Comment 6 Nate Graham 2025-01-06 22:23:14 UTC
Git commit 87335328b6b71be7341c0475200bc595404c3880 by Nate Graham.
Committed on 06/01/2025 at 22:22.
Pushed by ngraham into branch 'master'.

Clean up metadata in .desktop file

No need to set the GenericName to the same thing as the app name.
Instead, set a comment that's different and descriptive.

M  +1    -50   org.kde.plasma-systemmonitor.desktop

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/87335328b6b71be7341c0475200bc595404c3880
Comment 7 Nate Graham 2025-01-06 22:24:45 UTC
Indeed we could add info about this in the HIG. That's a good idea. I'll throw it on the pile of stuff to do.