Package: gtk+3.0 / 3.24.38-2~deb12u3

Metadata

Package Version Patches format
gtk+3.0 3.24.38-2~deb12u3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
016_no_offscreen_widgets_grabbing.patch | (download)

gtk/gtkmain.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 don't let offscreen widget do grabbing

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607668
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=658563
Bug: https://gitlab.gnome.org/GNOME/gtk/issues/368
Bug-Ubuntu: https://bugs.launchpad.net/bugs/512427
017_no_offscreen_device_grabbing.patch | (download)

gtk/gtkmain.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 do not allow devices in an offscreen hierarchy to take grabs.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=658563
Bug: https://gitlab.gnome.org/GNOME/gtk/issues/368
Bug-Ubuntu: https://launchpad.net/bugs/804009
060_ignore random icons.patch | (download)

gtk/updateiconcache.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't list images from unknown directories in icon cache

After GTK 2.12.0, gtk-update-icon-cache fails if there is a PNG file
placed directly in /usr/share/icons/hicolor (not in a correct
subdirectory like 48x48/apps).

reftest_compare_surfaces Report how much the images diffe.patch | (download)

testsuite/reftests/gtk-reftest.c | 9 8 + 1 - 0 !
testsuite/reftests/reftest-compare.c | 28 25 + 3 - 0 !
testsuite/reftests/reftest-compare.h | 5 4 + 1 - 0 !
3 files changed, 37 insertions(+), 5 deletions(-)

 reftest_compare_surfaces: report how much the images differ

In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
reftests Allow minor differences to be tolerated.patch | (download)

testsuite/reftests/gtk-reftest.c | 32 31 + 1 - 0 !
1 file changed, 31 insertions(+), 1 deletion(-)

 reftests: allow minor differences to be tolerated

Based on an earlier patch by Michael Biebl, with additional inspiration
from librsvg's reftests.

Each .ui or .node reftest can have an accompanying .keyfile file
like this:

    [reftest]
Stop looking for modules in cwd.patch | (download)

gtk/gtkmodules.c | 9 2 + 7 - 0 !
1 file changed, 2 insertions(+), 7 deletions(-)

 stop looking for modules in cwd

This is just not a good idea. It is surprising, and can be misused.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/6786
Bug-CVE: CVE-2024-6655
atk_focus_tracker_notify.deprecated.patch | (download)

gtk/a11y/gtkaccessibility.c | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 [patch] 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