Comment 57 for bug 1366421

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote : Re: [Bug 1366421] Re: d-bus method for setting the auto-show option

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

You may want to ignore the previous comment/exception, if you're not sure why it
would happen. Because after a reboot, things seem to be fine. I am surprised
though. The only onbard related stuff running is the onboard.py process. I had
killed it and ran onboard -ddebug and it threw that exception.

And now, the same packages, seem to be working fine. Including the functionality
for auto-show/hide.

On Fri, 2017-01-27 at 16:53 +0530, Ritesh Raj Sarraf wrote:
> On Fri, 2017-01-27 at 00:21 +0000, marmuta wrote:
> > Hmm, doesn't look like it's working as intended. Auto-hide on key-press
> > is interfering. I missed to blacklist the keycodes for tablet-mode
> > detection, will do that. For the time being please disable Preference
> > ->Auto-show->"Hide when typing on a physical keyboard".
>
> I picked revision 2216 to test if it fixes the blacklist problem.
> But it throws an exception.
>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/Onboard/XInput.py", line 395, in
> _on_device_event
>     callback(ev)
>   File "/usr/lib/python3/dist-packages/Onboard/GlobalKeyListener.py", line
> 175, in _on_device_event
>     self.emit("key-press", event)
>   File "/usr/lib/python3/dist-packages/Onboard/utils.py", line 1314, in emit
>     callback(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/Onboard/AutoHide.py", line 67, in
> _on_key_press
>     s = self._key_listener.get_key_event_string(event)
> AttributeError: 'GlobalKeyListener' object has no attribute
> 'get_key_event_string'
>
>
>
>
- --
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAliLU6cACgkQpjpYo/Lh
dWkEbA//TetMaExwcds+XtuG0yY0Pl8lfVTNZB1/XQUiDNBa0Qo6K/Kw6gUvrn+A
OswVw6DINGwRcrINgvdKpmSJqFdigMcvaL4gJ3iNo8WtJZAvY4yvPwEfzAHabsiC
BTYBiL8bpnMaX6pFvP0kdjcKXz/R2i9DBzXuRgXUx6YADle59fdVG4p0RAY0sdDN
1lzMjJu0GM4wmwl+3OhJChTMMR0dE369GLZZuM3rbiiUPt0KrODZP4U3Y3MFlWHM
UeYpbkqqy1tRAuOTWjYOEOnz0kKYIJ9s1cr2oPfqIPdair/QL5mjVvZ85p9Nb2EQ
RVihFeyWDQRjzEABX1sHzi9VIS/bkl6Zp8IHLD/Fhxb/6uqyrnjQ9a5FPXOIGDdp
oUW3pN8ws1S9swDcKUbg5FNSjatAcYLTnAWTPslgjCQS4gXneMsTGszj5aQ4NWGS
MM3IIpOasrGNrhtzSGUZRt0w9W493Uz7gCEPU5AnGL9O4gKKUY/LkaPIkDukohmg
pv5i0pFoQLZn9G2aCPo0zdYF7YQWWJMAufKrp8GQfUNsTbVBNDhpxMv324Eznek4
Ceybmc10INVprMApv/tCnvUsAzwBTIeglartvNkjy7gQYA1MNrmYGjP8v3dHV0/R
jo/BjmKoiree4jeGS8icibZMOsbvXghmTPwixwwM/pShT4W53X4=
=dh+s
-----END PGP SIGNATURE-----