Bug 161117 - Utilities directory messed up by Revision 789264 of applications.menu
Summary: Utilities directory messed up by Revision 789264 of applications.menu
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Riddell
URL:
Keywords:
: 170429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-21 17:40 UTC by Ariszló
Modified: 2008-11-20 19:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to fix Utilities menu (1.01 KB, patch)
2008-06-04 09:33 UTC, Ariszló
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ariszló 2008-04-21 17:40:50 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Since Revision 789264 of kdelibs/kded/applications.menu, the Utilities submenu has become a huge mess collecting all categories of X-KDE-More applications, including Graphics, Internet, Multimedia, Office & System, not just Utilities.

Please exlude <Category>X-KDE-More</Category> from the main directory of Utilities by changing this:

<Include>
<Or>
<Category>Utility</Category>
<Category>TextEditor</Category>
<Category>Accessibility</Category>
<Category>X-KDE-Utilities-Desktop</Category>
<Category>X-KDE-Utilities-File</Category>
<Category>X-KDE-Utilities-Peripherals</Category>
<Category>X-KDE-Utilities-PIM</Category>
<Category>X-KDE-More</Category>
</Or>
</Include>

to this:

<Include>
<And>
<Category>Utility</Category>
<Not><Category>X-KDE-More</Category></Not>
</And>
<Category>TextEditor</Category>
<Category>Accessibility</Category>
<Category>X-KDE-Utilities-Desktop</Category>
<Category>X-KDE-Utilities-File</Category>
<Category>X-KDE-Utilities-Peripherals</Category>
<Category>X-KDE-Utilities-PIM</Category>
</Include>

(Undominated <Or></Or> tags may be safely deleted.)

This move keeps the Utilities menu flat without littering it with all categories of non-Utilities.
Comment 1 Ariszló 2008-06-04 09:33:58 UTC
Created attachment 25104 [details]
patch to fix Utilities menu
Comment 2 Dario Andres 2008-08-26 00:15:48 UTC
I suppose that this bug should be marked as wish.
The "X-KDE-More" is still included in Utilities submenu of applications.menu in KDE4.2 svnRev.851858
Comment 3 Ariszló 2008-09-15 19:21:39 UTC
This is no longer an svn bug: it has entered KDE 4.1.0 and is passed on to KDE 4.1.1.

You will not suffer from this bug if you are using Kubuntu because the bug has been fixed downstream. You will not suffer from it in openSUSE either because openSUSE has never used the upstream applications.menu.

You will only notice this bug if you are using a distribution that does not change the upstream applications.menu and does not modify the Categories fields of the .desktop files either.

Log in to Fedora Rawhide and install kdegraphics, kdeutils, koffice-core, koffice-kchart and koffice-kformula. Now you will see the mess!

KColorChooser & KRuler will be listed in both Graphics/More and Utilities main. They will be listed in Graphics/More because they have both Graphics and X-KDE-More in their Categories fields. They will be listed in Utilities main because whatever has X-KDE-More in its Categories field will be listed there with no restriction.

KChart, KFormula & Kthesaurus will be listed in both Office/More and Utilities main because they have both Office and X-KDE-More in their Categories fields.

KDiskFree and KwikDisk will be listed in both System/More and Utilities main because they have System and X-KDE-More in their Categories fields.

Finally, KCharSelect, KTimer and Sweeper will be listed in both Utilities main and Utilities/More. They will be listed in Utilities/More because they have both Utility and X-KDE-More in their Categories fields. They will be listed in Utilities main because whatever has X-KDE-More in its Categories field will be listed there.

You may also test this bug in Kubuntu Intrepid Ibex provided that you manually replace Kubuntu's kde-applications.menu with the upstream applications.menu. Now install the following packages and experience the bug just like in Fedora. Don't forget to replace kde-applications.menu with the upstream applications.menu!

apt-get install kcharselect, kcolorchooser, kdf, kruler, ktimer, sweeper

Unfortunately, if you are using openSUSE then you are out of luck ;) You won't be able to test this bug no matter how much you try because your distribution heavily customizes both the applications.menu and the .desktop files.
Comment 4 Ariszló 2008-09-23 12:00:06 UTC
(In reply to comment #3)
> You will not suffer from this bug if you are using Kubuntu because the bug has
> been fixed downstream.

Correction: Yes, Kubuntu Intrepid Ibex is affected, too. kde4-applications.menu is not fixed downstream. Install kcharselect, kcolorchooser, kdf, kruler, ktimer & sweeper and you will see the mess just like in Fedora Rawhide.
Comment 5 Harald Sitter 2008-10-13 17:12:19 UTC
*** Bug 170429 has been marked as a duplicate of this bug. ***
Comment 6 Ariszló 2008-10-15 12:01:56 UTC
Could someone who can commit changes to svn checkout https://svn.kde.org/home/kde/trunk/KDE/kdelibs/kded/ and apply applications.menu-utilities.patch to kded/applications.menu, please?

http://bugs.kde.org/attachment.cgi?id=25104
Comment 7 Ariszló 2008-11-15 16:22:53 UTC
Kubuntu fixed this bug downstream with kubuntu_09_fix_application_menu.diff.
Comment 8 Rex Dieter 2008-11-20 18:57:23 UTC
Confirmed, I can take care of it.
Comment 9 Rex Dieter 2008-11-20 19:09:16 UTC
SVN commit 886953 by rdieter:

backport unmess Utilities menu

BUG: 161117


 M  +9 -9      applications.menu  


WebSVN link: http://websvn.kde.org/?view=rev&revision=886953
Comment 10 Rex Dieter 2008-11-20 19:10:33 UTC
fyi, trunk commit was made to bug #170429 (my bad)
Comment 11 Rex Dieter 2008-11-20 19:29:07 UTC
*** Bug 170429 has been marked as a duplicate of this bug. ***