Version in base suite: 6.7-3.1 Base version: brltty_6.7-3.1 Target version: brltty_6.7-3.1+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/b/brltty/brltty_6.7-3.1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/b/brltty/brltty_6.7-3.1+deb13u1.dsc changelog | 7 +++++++ patches/git-notext-noread | 43 +++++++++++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 51 insertions(+) diff -Nru brltty-6.7/debian/changelog brltty-6.7/debian/changelog --- brltty-6.7/debian/changelog 2025-05-02 15:30:21.000000000 +0000 +++ brltty-6.7/debian/changelog 2025-09-03 21:42:53.000000000 +0000 @@ -1,3 +1,10 @@ +brltty (6.7-3.1+deb13u1) trixie; urgency=medium + + * patches/git-notext-noread: AtSpi2: not manage widgets without text + interface. + + -- Samuel Thibault Wed, 03 Sep 2025 23:42:53 +0200 + brltty (6.7-3.1) unstable; urgency=medium [ Lucas Nussbaum ] diff -Nru brltty-6.7/debian/patches/git-notext-noread brltty-6.7/debian/patches/git-notext-noread --- brltty-6.7/debian/patches/git-notext-noread 1970-01-01 00:00:00.000000000 +0000 +++ brltty-6.7/debian/patches/git-notext-noread 2025-09-03 21:42:49.000000000 +0000 @@ -0,0 +1,43 @@ +commit e541b4ca52b6ae220813a80b218a41c2ff4d4818 +Author: Samuel Thibault +Date: Wed Jun 4 14:58:30 2025 +0200 + + AtSpi2: do not manage widgets without text interface + + We will not get any content anyway, and trying to call GetText on the + will make them emit warnings: + + CRITICAL **: 14:14:10.233: impl_GetText: assertion 'ATK_IS_TEXT (user_data)' failed + +diff --git a/Drivers/Screen/AtSpi2/a2_screen.c b/Drivers/Screen/AtSpi2/a2_screen.c +index c8df1f24e..bb20b9c04 100644 +--- a/Drivers/Screen/AtSpi2/a2_screen.c ++++ b/Drivers/Screen/AtSpi2/a2_screen.c +@@ -730,7 +730,6 @@ static void restartTerm(const char *sender, const char *path) { + /* Switched to a new object, check whether we want to read it, and if so, restart with it */ + static void tryRestartTerm(const char *sender, const char *path) { + if (curPath) finiTerm(); +- restartTerm(sender, path); + + curRole = getRole(sender, path); + logMessage(LOG_CATEGORY(SCREEN_DRIVER), +@@ -750,6 +749,9 @@ static void tryRestartTerm(const char *sender, const char *path) { + } + + if (requested) curQuality = SCQ_GOOD; ++ ++ if (curQuality != SCQ_NONE) ++ restartTerm(sender, path); + } + + /* Get the state of an object */ +@@ -1882,6 +1884,9 @@ setSelection_AtSpi2Screen (int beginOffset, int endOffset) { + dbus_int32_t begin = beginOffset; + dbus_int32_t end = endOffset; + ++ if (!curSender) ++ return 0; ++ + msg = new_method_call(curSender, curPath, SPI2_DBUS_INTERFACE_TEXT, "SetSelection"); + if (!msg) + return 0; diff -Nru brltty-6.7/debian/patches/series brltty-6.7/debian/patches/series --- brltty-6.7/debian/patches/series 2025-05-02 15:28:21.000000000 +0000 +++ brltty-6.7/debian/patches/series 2025-09-03 21:42:53.000000000 +0000 @@ -4,3 +4,4 @@ disable-synth-callback.patch git-make-shuffle fix_german_translation_for_brltty_6.7 +git-notext-noread