<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear List,</p>
    <p><br>
    </p>
    <p>My name is Attila Hammer, I am not an official Debian developer,
      but very old time using Debian distributions (since 1999).</p>
    <p>I using the system with Orca screen reader, and because Debian
      stable ships with Orca 43.0 version the stable branch, I installed
      Orca from stable-backports repository.</p>
    <p>Until 46.0 version from backports repository not have any
      incompatibility, but when 47.0 landed the stable-backports
      repository, Orca preferences dialog are begun not worked, when
      pressed INSERT+SPACE key in Orca and pressed a right arrow for
      example to jump the voice page, when I doed a tab keystroke to
      move between dialog controls, Orca is total silent.</p>
    <p><br>
    </p>
    <p>I sent Joanmarie Diggs Orca upstream developer a full debug file
      and a recordmydesktop video to she seeing visually what happens
      when I not see any Braille or speech output.</p>
    <p>In september 27 we get following notification from Joanmarie the
      Orca list:</p>
    <p>„<span style="white-space: pre-wrap">Hey all.</span></p>
    <pre class="moz-quote-pre" wrap="">
Orca v47 includes a change to no longer listen for the "focus:" event.
The "focus:" event was deprecated like 13 or 14 years ago. When I made
this change during the development cycle, we discovered that there was a
GTK3 bug that needed to be fixed. That bug was fixed in May and is
included in the GTk 3.24.42 release. The current stable version of GTk 3
is 3.24.43. So distros should hopefully pick this version up.

But I am starting to suspect distros are not doing so.

CCing Samuel since I received a private bug report from a Debian user
whose debug.out suggests missing "object:state-changed:focused" events
and reports GTK version 3.24.38.

--joanie”

In october 1 I have more time, and looked upstream GTK repository the 3.24.42 branch what commit fixed this wrote upstream bug (I already tested a patched Gtk+3.0 stable package version local my Bookworm system with good result):
</pre>
    <p>„commit 5147e95d1d6a02212b1f51c2cc0a61653425850a<br>
      Author: Michael Weghorn <a class="moz-txt-link-rfc2396E"
        href="mailto:m.weghorn@posteo.de"><m.weghorn@posteo.de></a><br>
      Date:   Wed May 8 11:32:27 2024 +0200<br>
      <br>
          a11y: Port from deprecated atk_focus_tracker_notify<br>
          <br>
          Port `gail_focus_notify` from using the deprecated<br>
          `atk_focus_tracker_notify` to notify about the new<br>
          focus object. Notify of a state of the focused state<br>
          instead, as suggested in the<br>
          `atk_focus_tracker_notify` doc [1].<br>
          <br>
          Using the deprecated function e.g. resulted in<br>
          the Orca screen reader no longer announcing<br>
          initial focus on editable comboboxes in<br>
          LibreOffice Writer's toolbars after Orca dropped<br>
          support for the deprecated "focus" AT-SPI event<br>
          in this commit [2]:<br>
          <br>
              commit 9e2902dd46c7e583a097e235dfd7e3c50b016383<br>
              Author: Joanmarie Diggs <a class="moz-txt-link-rfc2396E"
        href="mailto:jdiggs@igalia.com"><jdiggs@igalia.com></a><br>
              Date:   Wed May 1 12:14:07 2024 +0200<br>
          <br>
                  Remove the on_focus handler for the LibreOffice script<br>
          <br>
                  The "focus:" event was deprecated many years ago. If
      the expected<br>
                  "object:state-changed:focused" event is absent, that
      bug should<br>
                  be fixed.<br>
          <br>
          This commit makes the announcement work again.<br>
          <br>
          It also fixes the scenario described in [3].<br>
          <br>
          [1] <a class="moz-txt-link-freetext"
        href="https://docs.gtk.org/atk/func.focus_tracker_notify.html">https://docs.gtk.org/atk/func.focus_tracker_notify.html</a><br>
          [2]
      <a class="moz-txt-link-freetext"
href="https://gitlab.gnome.org/GNOME/orca/-/commit/9e2902dd46c7e583a097e235dfd7e3c50b016383">https://gitlab.gnome.org/GNOME/orca/-/commit/9e2902dd46c7e583a097e235dfd7e3c50b016383</a><br>
          [3] <a class="moz-txt-link-freetext"
href="https://gitlab.gnome.org/GNOME/gtk/-/issues/454#note_2099344">https://gitlab.gnome.org/GNOME/gtk/-/issues/454#note_2099344</a><br>
          <br>
          Fixes: #454”</p>
    <p><br>
    </p>
    <p>Because the latest stable version (3.24.43 version I think) not
      compiled me my Bookworm system, I download actual awailable source
      package version source code, import the proper attached patch with
      quilt import command, and recompile the package source code.</p>
    <p>After all required new packages are installed, Orca preferences
      dialog in 47.0 version works perfect again for me, I again hear
      correct speech output with all controls related and see all
      braille output my braille display again the Orca preferences
      dialog.</p>
    <p>I attaching the patch.</p>
    <p><br>
    </p>
    <p>I already consulted Samuel Thibault and sent he the patch, but
      because he longer time is busy, directed me to this list.<br>
      Is it possible to publish this patch officially in the GTK+3.0
      version in the stable branch, or is it better to distribute this
      patch in the stable-backports branch? Is the attached patch
      sufficient for this purpose, or do you need a debdiff patch?<br>
      Unfortunately, I don't have package upload privileges, so the only
      thing I could do to solve the error was to find out which commit
      solves  this error since Gtk+3.42 version.</p>
    <p><br>
    </p>
    <p>Sorry the lot of quotes, and excuse me if some time not good my
      english, only my secondary language the english language.</p>
    <p><br>
    </p>
    <p>Kind regards, and hopefully this attached patch helps future
      resolve this incompatibility issue the Orca 47.0 version and
      available stable Gtk.3.38 version in Bookworm, testing and sid
      branches are not affected,<br>
    </p>
    <p><br>
    </p>
    <p>Attila<br>
    </p>
  </body>
</html>