Mudlet
Mudlet copied to clipboard
Mudlet reading incoming text when window not focused
Brief summary of issue / Description of requested feature:
When a single profile is connected, Orca reads out the incoming text from the active profile regardless of the window being in focus or not.
Steps to reproduce the issue / Reasons for adding feature:
- Launch Mudlet with Orca running
- Connect a single profile and connect to/log int to a game or have a way to reliably send text from the connected game
- Switch away from the window while having a single connection active
Error output / Expected result of feature
The incoming text to Mudlet is read out regardlesss of the window being focused or not, when it should not be read out if the window is not in focus consistent with the behavior on Windows/Mac versions of Mudlet
Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:
This only affects Linux and is solve in other apps where incoming text is not read out when a window is not in focus
This comes down to the fact that Linux (Orca) chooses to read out the announcements - whereas Windows and macOS choose not to read them out.
What an improvement here should do is check if the mudlet window is in focus, and if it's not in focus, don't send any text to the screenreader system.