From shumenda at gmx.de Thu May 22 17:28:20 2025 From: shumenda at gmx.de (Sebastian Humenda) Date: Thu, 22 May 2025 18:28:20 +0200 Subject: Bug#1099751: orca: Orca captures all input when focus changes to firefox In-Reply-To: References: Message-ID: Hi Samuel Thibault schrieb am 16.05.2025, 0:32 +0200: >Sebastian Humenda, le mer. 14 mai 2025 18:09:23 +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. >> What other components are involved that might have stale state/configuration? > >Perhaps some MATE desktop keyboard shortcut management? I went through all my settings and purged whatever I found not necssary. .local, .config and .mozilla I renamed. I still have issues. When I try to capture another debug log (attached) I get this traceback on the console that I started Orca on: 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' Thanks Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: debug-2025-05-22-18:17:43.out.xz Type: application/x-xz Size: 70148 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From sthibault at debian.org Thu May 22 17:30:46 2025 From: sthibault at debian.org (Samuel Thibault) Date: Thu, 22 May 2025 18:30:46 +0200 Subject: Bug#1099751: orca: Orca captures all input when focus changes to firefox In-Reply-To: References: Message-ID: Sebastian Humenda, le jeu. 22 mai 2025 18:28:20 +0200, a ecrit: > Hi > > Samuel Thibault schrieb am 16.05.2025, 0:32 +0200: > >Sebastian Humenda, le mer. 14 mai 2025 18:09:23 +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. > >> What other components are involved that might have stale state/configuration? > > > >Perhaps some MATE desktop keyboard shortcut management? > > I went through all my settings and purged whatever I found not necssary. > .local, .config and .mozilla I renamed. I still have issues. When I try to > capture another debug log (attached) I get this traceback on the console that > I started Orca on: > > 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? Samuel From shumenda at gmx.de Thu May 22 17:36:34 2025 From: shumenda at gmx.de (Sebastian Humenda) Date: Thu, 22 May 2025 18:36:34 +0200 Subject: Bug#1099751: orca: Orca captures all input when focus changes to firefox In-Reply-To: References: Message-ID: Hi Samuel Thibault schrieb am 22.05.2025, 18:30 +0200: >Sebastian Humenda, le jeu. 22 mai 2025 18:28:20 +0200, a ecrit: >> Hi >> >> Samuel Thibault schrieb am 16.05.2025, 0:32 +0200: >> >Sebastian Humenda, le mer. 14 mai 2025 18:09:23 +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. >> >> What other components are involved that might have stale state/configuration? >> > >> >Perhaps some MATE desktop keyboard shortcut management? >> >> I went through all my settings and purged whatever I found not necssary. >> .local, .config and .mozilla I renamed. I still have issues. When I try to >> capture another debug log (attached) I get this traceback on the console that >> I started Orca on: >> >> 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. I set LC_ALL=en_GB.UTF-8 (installed on the system) to capture the debug output, to avoid localisation in the logs. It might be due to this that it tries to guess something about the keyboard layout from the locale. But the problem exists regardless whether I start Orca with my native locale or with en_GB. Cheers Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From sthibault at debian.org Thu May 22 23:42:49 2025 From: sthibault at debian.org (Samuel Thibault) Date: Fri, 23 May 2025 00:42:49 +0200 Subject: Bug#1099751: orca: Orca captures all input when focus changes to firefox In-Reply-To: References: Message-ID: Sebastian Humenda, le jeu. 22 mai 2025 18:36:34 +0200, a ecrit: > Samuel Thibault schrieb am 22.05.2025, 18:30 +0200: > >Sebastian Humenda, le jeu. 22 mai 2025 18:28:20 +0200, a ecrit: > >> Samuel Thibault schrieb am 16.05.2025, 0:32 +0200: > >> >Sebastian Humenda, le mer. 14 mai 2025 18:09:23 +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. > >> >> What other components are involved that might have stale state/configuration? > >> > > >> >Perhaps some MATE desktop keyboard shortcut management? > >> > >> I went through all my settings and purged whatever I found not necssary. > >> .local, .config and .mozilla I renamed. I still have issues. When I try to > >> capture another debug log (attached) I get this traceback on the console that > >> I started Orca on: > >> > >> 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 might be due to this that it tries to guess something about the > keyboard layout from the locale. No, orca just takes the keyboard layout from the X server, it doesn't modify the layout by itself, it just tweaks it from what is already there. Samuel