Bug#1099751: orca: Orca captures all input when focus changes to firefox
Samuel Thibault
sthibault at debian.org
Thu May 29 13:57:43 BST 2025
Sebastian Humenda, le mar. 27 mai 2025 17:08:27 +0200, a ecrit:
> Hi
>
> Samuel Thibault schrieb am 23.05.2025, 0:42 +0200:
> >Sebastian Humenda, le jeu. 22 mai 2025 18:36:34 +0200, a ecrit:
> >> >> >> I've tried a new user and it is indeed gone. I've purged the configurations
> >> >> >> of orca (~/.local/share/orca) and firefox (~/.mozilla). For the "old" user,
> >> >> >> the problem persists.
> […]
> >> >> Traceback (most recent call last):
> >> >> File "/usr/lib/python3/dist-packages/orca/input_event_manager.py", line 239, in process_keyboard_event
> >> >> event = input_event.KeyboardEvent(pressed, keycode, keysym, modifiers, text)
> >> >> File "/usr/lib/python3/dist-packages/orca/input_event.py", line 137, in __init__
> >> >> if self.keyval_name.startswith("KP"):
> >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >> >> AttributeError: 'NoneType' object has no attribute 'startswith'
> >> >
> >> >Perhaps that could be related to your keyboard layout?
> >>
> >> Plain German layout, no modifications.
> >
> >Is that the same in your fresh account? Does it get the same
> >AttributeError?
>
> It is German and I didn't configure anything. I wasn't able to reproduce this
> error, though.
So there could still be something different somehow in the keyboard
event content that triggers this error. Perhaps you can add before that
if:
if self.keyval_name is None:
self.keyval_name = "Unknown"
to avoid that error in particular?
Samuel
More information about the Pkg-a11y-devel
mailing list