orschiro@x230:~$ killall mate-hud
orschiro@x230:~$ /usr/lib/mate-hud/mate-hud &
[1] 14791
orschiro@x230:~$ INFO:root:Press Alt_L to handle keybinding and quit
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1413, in __getattr__
return self._data[attr]
KeyError: 'time'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/mate-hud/mate-hud", line 509, in run
self.display.ungrab_keyboard(event.time)
File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1417, in __getattr__
raise AttributeError(attr)
AttributeError: time
Yay! This is incredibly helpful! I’ve been trying to get an error output for a while. I think I know what’s happening. I’ll work on a fix as soon as I get back within reach of a computer
@ouroumov - in the case of mate-hud, it just happens to run on python3.6… the error actually comes from python-xlib, where it raises an error due to a missing time attribute in the XEvent (which can typically only happen if another app created a synthetic event and forgot to put a time to it).
To your point, though, python3 is less forgiving than python2. So I assume that we’ll see a few more of these errors (like the one in software boutique) as we migrate more and more of the system to python3.
@orschiro, I submitted a fix for this (and some other improvements to the key bindings) and from what I can see @Wimpy tagged them for Artful, so they should be there now (or at least very soon, I’m not familiar with the repo update process).
Whenever you get the chance, if you can test this and let me know if it works for you, that’d be very helpful. Hopefully we can fix this thing once and for all!
@orschiro, I can confirm this is happening. Took me a while to find other apps that have Alt key bindings. Found a few with mostly Alt+Return for properties (Atril, EoM, etc).
Seems like mate-hud is, again, to blame here… I’ll take a look
Pressing Alt is also how you reveal Firefox’s menubar. Since many/most HUD users will have the global menu, and since the HUD itself gives access to the menu, this may be fine. Just something else to consider.
@elcste thanks for mentioning that! Something that I disable immediately first time I launch Firefox. It just always annoys me. Personal preference, I guess…
@orschiro - I changed how the mate-hud keybindings were happening and it seems like it fixed the issue with Firefox et al. The change is now available in the Artful daily build
I think the package should show up in your Artful install as soon as you update. The daily build just gets re-released into a fresh .iso every day for dev/test purposes, but Alpha, Beta, etc should all have the updates. I’m not entirely sure how the releases work