Bug 283921 - synaptic shows up 3 times in KDE menu
Summary: synaptic shows up 3 times in KDE menu
Alias: None
Product: Fedora
Classification: Fedora
Component: synaptic
Version: 7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-09-09 09:51 UTC by Kevin Kofler
Modified: 2008-01-03 01:30 UTC (History)
2 users (show)

Fixed In Version: 0.57.2-13.99.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-01-03 01:30:32 UTC

Attachments (Terms of Use)

Description Kevin Kofler 2007-09-09 09:51:22 UTC
Description of problem:
Synaptic shows up 3 times in the KDE menu: twice under "Administration" and 
once under "System". This is due to category bloat in the .desktop file.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install Synaptic.
2. Start KDE.
3. Inspect the menu.
Alternatively, run kbuildsycoca --menutest | grep synaptic to get the 3 
entries printed to the terminal.
Actual results:
3 menu entries.

Expected results:
1 menu entry.

Additional info:
We analyzed this during the KDE SIG meeting and found that this is caused by 
too many categories being listed in the .desktop file.

Comment 1 Panu Matilainen 2007-09-10 05:24:45 UTC
Hmm, it shows twice in GNOME too. Settings category looks wrong, but what are
the other places in KDE it shows up?

Comment 2 Ville Skyttä 2007-09-10 16:12:56 UTC
On F7, it shows up in "System/", "Administration/More System Settings/", and
"Administration/".  Removing the (nowadays invalid anyway [0]) Application and
SystemSetup categories causes it to be show in "System/" only.

[0] http://standards.freedesktop.org/menu-spec/latest/apa.html

Comment 3 Kevin Kofler 2007-09-13 04:13:04 UTC
And as "Administration/More System Settings" and "Administration" are merged 
these days, it actually shows up twice under "Administration" and once 
under "System".

Comment 4 Axel Thimm 2007-10-26 06:35:14 UTC
So, what's the recommended setting?

Categories=PackageManager;GTK ?

Comment 5 Ville Skyttä 2007-12-29 15:07:24 UTC
synaptic-0.57.2-14.fc8.x86_64 has "Categories=PackageManager;GTK;System;" and
shows up only once in my KDE menus (in System).  I think that's fine.

Comment 6 Kevin Kofler 2007-12-29 17:31:26 UTC
Yes, it's fixed in the current F8 package. The problem is still there in F7 

Comment 7 Axel Thimm 2007-12-30 09:38:41 UTC
Once the CVS is back online again I'll submit an F7 build to get this fixed.

Comment 8 Axel Thimm 2007-12-31 13:41:14 UTC
Well, I tried building this one for F-7, but it fails w/o even entering the
actual build.

This is probably unrelated to synaptic and maybe a koji bug, but in case anyone
wants to check the builds and see if I'm doing something wrong, here are the
build URLs:


Comment 9 Kevin Kofler 2007-12-31 14:07:25 UTC
No bug there, there's no apt-devel >= 0.5.15lorg3.92 in F7 yet. You have to 
update and build apt first, then get it included in dist-fc7-override (ask 
rel-eng), then build the new synaptic.

See: http://koji.fedoraproject.org/koji/getfile?taskID=316518&name=root.log

Comment 10 Axel Thimm 2007-12-31 16:56:12 UTC
Thanks Kevin, I hadn't looked at root.log as I thought that the presence of
build.log implies that the build started. :/

Comment 11 Fedora Update System 2008-01-03 01:30:30 UTC
synaptic-0.57.2-13.99.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.