Files
gtk3/gtk
Michael Weghorn 5147e95d1d a11y: Port from deprecated atk_focus_tracker_notify
Port `gail_focus_notify` from using the deprecated
`atk_focus_tracker_notify` to notify about the new
focus object. Notify of a state of the focused state
instead, as suggested in the
`atk_focus_tracker_notify` doc [1].

Using the deprecated function e.g. resulted in
the Orca screen reader no longer announcing
initial focus on editable comboboxes in
LibreOffice Writer's toolbars after Orca dropped
support for the deprecated "focus" AT-SPI event
in this commit [2]:

    commit 9e2902dd46c7e583a097e235dfd7e3c50b016383
    Author: Joanmarie Diggs <jdiggs@igalia.com>
    Date:   Wed May 1 12:14:07 2024 +0200

        Remove the on_focus handler for the LibreOffice script

        The "focus:" event was deprecated many years ago. If the expected
        "object:state-changed:focused" event is absent, that bug should
        be fixed.

This commit makes the announcement work again.

It also fixes the scenario described in [3].

[1] https://docs.gtk.org/atk/func.focus_tracker_notify.html
[2] 9e2902dd46
[3] https://gitlab.gnome.org/GNOME/gtk/-/issues/454#note_2099344

Fixes: #454
2024-05-08 12:52:42 +02:00
..
2021-04-01 15:52:12 -04:00
2023-12-22 10:40:22 -05:00
2020-09-17 21:43:37 -04:00
2022-03-11 19:16:28 +01:00
2023-03-23 21:26:33 +01:00
2021-04-28 23:44:20 +02:00
2024-03-14 21:50:00 -04:00
2020-03-13 16:05:13 +00:00
2023-05-31 22:13:53 +08:00
2024-02-28 13:20:59 -05:00
2024-02-20 16:38:08 +00:00
2020-03-30 17:50:50 +02:00
2023-08-28 16:46:43 -04:00
2023-08-28 16:46:43 -04:00
2023-01-28 14:20:49 +01:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00
2023-03-25 10:09:00 -04:00