Bug 14420 - Menu-cache 1.0.0 does not work at all
Summary: Menu-cache 1.0.0 does not work at all
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-10-30 15:58 CET by Nicolas Salguero
Modified: 2014-11-04 20:50 CET (History)
6 users (show)

See Also:
Source RPM: menu-cache, lxde-common
CVE:
Status comment:


Attachments
Screen with problem (355.41 KB, image/png)
2014-11-03 18:04 CET, Alex Loginov
Details
lxde-common 0.99.0 (882.58 KB, application/x-redhat-package-manager)
2014-11-04 10:03 CET, Nicolas Salguero
Details

Description Nicolas Salguero 2014-10-30 15:58:06 CET
Hi,

Version 1.0.0 of menu-cache does not work at all (no more menu on lxpanel and some other icons, like lxde-logout, are missing on lxpanel).

Please, revert back to version 0.6.1 which works.

Regards.

Nico.
Manuel Hiebel 2014-11-01 19:10:29 CET

Keywords: (none) => Triaged
CC: (none) => fundawang, loginov_alex, mageia, thierry.vignaud
Assignee: bugsquad => doktor5000
Source RPM: (none) => menu-cache

Comment 1 Alex Loginov 2014-11-01 19:49:31 CET
Florian, hello,

Will you revert your commit
http://svnweb.mageia.org/packages/cauldron/menu-cache/current/SPECS/menu-cache.spec?r1=792512&r2=793172 ,
delete menu-cache 1.0.0 from cauldron and submit menu-cache 0.6.1 again?
Comment 2 Florian Hubold 2014-11-02 14:44:51 CET
No, as menu-cache 1.0.0 is the final stable version, check http://blog.lxde.org/?p=1299

Maybe you should follow up with the recent updates on some of the LXDE core components.

Check e.g. http://blog.lxde.org/?p=1306

And if it still doesn't work, please report that upstream.

CC: (none) => doktor5000
Assignee: doktor5000 => bugsquad

Comment 3 Florian Hubold 2014-11-02 15:01:21 CET
Apart from that, just tried to reproduce. On current cauldron, installed task-lxde-minimal, logged out and logged in to LXDE - menu is looking normal, menu contents are looking normal.

Those are the running processes:

ââ[user1@localhost]â[15:00:53]â[~]
ââââ¼ ps -ef | grep -i lx
root      3333   811  0 14:51 ?        00:00:00 /usr/libexec/sddm-helper --socket /tmp/Auth811.1414871176 --id 3 --start LXDE --user user1
user1     3339  3333  0 14:51 ?        00:00:02 /usr/bin/lxsession -s LXDE -e LXDE
user1     3551  3339  0 14:51 ?        00:00:03 openbox --config-file /home/user1/.config/openbox/lxde-rc.xml
user1     3552  3339  1 14:51 ?        00:00:07 lxpanel --profile LXDE
user1     3554  3339  0 14:51 ?        00:00:03 pcmanfm --desktop --profile LXDE
user1     3559  3339  0 14:51 ?        00:00:00 lxclipboard
user1     3592     1  0 14:51 ?        00:00:00 lxpolkit
user1     3993     1  1 14:54 ?        00:00:04 lxterminal
user1     4614  3999  2 15:01 pts/0    00:00:00 grep --color -i lx


Please provide clear steps to reproduce your issue.
Comment 4 Florian Hubold 2014-11-02 15:22:35 CET
Just tried again with a newly created user, cannot reproduce.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 5 Daniel Napora 2014-11-02 17:15:02 CET
lxde-common should be updated to 0.99.0 version.

I tested it quickly, by rebuilding lxde-common to 0.99.0 version (without applying any mageia specific patches) and confirm that this fix the problem.

CC: (none) => napcok

