Bug 1172311 - Mate Advanced Menu does not show/load (mate-menu)
Summary: Mate Advanced Menu does not show/load (mate-menu)
Status: REOPENED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Leap 15.3
Hardware: x86-64 openSUSE Leap 15.3
: P5 - None : Normal with 16 votes (vote)
Target Milestone: ---
Assignee: Alexei Sorokin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 23:57 UTC by Andrew Lundgren
Modified: 2021-08-09 01:58 UTC (History)
10 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Lundgren 2020-05-30 23:57:01 UTC
I am unable to use the Mate Advanced Menu.  It shows on the add applet panel, allows me to add it, but nothing happens.

The only sign anything has happened from the logs in:
/var/log/warn:
2020-05-30T17:24:21.480846-06:00 localhost mate-menu[5790]: need to free the control here

If I uninstall mate-menu and login again, it errors that the application is missing and asks if I want to delete the configuration.

It asks once for each time I have tried to add the menu to the panel.

I am not sure what else to debug to track it down.

These are the packages that seem to be related to this RPM:

mate-menu-20.04.1-lp151.1.1.noarch
mate-menu-lang-20.04.1-lp151.1.1.noarch
mate-menus-branding-openSUSE-42.1-lp151.6.3.noarch
Comment 1 Felix Niederwanger 2020-07-03 17:30:01 UTC
I'm having the same issue on a fresh Leap 15.2 install. It works fine on Tumbleweed though.

Same error message as Andrew Lundgren

