Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942405 - sci-electronics/gspiceui-1.3.30_pre20240321 desktop file use a sub category as main category
Summary: sci-electronics/gspiceui-1.3.30_pre20240321 desktop file use a sub category a...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 13:22 UTC by Dominique Michel
Modified: 2024-10-31 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2024-10-28 13:22:36 UTC
$ cat /usr/share/applications/gspiceui.desktop
[Desktop Entry]
Name=GNU Spice GUI
Type=Application
Comment=GUI frontend for Ngspice and Gnucap
Exec=gspiceui
TryExec=gspiceui
Icon=gspiceui
Categories=Electronics;

According to https://specifications.freedesktop.org/menu-spec/latest/category-registry.html Electronics is not listed and will be used by the catch all implementation. But it is Education and Development which are suitable for gspiceui.

At https://specifications.freedesktop.org/menu-spec/latest/additional-category-registry.html Electronics is listed as a sub category. Which imply it already exist and will result into an inconsistent menu between desktops.

Some desktops will use appmenu/catchall/Electronics/gspiceui, when other desktops will use appmenu/catchall/gspiceui

As gspiceui can be used to make development or education into electronics, I would prefer to patch that desktop file to get:

Categories=Development;Electronics;

or if we want to have Education too, something like:

Categories=Development;Education;Electronics;

Reproducible: Always