<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Package: <a
        href="https://packages.debian.org/bookworm/libgail-3-0">libgail-3-0</a></p>
    <p>Source: gtk+3.0</p>
    Version: 3.24.38-2~deb12u2<br>
    Severity: important<br>
    <code>X-Debbugs-CC: <a class="moz-txt-link-abbreviated" href="mailto:sthibault@debian.org">sthibault@debian.org</a>, </code><br>
    Dear Maintainer,<br>
    <br>
    *** Reporter, please consider answering these questions, where
    appropriate ***<br>
    <br>
    * What led up to the situation?<br>
    My name is Attila Hammer, I am not an official Debian developer, but
    very old time using Debian distributions (since 1999).<br>
    <br>
    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.<br>
    <br>
    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.<br>
    <br>
    <br>
    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.<br>
    <br>
    In september 27 we get following notification from Joanmarie the
    Orca list:<br>
    <br>
    „Hey all.<br>
    <br>
    Orca v47 includes a change to no longer listen for the "focus:"
    event.<br>
    The "focus:" event was deprecated like 13 or 14 years ago. When I
    made<br>
    this change during the development cycle, we discovered that there
    was a<br>
    GTK3 bug that needed to be fixed. That bug was fixed in May and is<br>
    included in the GTk 3.24.42 release. The current stable version of
    GTk 3<br>
    is 3.24.43. So distros should hopefully pick this version up.<br>
    <br>
    But I am starting to suspect distros are not doing so.<br>
    <br>
    CCing Samuel since I received a private bug report from a Debian
    user<br>
    whose debug.out suggests missing "object:state-changed:focused"
    events<br>
    and reports GTK version 3.24.38.<br>
    <br>
    --joanie”<br>
    <br>
    * What exactly did you do (or not do) that was effective (or<br>
    ineffective)?<br>
    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):<br>
    <br>
    „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>
    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>
    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>
    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>
    Remove the on_focus handler for the LibreOffice script<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>
    This commit makes the announcement work again.<br>
    It also fixes the scenario described in [3].<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>
    Fixes: #454”<br>
    <br>
    <br>
    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.<br>
    <br>
    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 when I
    doing TAB and SHIFT+TAB keyboard navigation.<br>
    <br>
    I attaching the patch the next command after bug report is sent.<br>
    <br>
    I already consulted Samuel Thibault and sent he the patch, but
    because he longer time is busy, directed me to the GTK+3.0 Debian
    PKG GNOME maintainers 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.<br>
    <br>
    Sorry the lot of quotes, and excuse me if some time not good my
    english, only my secondary language the english language.<br>
    <br>
    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>
    <br>
    Attila<br>
    * What was the outcome of this action?<br>
    When I using the patched version, I hear right in Orca 47.0 with all
    required GTK visually widgets related informations, and see all
    required important informations my Braille display.<br>
    * What outcome did you expect instead?<br>
    If I using the original STABLE Gtk+3.0 package version with
    awailable in Bookworm and using from backports repository the Orca
    screen reader 47.0 version, entire Orca preferences dialog are
    unusable with speech and Braille support (both speech and Braille
    support important with visually impaired users).<br>
    <br>
    *** End of the template - remove these template lines ***<br>
    <br>
    <br>
    -- System Information:<br>
    Debian Release: 12.7<br>
    APT prefers stable-updates<br>
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
    'stable'), (1, 'experimental')<br>
    Architecture: amd64 (x86_64)<br>
    Foreign Architectures: i386<br>
    <br>
    Kernel: Linux 6.1.0-25-amd64 (SMP w/4 CPU threads; PREEMPT)<br>
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
    TAINT_UNSIGNED_MODULE<br>
    Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
    (ignored: LC_ALL set to hu_HU.UTF-8), LANGUAGE=hu_HU.UTF-8<br>
    Shell: /bin/sh linked to /usr/bin/dash<br>
    Init: systemd (via /run/systemd/system)<br>
    LSM: AppArmor: enabled<br>
    <br>
  </body>
</html>