Bug 15835 - LXDE - Networkcenter is twice in the Mageia menu (MGA5RC)
Summary: LXDE - Networkcenter is twice in the Mageia menu (MGA5RC)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Salguero
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2015-05-03 19:30 CEST by psyca
Modified: 2015-05-26 09:04 CEST (History)
3 users (show)

See Also:
Source RPM: drakx-net
CVE:
Status comment:


Attachments
Settings for install (58.37 KB, image/jpeg)
2015-05-03 23:25 CEST, psyca
Details
double networkcenter (107.45 KB, image/jpeg)
2015-05-03 23:26 CEST, psyca
Details

Description psyca 2015-05-03 19:30:59 CEST
Description of problem:
If you make a clean install with the RC and LXDE as desktop, then you see the "Networkcenter" twice in the Menu > Internet.

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-05-03 21:32:38 CEST
Do those Networkcenter entries open the same networkcenter?
Samuel Verschelde 2015-05-03 21:32:45 CEST

Keywords: (none) => NEEDINFO

Comment 2 psyca 2015-05-03 23:25:58 CEST
Created attachment 6436 [details]
Settings for install
Comment 3 psyca 2015-05-03 23:26:44 CEST
Created attachment 6437 [details]
double networkcenter
Comment 4 psyca 2015-05-03 23:27:26 CEST
Yes, its the same entry.
Mageia-5-RC-x86_64-DVD.iso
Comment 5 Samuel Verschelde 2015-05-04 09:25:51 CEST
Assigning to maintainer. Please attach /root/drakx/report.bug.xz, which might contain useful information too.

Keywords: NEEDINFO => Triaged
Assignee: bugsquad => nicolas.salguero

Comment 6 Nicolas Salguero 2015-05-04 11:06:23 CEST
When reading the generated file in $HOME/.cache/menus, we can see the two occurrences of "Network Center".

So the problem comes from the menu cache generation. After a test, I confirm that the problem is with the usage of /etc/xdg/menus/applications.menu.

When I force the menu cache generation to use /etc/xdg/menus/kde-applications.menu instead, the problem is solved.

The problem is also corrected when the menu cache generation uses /etc/xdg/menus/applications.menu but there is an entry in the "More" sub-menu (by installing putty, for example).
Nicolas Salguero 2015-05-05 09:23:19 CEST

Status: NEW => ASSIGNED

Comment 7 Nicolas Salguero 2015-05-13 15:12:00 CEST
After some more tests, the problem is solved by adding "X-Mageia-CrossDesktop;" to "Categories" entry of /usr/share/applications/draknetcenter.desktop file.
Nicolas Salguero 2015-05-13 15:29:48 CEST

CC: (none) => mageia

Comment 8 Nicolas Salguero 2015-05-13 15:31:55 CEST
I added drakx-net pkg maintainer in the CC list of this bug so that he knows the solution I found and explained in comment 7.
Comment 9 psyca 2015-05-22 21:55:05 CEST
Just made reinstall with direct onlineupdate/download.
Its fixed (also with normal updates).

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 10 psyca 2015-05-22 21:56:34 CEST
Thanks :)
Comment 11 You-Cheng Hsieh 2015-05-25 16:48:53 CEST
Not fixed in a new install of pre-final dual-arch iso with internet media, round 3.

Status: RESOLVED => REOPENED
CC: (none) => yochenhsieh
Resolution: FIXED => (none)

Comment 12 You-Cheng Hsieh 2015-05-25 16:51:16 CEST
Also not fixed in my virtualbox cauldron vm, updated to latest.
You-Cheng Hsieh 2015-05-26 05:25:19 CEST

Source RPM: (none) => drakx-net

Comment 13 Mageia Robot 2015-05-26 08:48:33 CEST
commit 26ac6e3297c81c2487dc02caaae1bf5c8710f772
Author: Anne Nicolas <ennael@...>
Date:   Tue May 26 08:46:37 2015 +0200

    add X-Mageia-CrossDesktop category as proposed by Nicolas Salguero (mga#15835)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-net/commit/?id=26ac6e3297c81c2487dc02caaae1bf5c8710f772
Comment 14 Anne Nicolas 2015-05-26 09:04:56 CEST
Closing now. Feel free to reopen if needed

Status: REOPENED => RESOLVED
CC: (none) => ennael1
Resolution: (none) => FIXED


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