Skip to content

Set BRLAPI priority to 70 when using flat review to avoid it to be locked by BRLTTY

Patrick Zajda requested to merge Nardol/orca:brlapi_priority into master

Since BRLTTY manage terminal, it is not possible to use flat review with Braille. To allow it again, Orca has to increase BRLAPI priority to 70 to be higher than BRLTTY (60). This MR do the following:

  • Implement braille.setBrlapiPriority() with a parameter level with a default value of 50
  • This method is called in focus_manager.emit_region_changed() with level set to 70 if new mode is flat review, else it is called with default value to restore Orca priority.

Messages are the missing piece of this MR, in a terminal nothing is displayed in braille in case of a message.

Merge request reports