Bug 607047

Summary: Missing Categories 'Settings;System' in some YaST *.desktop files
Product: [openSUSE] openSUSE 11.3 Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Dong Mao Zhang <dmzhang>
Status: VERIFIED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: forgotten_cAXlJ_FoSf
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2010-05-19 08:39:06 UTC
Guido Berhoerster informed me that
the YaST *.desktop files should usually contain the
Categories 'Settings;System' so that it will show up
at the right place on all desktop environments
in particular for the LXDE/XFCE menu.

By searching the YaST SVN I found the following
YaST *.desktop files where either 'Settings;System'
is missing in the Categories or where no Categories
are set at all:
-------------------------------------------------------------
./cluster/src/cluster.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;

./system-profile/src/system-profile.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Support;

./control-center/src/YaST-systemsettings.desktop

./metapackage/src/kdeymp.desktop

./metapackage/src/x-suse-ymp.desktop

./yast2/library/desktop/groups/security.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/software.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/misc.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/support.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/network_devices.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/network_services.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/hardware.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/system.desktop
Categories=Qt;X-SuSE-YaST;

./yast2/library/desktop/groups/high_availability.desktop
Categories=Qt;X-SuSE-YaST;

./doc/tutorials/tutorial-includes/sshd/t1-start-sshd.desktop

./isns/src/isns.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;

./apparmor/src/desktop/groups/apparmor.desktop
Categories=Qt;X-SuSE-YaST-AppArmor;

./reipl/src/reipl.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;

./dbus-server/src/services/namespace_service/doc/dbus_samba_export.desktop

./drbd/src/drbd.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;

./ntsutils/src/ntsutils.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;

./power-management/src/power-management.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-System;

./multipath/src/multipath.desktop
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;
-------------------------------------------------------------

I don't know which of the above are nevertheless o.k.
so that it would be nice if one of the YaST team
could have a look.
Comment 1 Johannes Meixner 2010-05-19 08:48:29 UTC
FYI:
The Categories 'Settings;System' were also missing
in ./printer/src/printer.desktop but I fixed it
already for yast2-printer in YaST SVN revision 62033.
Comment 2 Johannes Meixner 2010-05-19 12:02:31 UTC
FYI:
Submitted yast2-printer 2.19.11
to YaST:Head via submitrequest 40359 and this
to openSUSE:Factory via submitrequest 40360
Comment 3 Katarina Machalkova 2010-05-20 08:58:33 UTC
These are false-positives as they're module groups (categories) used in YaST control centres only (ie. they're never visible in any other menu):

> ./yast2/library/desktop/groups/security.desktop
> ./yast2/library/desktop/groups/software.desktop
> ./yast2/library/desktop/groups/misc.desktop
> ./yast2/library/desktop/groups/support.desktop
> ./yast2/library/desktop/groups/network_devices.desktop
> ./yast2/library/desktop/groups/network_services.desktop
> ./yast2/library/desktop/groups/hardware.desktop
> ./yast2/library/desktop/groups/system.desktop
> ./yast2/library/desktop/groups/high_availability.desktop

Another false-positive, used in KDE system settings only:
> ./control-center/src/YaST-systemsettings.desktop

Those are prolly also false-positives, as only 1click install handler uses them:
> ./metapackage/src/kdeymp.desktop
> ./metapackage/src/x-suse-ymp.desktop

And the rest, ladies and gentlemen, are regular bugs and should be fixed:
> ./cluster/src/cluster.desktop
> ./system-profile/src/system-profile.desktop
> ./doc/tutorials/tutorial-includes/sshd/t1-start-sshd.desktop
> ./isns/src/isns.desktop
> ./apparmor/src/desktop/groups/apparmor.desktop
> ./reipl/src/reipl.desktop
> ./dbus-server/src/services/namespace_service/doc/dbus_samba_export.desktop
> ./drbd/src/drbd.desktop
> ./ntsutils/src/ntsutils.desktop
> ./power-management/src/power-management.desktop
> ./multipath/src/multipath.desktop
Comment 4 Katarina Machalkova 2010-05-20 09:00:27 UTC
Ouch, sorry, put /apparmor/src/desktop/groups/apparmor.desktop into false-positives too, it's a group/category file as well
Comment 5 Lukas Ocilka 2011-07-01 14:19:02 UTC
SSHD has been already fixed.
Comment 6 Thomas Fehr 2011-08-02 10:17:43 UTC
Following are still not fixed:
> ./cluster/src/cluster.desktop
> ./system-profile/src/system-profile.desktop
> ./doc/tutorials/tutorial-includes/sshd/t1-start-sshd.desktop
> ./isns/src/isns.desktop
> ./apparmor/src/desktop/groups/apparmor.desktop
> ./reipl/src/reipl.desktop
> ./dbus-server/src/services/namespace_service/doc/dbus_samba_export.desktop
> ./drbd/src/drbd.desktop
> ./ntsutils/src/ntsutils.desktop
> ./power-management/src/power-management.desktop
> ./multipath/src/multipath.desktop

Reassigned to maintainer of yast2-cluster, please fix and reassign to maintainer of next
package in above list.
Comment 8 Jiri Srain 2011-08-04 13:03:28 UTC
Fixed cluser, reipl and power-managenent.

Additionally:

ntsutils does not exist (was only temporary name)
apparmor does not exist any more (and the file was group)


The ones left are:

> ./system-profile/src/system-profile.desktop
> ./doc/tutorials/tutorial-includes/sshd/t1-start-sshd.desktop
> ./isns/src/isns.desktop
> ./dbus-server/src/services/namespace_service/doc/dbus_samba_export.desktop
> ./drbd/src/drbd.desktop
> ./multipath/src/multipath.desktop

System profile is Daniel.
Comment 9 J. Daniel Schmidt 2011-08-04 14:57:07 UTC
The module "system-profile" is dropped.
Next is "doc" -> Lukas
Comment 10 Lukas Ocilka 2011-08-05 13:45:27 UTC
False positive in doc

dbus-server -> Lslezak
Comment 11 Ladislav Slezák 2011-08-05 14:32:46 UTC
False positive in dbus-server - the desktop file is only an example, moreover it adds a new action to the right-click context menu (it's not meant for the standard application menu).

I have fixed yast2-isns as it currently has no maintainer.

The remaining files are:

> ./drbd/src/drbd.desktop
> ./multipath/src/multipath.desktop

Reassigning to drbd maintainer, adding multipath maintainer to CC to speed up fixing ;-)
Comment 12 Ladislav Slezák 2011-08-05 14:38:19 UTC
I found out that xwhu@novell.com should be maintainer of multipath as well (according to yast2-multipath.changes in SVN trunk).
Comment 13 Dong Mao Zhang 2014-06-04 06:25:56 UTC
close this , this is 11.3
Comment 14 Bernhard Wiedemann 2016-04-15 11:45:55 UTC
This is an autogenerated message for OBS integration:
This bug (607047) was mentioned in
https://build.opensuse.org/request/show/40360 Factory / yast2-printer
https://build.opensuse.org/request/show/78015 Factory / yast2-power-management
https://build.opensuse.org/request/show/78131 Factory / yast2-isns