[2020-07-03T19:27:32.62002+02:00 mjoelnir mate-menu[3159]: need to free the control here
Comment 2 S. B. 2020-07-18 14:39:34 UTC
I confirm this, and unfortunately there are no usable error logs that I can find, including in ~/.xsession-errors.

As a related problem, this basically makes Mate Tweaks completely worthless, the whole thing crashes.
Comment 3 Zhon Zely 2020-07-21 18:24:49 UTC
Same with pulseaudio
Comment 4 Andrew Lundgren 2020-07-21 18:53:04 UTC
I see this was closed as fixed, how does one get this fix?  I still have the problem.
Comment 5 Andrew Lundgren 2020-07-21 19:02:19 UTC
(In reply to Andrew Lundgren from comment #4)
> I see this was closed as fixed, how does one get this fix?  I still have the
> problem.

I am now running on 15.2 with the following rpms and still see the issue:

libmate-menu2-1.24.0-lp152.1.1.x86_64
mate-menus-lang-1.24.0-lp152.1.1.noarch
mate-menu-20.04.1-lp152.1.1.noarch
mate-menus-branding-openSUSE-42.1-lp152.6.1.noarch
mate-menus-1.24.0-lp152.1.1.x86_64
mate-menu-lang-20.04.1-lp152.1.1.noarch
Comment 6 Anastasios Papadopoulos 2020-08-11 20:19:08 UTC
I have also seen the issue under the following circumstances:

I've had this problem with the new LEAP 15.2 and Tumbleweed. I've verified by re-installing multiple times.
I installed all DESKTOPs, i.e. GNOME, Classic, SLE, MATE, XFCE, etc.

After installation I tried MATE, which so far is my favorite; It worked just fine.
Then I logged out and logged back in with XFCE; Fine as well.
I then tried GNOME to see what it looked like, although I do not like it. (I tried X and Wayland)

When I logged out and tried to log back in to MATE, my panel was missing the Advanced Menu; I tried adding it, without success. I can add MATE Menu.

After a couple of attempts to switch between desktops, the system starting freezing after the boot loader.

I've repeated the process and it appears to have something to do with GNOME. I finally installed MATE and XFCE and all is fine.
Comment 7 Elliott Scott 2020-09-02 22:21:29 UTC
(In reply to Anastasios Papadopoulos from comment #6)

> I've repeated the process and it appears to have something to do with GNOME.
> I finally installed MATE and XFCE and all is fine.

So if I'm understanding you correctly, reinstalling openSUSE Leap 15.2, and selecting only Mate and XFCE as your DM's, you're able to get past this problem? I will test this out.  Thank you for your efforts!
Comment 8 Elliott Scott 2020-09-03 01:56:54 UTC
(In reply to Elliott Scott from comment #7)
> (In reply to Anastasios Papadopoulos from comment #6)
> 
> > I've repeated the process and it appears to have something to do with GNOME.
> > I finally installed MATE and XFCE and all is fine.
> 
> So if I'm understanding you correctly, reinstalling openSUSE Leap 15.2, and
> selecting only Mate and XFCE as your DM's, you're able to get past this
> problem? I will test this out.  Thank you for your efforts!

So I tried to reproduce a "working" condition given the description you have above and I was unable to reporduce it. The problem still exists after a fresh install of Leap 15.2 with MATE and XFCE only. This also includes a brand new user, so no leftover .local settings to contend with.
Comment 9 Zhon Zely 2020-10-02 21:27:50 UTC
Friends do not insist more than this and pulseaudio they will not fix it. They don't care about those little ones. It worked perfect and in one go in version 15.0 and 15.1. You have to wait for 15.2 to see if it is solved by a miracle.
Comment 10 Zhon Zely 2020-10-02 22:04:39 UTC
Friends this is open source. They don't get paid, they just do it to contribute and in their free time. Sometimes they do not have enough free time to present a good quality product. Do like me, there are at least a hundred distributions, and at least one of them works for your purpose, is what I do. I continually change when these setbacks occur. Of course, don't even think about going back to Microsoft Windows (it's like working with chained hands.)
Comment 11 Jason Evans 2020-12-26 16:02:14 UTC
Confirmed also in the latest build of Tumbleweed.

Workaround:

Right click on panel --> Add to Panel --> Classic Menu
Comment 12 Jason Evans 2021-06-16 19:40:08 UTC
Here's a fix. This must be done before mate is run the first time, so it would be best to implement in the package, not as a post-install workaround.

Replace the contents of /usr/share/mate-panel/layouts/opensuse.layout with the following:


```
[Toplevel top]
expand=true
orientation=top
size=24

[Object menu-bar]
object-type=menu-bar
toplevel-id=top
position=0
locked=true

[Object file-browser]
object-type=launcher
launcher-location=/usr/share/applications/caja-browser.desktop
toplevel-id=top
position=10
locked=true

[Object terminal]
object-type=launcher
launcher-location=/usr/share/applications/mate-terminal.desktop
toplevel-id=top
position=20
locked=true

[Object web-browser]
object-type=launcher
launcher-location=/usr/share/applications/firefox.desktop
toplevel-id=top
position=30
locked=true

[Object volume-control]
object-type=applet
applet-iid=GvcAppletFactory::GvcApplet
toplevel-id=top
position=20
panel-right-stick=true
locked=true

[Object notification-area]
object-type=applet
applet-iid=NotificationAreaAppletFactory::NotificationArea
toplevel-id=top
position=10
panel-right-stick=true
locked=true

[Object clock]
object-type=applet
applet-iid=ClockAppletFactory::ClockApplet
toplevel-id=top
position=0
panel-right-stick=true
locked=true

[Object window-list]
object-type=applet
applet-iid=WnckletFactory::WindowListApplet
toplevel-id=top
position=40
locked=true

[Object workspace-switcher]
object-type=applet
applet-iid=WnckletFactory::WorkspaceSwitcherApplet
toplevel-id=top
position=50
panel-right-stick=true
locked=true
```

This doesn't change the fact that "Mate Advanced Menu" is broken. However it does provide the user with a working menu out of the box for Mate.
Comment 13 Elliott Scott 2021-06-17 17:05:10 UTC
We've documented a workaround/fix for this issue in the forums:

https://forums.opensuse.org/showthread.php/541411-MATE-Desktop-No-Advanced-MATE-Menu-on-Panel?p=3018545#post3018545

The simple edit to the /usr/lib/mate-menu/mate-menu.py file resolves the issue with the advanced-mate menu not showing up. Not sure if folks are aware of this. This applies to Leap 15.2
Comment 14 Peter Keller 2021-06-18 11:50:02 UTC
(In reply to Elliott Scott from comment #13)
> We've documented a workaround/fix for this issue in the forums:
> 
> https://forums.opensuse.org/showthread.php/541411-MATE-Desktop-No-Advanced-
> MATE-Menu-on-Panel?p=3018545#post3018545
> 
> The simple edit to the /usr/lib/mate-menu/mate-menu.py file resolves the
> issue with the advanced-mate menu not showing up. Not sure if folks are
> aware of this. This applies to Leap 15.2

This fix makes the menu appear, but in my hands nothing shows up in the menu under "All Applications". I don't know if that is a different issue or not - could someone else check?
Comment 15 Mate Leap 2021-08-09 01:58:01 UTC
(In reply to Peter Keller from comment #14)
> (In reply to Elliott Scott from comment #13)
> > We've documented a workaround/fix for this issue in the forums:
> > 
> > https://forums.opensuse.org/showthread.php/541411-MATE-Desktop-No-Advanced-
> > MATE-Menu-on-Panel?p=3018545#post3018545
> > 
> > The simple edit to the /usr/lib/mate-menu/mate-menu.py file resolves the
> > issue with the advanced-mate menu not showing up. Not sure if folks are
> > aware of this. This applies to Leap 15.2
> 
> This fix makes the menu appear, but in my hands nothing shows up in the menu
> under "All Applications". I don't know if that is a different issue or not -
> could someone else check?

I confirm this bug exists in openSUSE Leap 15.3, however the workaround of editing the /usr/lib/mate-menu/mate-menu.py file as root solved this problem. Probably the package maintainer needs to kindly patch the package to automatically amend line 534 and change it from "text=True" to "universal_newlines=True" without the need for manual editing of this configuration file by the average user.