| Summary: | Menu-cache 1.0.0 does not work at all | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Nicolas Salguero <nicolas.salguero> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | doktor5000, fundawang, loginov_alex, mageia, napcok, thierry.vignaud |
| Version: | Cauldron | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | menu-cache, lxde-common | CVE: | |
| Status comment: | |||
| Attachments: |
Screen with problem
lxde-common 0.99.0 |
||
|
Description
Nicolas Salguero
2014-10-30 15:58:06 CET
Manuel Hiebel
2014-11-01 19:10:29 CET
Keywords:
(none) =>
Triaged 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? 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 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. Just tried again with a newly created user, cannot reproduce. Status:
NEW =>
UNCONFIRMED 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 (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? Problem: No menu generated for LXDE (or empty menu) How to reproduce: install LXDE from Classical Installer DVD MGA5 beta1 pre-release iso. 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
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. 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 (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. 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/ 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. 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? 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.
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. 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 Closing per the last comments. Status:
NEW =>
RESOLVED |