Public bug reported:

The Advanced Mate Menu takes seconds to appear when clicked. I think
this started happening after I removed the 'Super' keybinding from the
menu using gsettings.

Apport shows a crash happening under the hood which looks like:
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]: 
Traceback (most recent call last):
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:   
File "/usr/lib/mate-menu/mate-menu.py", line 502, in onWindowUnmap
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:     
self.keybinder.set_focus_window()
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:   
File "/usr/lib/python3/dist-packages/mate_menu/keybinding.py", line 127, in 
set_focus_window
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:     
self.ungrab()
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:     
~~~~~~~~~~~^^
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:   
File "/usr/lib/python3/dist-packages/mate_menu/keybinding.py", line 116, in 
ungrab
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:     
if self.keycode:
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]:       
 ^^^^^^^^^^^^
 Apr 25 10:13:18 kanga org.mate.panel.applet.MateMenuAppletFactory[5897]: 
AttributeError: 'GlobalKeyBinding' object has no attribute 'keycode'


Editing /usr/lib/python3/dist-packages/mate_menu/keybinding.py and adding 
`self.keycode = None` to the GlobalKeyBinding constructor seems to fix the 
problem for me.

** Affects: mate-menu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109298

Title:
  advanced mate-menu takes seconds to appear when clicked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-menu/+bug/2109298/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to