Comment 6 Florian Hubold 2014-11-02 17:29:53 CET
(In reply to Daniel Napora from comment #5)
> lxde-common should be updated to 0.99.0 version.
> 
> I tested it quickly, by rebuilding lxde-common to 0.99.0 version (without
> applying any mageia specific patches) and confirm that this fix the problem.

Which problem does it fix exactly, and how to reproduce?
Comment 7 Daniel Napora 2014-11-02 17:48:56 CET
Problem: No menu generated for LXDE (or empty menu)

How to reproduce: install LXDE from Classical Installer DVD MGA5 beta1 pre-release iso.
Comment 8 Alex Loginov 2014-11-02 17:53:19 CET
From ML "LXDE status":

> Nicolas, will you look, open update request and ping me?

Yes, I have tested and I will open update request for:
- lxpanel 0.7.2
- lxappearance 0.6.1
but not for:
- menu-cache 1.0.0 because when testing, I have no menu at all with
  this version (same problem as 1.0.0-rc1)
- lxde-common 0.99.0 because /etc/xdg/pcmanfm/default/pcmanfm.conf is
  not copied to $HOME/.config/pcmanfm/LXDE/pcmanfm.conf on first log in
Comment 9 Nicolas Salguero 2014-11-03 17:25:44 CET
Hi,

Finally I understood the problem: if you only have LXDE (task-lxde or task-lxde-minimal), menu-cache 1.0.0 does not work at all.

If you install LXQt, then menu-cache 1.0.0 works but provides, in LXDE, the LXQt menu (all the applications LXDE only are not displayed and the menu contains, in "Accessories", an entry "About LXQt").

In fact, menu-cache 1.0.0 uses libfm-extra to do the parsing but version from libfm 1.2.3 is not working whereas version from libfm-qt 0.8.0 is working.

Menu-cache 0.6.1 is the last version to be independent from libfm-extra.

Hope this helps.

Nico.
Comment 10 Alex Loginov 2014-11-03 18:04:54 CET
Created attachment 5569 [details]
Screen with problem

This issue was confirmed by me, Nicolas, Daniel.
I attach screenshot with bug if Florian don't believe us.
Alex Loginov 2014-11-03 18:05:07 CET

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Comment 11 Florian Hubold 2014-11-03 20:50:10 CET
(In reply to Alex Loginov from comment #10)
> This issue was confirmed by me, Nicolas, Daniel.
> I attach screenshot with bug if Florian don't believe us.

Sorry, what's your problem? It's not that I don't believe you, I said that there were instructions missing how to reproduce it so that I could also reproduce it.

So as the issue seems with libfm / menu-cache, as suggested already, please report this upstream.
Comment 12 Florian Hubold 2014-11-03 22:20:30 CET
Further update:

I've removed all lxqt packages except for lxmenu-data, deleted all contents of /home/user and logged in to LXDE, which results in what looks to me a normal LXDE menu.

[user2@localhost ~]$ rpm -qa | grep lx | sort
glxinfo-8.2.0-4.mga5
libxcb-glx0-1.11-3.mga5
lxappearance-0.6.1-1.mga5
lxde-common-0.5.6-5.mga5
lxde-icon-theme-0.5.1-1.mga5
lxdm-0.5.0-1.mga5
lxdm-theme-mageia-2-5.mga5
lxinput-0.3.4-1.mga5
lxmenu-data-0.8.0-0.20141024.2.mga5
lxpanel-0.7.2-1.mga5
lxrandr-0.3.0-1.mga5
lxsession-0.5.1-2.mga5
lxshortcut-1.2.3-1.mga5
lxtask-0.1.6-1.mga5
lxterminal-0.1.11-5.mga5
mageia-lxde-config-Default-0.6.3-1.mga5
python3-lxml-3.3.6-4.mga5
python-lxml-3.3.6-4.mga5
task-lxde-3-11.mga5
task-lxde-minimal-3-11.mga5
[user2@localhost ~]$

Shouldn't there be something for LXDE like lxmenu-data ?

Currently checking on http://sourceforge.net/p/lxde/mailman/message/32998676/
Comment 13 Alex Loginov 2014-11-03 22:30:10 CET
Florian, why do you need Menu-cache 1.0.0?

We have version freeze and Mageia's release will be soon. Now better to revert and wait new version with fix from upstream. We tested version 0.6.1 - works ok.
I don't want LXDE with this critical issue.
Comment 14 Florian Hubold 2014-11-03 22:35:18 CET
Did you read the previous comments? menu-cache 1.0.0 is the first stable version, and upstream recommends to upgrade to this, as it's maintained and probably the only supported version, see the above link to lxde mailing list.

We can still revert later before release if there's no fix in sight.

Did you report the lxde menu issue upstream?
Comment 15 Nicolas Salguero 2014-11-04 10:03:23 CET
Created attachment 5570 [details]
lxde-common 0.99.0

Hi,

To solve the problem, the attached SRPM contains version 0.99.0 of lxde-common with all the patches (some are updated and there is a new one, 107, to reintroduce the copy of /etc/xdg/pcmanfm/default/pcmanfm.conf to $HOME/.config/pcmanfm/LXDE/pcmanfm.conf on first log in).

The main difference between 0.5.6 and 0.99.0 is that version 0.99.0 tries to create a menu from file /etc/xdg/menus/lxde-applications.menu when this file exists and not from /etc/xdg/menus/applications.menu (the problem comes from the parsing of this file).

The SPEC file also add a requirement on lxmenu-data which provides /etc/xdg/menus/lxde-applications.menu.

With all those changes, there is no more problem. 

Regards.

Nico.
Comment 16 Alex Loginov 2014-11-04 11:32:53 CET
Hi,Nico,

I commited your SRPM.

As you are future maintainer, then:
1) We use short patch's names instead of patch's numbers for logs:
http://svnweb.mageia.org/packages/cauldron/lxde-common/current/SPECS/lxde-common.spec?view=log
2) Don't forget to run rpmlint and you'll see incorrect desktop file (http://svnweb.mageia.org/packages/cauldron/lxde-common/current/SPECS/lxde-common.spec?r1=795478&r2=795480)
3) Please send all patches to upstream

I'm testing LXDE with lxde-common-0.99.0.
Comment 17 Alex Loginov 2014-11-04 16:06:28 CET
I tested i586: there is no more this issue.
Sometimes (not always) I see "TERMINATE" instead of "RU" in tray, but "EN" works fine. But it's another issue and I have no steps to reproduce.
Nico, great job!

Source RPM: menu-cache => menu-cache, lxde-common

Comment 18 Florian Hubold 2014-11-04 20:50:53 CET
Closing per the last comments.

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


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