| Summary: | bristol menu entries handled incorrectly by MATE and LXQt desktops | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Xavier Matz <c934w-xavm493b> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, marja11, nicolas.salguero, pkg-bugs, tarakbumba, zen25000 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | bristol-0.60.11-5.mga6.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
screenshot: bristol entries in "Sound & Video" sub-menu
screenshot: bristol entries as sub-entries of empty-named entry of main menu Screenshot LXDE Screenshot Screenshot |
||
|
Description
Xavier Matz
2016-03-09 19:03:14 CET
Created attachment 7532 [details]
screenshot: bristol entries in "Sound & Video" sub-menu
Created attachment 7533 [details]
screenshot: bristol entries as sub-entries of empty-named entry of main menu
Isn't xdg wonderful! I will take a look, It's absolutely fine in plasma5. CC:
(none) =>
zen25000 (In reply to Barry Jackson from comment #3) > > I will take a look, > Thanks, assigning to you then :-) CC'ing LXDE maintainer CC:
(none) =>
marja11, nicolas.salguero Created attachment 7544 [details]
Screenshot LXDE
I don't see this issue in LXDE - see screenshot, however I do in MATE and am investigating,
It seems the menu is the one from LXQt not the one from LXDE. Ah OK I don't have LXQT installed anywhere. However I have tested Bristol in Mageia 5 and in Cauldron in the following Desktops where the menus work correctly. Mageia 5 : KDE4, Openbox, LXDE. Cauldron: Plasma5, Openbox, LXDE. Under MATE it fails in both Mga5 and Cauldron. So my conclusion is that there is some xdg configuration in MATE regarding the handling of sub-menus that is incorrect and breaking this under MATE and LXQT. I have looked but I don't see it. The problem is that rather than adding the Bristol submenu to 'Sound & Video' and placing the further sub-menus below Bristol, it is creating a separate 'SoundVideo' menu entry containing Bristol and it's sub-menus and also adding Bristol's submenus under 'Sound & Video'. Screen shots from MATE follow. Created attachment 7546 [details]
Screenshot
Screenshot showing the submenu items for Bristol incorrectly included in Sound & Video'
Created attachment 7547 [details]
Screenshot
Screenshot showing the incorrectly added SoundVideo submenu containing the Bristol branch with it's submenus.
Barry Jackson
2016-03-10 13:57:53 CET
Summary:
bristol menu entries: weird and double in lxde menu =>
bristol menu entries handled incorrectly by MATE and LXQt desktops
Barry Jackson
2016-03-10 13:58:08 CET
Assignee:
zen25000 =>
bugsquad I have installed LXQt and confirm the same issue as in MATE. The incorrect SoundVideo appears with a blank name in LXQt and there is a similar problem with the menu branch containing Wine as described by Xavier. I did install both LXDE and LXQt at the time, but never use the latter. I only really use LXDE on a daily basis. So I don't know if maybe the fact of having installed LXQt too might have anything to do with my problem - and now that you mention LXQt, I do have the problem there as well - but the fact is: I do have that problem in LXDE too, and my screenshots were taken in LXDE, not LXQt. note: similar bug with the wine entries: https://bugs.mageia.org/show_bug.cgi?id=17925 I Checked LXDE in both Mga5 and Cauldron after installing LXQt and it still works correctly here. LXQt seems broken in many ways - system tray is a mess with broken icons - no way to log out/shut down (I had to use a tty to restart DM) but it does suffer the same menu issues in both Mga5 and Cauldron. Adding MGA5TOO. Whiteboard:
(none) =>
MGA5TOO
Barry Jackson
2016-03-10 18:42:05 CET
CC:
(none) =>
doktor5000 Added MATE and LXQt maintainers to cc CC:
(none) =>
tarakbumba Poking around it seems that the handling of 'applications-merged' is the issue. grepping the xdg/menus direcory for 'applications-merged' shows that only LXDE, LXQT and MATE have the <!-- Read in overrides and child menus from applications-merged/ --> comment line. [baz@jackodesktop xdg]$ grep -r "applications-merged" menus/mate-applications.menu: <!-- Read in overrides and child menus from applications-merged/ --> menus/mate-applications.menu: <MergeDir>applications-merged</MergeDir> menus/mate-settings.menu: <!-- Read in overrides and child menus from applications-merged/ --> menus/lxde-applications.menu: <!-- Read in overrides and child menus from applications-merged/ --> menus/lxqt-applications.menu: <!-- Read in overrides and child menus from applications-merged/ --> menus/lxqt-config.menu: <!-- Read in overrides and child menus from applications-merged/ --> menus/mate-screensavers.menu: <!-- Read in overrides and child menus from applications-merged/ --> Hi, The file lxde-applications.menu is normally used only by LXQt. LXDE normally uses applications.menu (maybe there is "menu_prefix=lxde-" in the section "Environment" of the file $HOME/.config/lxsession/LXDE/desktop.conf). That is why I supposed the menu was the one from LXQt. Best regards, Nico. indeed, there was this "menu_prefix=lxde-" in the file you mention. Looks like the cause for that may have been that described here: https://wiki.mageia.org/mw-en/index.php?title=Mageia_5_Errata&oldid=30956#LXDE Yes, it is that. For the new users, I modified the "template" configuration provided by the package mageia-lxde-config-Default (in the file /var/lib/mageia/lxde-profiles/Default/desktop.conf) to ensure they have "menu_prefix=" but old users need to manually correct their $HOME/.config/lxsession/LXDE/desktop.conf. (In reply to Barry Jackson from comment #7) > > So my conclusion is that there is some xdg configuration in MATE regarding > the handling of sub-menus that is incorrect and breaking this under MATE and > LXQT. > > I have looked but I don't see it. > > The problem is that rather than adding the Bristol submenu to 'Sound & > Video' and placing the further sub-menus below Bristol, it is creating a > separate 'SoundVideo' menu entry containing Bristol and it's sub-menus and > also adding Bristol's submenus under 'Sound & Video'. > Thanks for the debugging, Barry. Assigning to Mate maintainer Assignee:
bugsquad =>
tarakbumba This issue is not a MATE issue. You can see that relevant menu directories and menu layout is created by bristol package itself by the packager. It is created so that it fits Mageia specific menu layout (isn't it deprecated?) But MATE uses its default menu layout which i don't want to discard. So, if /etc/xdg/menus/application-merged/bristol.menu use "Multimedia" instead of "SoundVideo" as main directory then mate menu will happily display in Bristol submenu in Sound&Video menu tree. Altough it won't needed because mate-menus also looks for relevant desktop files and if it finds Audio or Video or AudioVideo categories it places those desktop files under Sound&Video tree directly. As explained i think this bug report is won't fix for me. (In reply to Atilla ÃNTAÅ from comment #20) > This issue is not a MATE issue. You can see that relevant menu directories > and menu layout is created by bristol package itself by the packager. It is > created so that it fits Mageia specific menu layout (isn't it deprecated?) I was not aware there was a "Mageia specific menu layout" > But MATE uses its default menu layout which i don't want to discard. So, if > /etc/xdg/menus/application-merged/bristol.menu use "Multimedia" instead of > "SoundVideo" as main directory then mate menu will happily display in > Bristol submenu in Sound&Video menu tree. Indeed, using Multimedia as top level works in MATE (as long as only X-Bristol is used in the sub-packages) This also works for KDE4, Plasma, IceWM, LXQT and OpenBox, however the menu entry is completely missing in XFCE and in LXDE "Bristol" becomes a top level menu, but does work. I am not happy though about using "Multimedia", as in Plasma, Bristol is then the only package (for me) that is under that top level menu option. In some of the above, "Multimedia" is the top level menu, in others it is Sound & Video and in LXDE it's "Bristol" as mentioned above. > Altough it won't needed because What is "it" - I don't follow that? > mate-menus also looks for relevant desktop files and if it finds Audio or > Video or AudioVideo categories it places those desktop files under > Sound&Video tree directly. > > As explained i think this bug report is won't fix for me. Well I'm rather stumped as this is a real mixed bag of worms that I do not really understand. There seems to be no consistency across D.E.s and what works for one does not for others. Should not all DEs follow a common specification? I mean that havingg a bristol submenu is not a must.Mate displays all bristol related entries in Sound&Video menu. Regarding following specs, bristol package don't do that as the issue...I don't know but i think other DEs just use our mageia layout instead of their upstream ones. Anyway i submitted a modified mate-menus package tonight.You can test mageia menu layout by installing matemenu-mageia-layout package. (In reply to Atilla ÃNTAÅ from comment #22) > I mean that havingg a bristol submenu is not a must.Mate displays all > bristol related entries in Sound&Video menu. Bristol installs so many packages that they really need to be separated into a sub-menu otherwise the Sound & Video menu is too cluttered, but I now understand what you meant ;) > > Regarding following specs, bristol package don't do that as the issue...I > don't know but i think other DEs just use our mageia layout instead of their > upstream ones. Problem here is that I do not see where bristol is not adhering to the spec :\ > > Anyway i submitted a modified mate-menus package tonight.You can test mageia > menu layout by installing matemenu-mageia-layout package. OK I will look at that tomorrow. Thanks. Sorry forgot about this. I have just tested in a fully updated Cauldron and in these DE's the Bristol menu works as intended: Plasma LXDE IceWM Openbox In these there is no top level Bristol entry and all the Bristol sub-apps are mixed up in the Sound and Video section. MATE LXQt XFCE If this is the best we can achieve then feel free to close this. CC'ing all packagers collectively because tarakbumba, the assignee, will be MIA for ± 11 weeks. CC:
(none) =>
pkg-bugs Reassigning to all packagers collectively as the original maintainer is not available anymore (thanks for all your work Atilla!). Assignee:
tarakbumba =>
pkg-bugs |