Mudlet icon indicating copy to clipboard operation
Mudlet copied to clipboard

Mudlet reading incoming text when window not focused

Open celtichawk opened this issue 2 years ago • 1 comments

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:

  1. Launch Mudlet with Orca running
  2. Connect a single profile and connect to/log int to a game or have a way to reliably send text from the connected game
  3. 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

celtichawk avatar Aug 03 '22 12:08 celtichawk

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.

vadi2 avatar Aug 03 '22 13:08 vadi2