Commit Graph

55364 Commits

Author SHA1 Message Date
9219219e29 Callisto Desktop for trixie 2025-05-08 18:10:07 -07:00
Jeremy Bícha
305d14d69f releasing package gtk+3.0 version 3.24.49-3 2025-03-29 18:12:33 -04:00
Jeremy Bícha
4fdced5624 Cherry-pick fixes from gtk-3-24 branch including
- Fixes needed for gjs's build tests
- Restore a spinner icon removed from adwaita-icon-theme

Gbp-Dch: Full
2025-03-29 17:56:40 -04:00
Jeremy Bícha
5febfd3da9 releasing package gtk+3.0 version 3.24.49-2 2025-03-20 11:09:13 -04:00
Alessandro Astone
a1a8158a73 Add patch to use Papers instead of Evince for print previews 2025-03-20 11:07:56 -04:00
Simon McVittie
4e9b18f20f d/libgtk-3-0t64.bug-control: Include libgtk-session-lock0 in bug reports
This library is a fork of gtk-layer-shell, and like its parent, it
calls into undocumented GTK internals that have no stability guarantee.
2025-03-16 16:19:06 +00:00
Jeremy Bícha
6741b30097 releasing package gtk+3.0 version 3.24.49-1 2025-03-13 21:55:34 -04:00
Jeremy Bícha
83ec25a1d8 Refresh patch 2025-03-13 20:30:55 -04:00
Jeremy Bícha
cb177f342b Bump minimum wayland and wayland-protocols
I don't know if this is needed but it was done for gtk4
and the cursor-shape protocol was backported from there
2025-03-13 20:30:35 -04:00
Jeremy Bícha
5a92d78e59 New upstream release 2025-03-13 20:28:04 -04:00
Jeremy Bícha
9e6c5c7bd5 Update upstream source from tag 'upstream/3.24.49'
Update to upstream version '3.24.49'
with Debian dir fd7878d350
2025-03-13 20:28:04 -04:00
Jeremy Bícha
fe42c464d6 New upstream version 3.24.49 2025-03-13 20:27:31 -04:00
Matthias Clasen
198aeace1e 3.24.49 2025-03-05 18:31:26 -05:00
Matthias Clasen
866adad06b Merge branch 'dnd-fixes' into 'gtk-3-24'
gtkdnd: Fix critical warnings and/or crashes when using GtkSocket/GtkPlug

See merge request GNOME/gtk!6660
2025-03-05 23:29:37 +00:00
Gaël Bonithon
34c12e4885 gtkdnd: Keep a reference on destination drag context
If we don't keep a reference on it, it is released somewhere before
gtk_drag_abort_timeout is called. This can cause a crash e.g. when the
dnd takes place in the GtkSocket/GtkPlug framework.

Fixes: #7128
2025-03-05 17:19:12 +01:00
Gaël Bonithon
2353a7a176 gtkdnd: Add missing sanity check
Can be NULL when the dnd takes place in the GtkSocket/GtkPlug framework.
2025-03-05 16:56:59 +01:00
Matthias Clasen
51d9cfd6a6 Merge branch 'work/zzag/backport-cursor-shape-v1' into 'gtk-3-24'
wayland: Backport GNOME/gtk!8247

See merge request GNOME/gtk!8257
2025-03-05 14:08:15 +00:00
Matthias Clasen
7e4de90952 Merge branch '202503041751-fixCario' into 'gtk-3-24'
fix: [draw] The application interface is unresponsive to clicks.

See merge request GNOME/gtk!8265
2025-03-05 00:13:14 +00:00
Gong Heng
90390d6493 fix: [draw] The application interface is unresponsive to clicks.
problem:
After switching screens using a KVM switch, there is a probability
that the application interface will become unresponsive to clicks.

analysis:
The valid size range supported by the Cairo surface is [0,32767].
If the width and height exceed this range, the surface's status is set
to CAIRO_STATUS_INVALID_SIZE, indicating an invalid size exception.
In this exception state, Cairo does not have a clipping region.

When determining whether the window needs to be drawn,
the function gdk_cairo_get_clip_rectangle() is used to check
if the cairo_t has a clipping region. If there is none, the window
and its child windows will not be drawn (i.e., the draw signal will not be emitted).

If an error occurs in the X server and a value exceeding Cairo's
valid size is provided in the ConfigureNotify, it will result in
the window and its child windows not being drawn.
Therefore, we will add range checks here to avoid this special situation.
2025-03-04 19:32:31 +08:00
Vlad Zahorodnii
d6cb3b4a2a wayland: Fix none cursor check
We should skip going through the look up table if the cursor name is
"none", i.e. when g_str_equal() returns true or 1.

(cherry picked from commit 7ee2e50dc4f0898f7d56d67017c36414618f2e82)
2025-03-03 01:51:31 +02:00
Matthias Clasen
580846fcdc wayland: Go back to the old none cursor
Upstream found this enum value objectionable,
despite being a perfectly good CSS cursor.

(cherry picked from commit eda5bd5242a9b04ed5c1e9f43592c7fc9d8dca4a)
2025-03-03 01:51:31 +02:00
Matthias Clasen
b281c8035f wayland: Support the cursor-shape protocol
If present, use the cursor-shape protocol instead of manually
updating a pointer surface. This commit supports both v1 of the
protocol and the (still unmerged) v2 additions to the enumeration.

This was tested with both kwin and mutter.

(cherry picked from commit a63d6d1dc7a8ebdf61c682196f89917846cbe8ac)
2025-03-03 01:51:31 +02:00
Matthias Clasen
cc14115d09 wayland: Support the all-resize cursor
Add all-resize to the list of names that we want to guarantee.
We use move as the fallback for it. The idea is that all-resize
will be visually compatible with resize cursors, and move will
be visually compatible with dnd cursors. And it is nice to
have two distinct names, so the metaphors can be changed without
clashing.

(cherry picked from commit 79ba34f1aa82de7d06c19109582f7df5f144a6c1)
2025-03-03 01:51:31 +02:00
Matthias Clasen
f44e7b4f67 x11: Support the all-resize cursor
This is an alternative name for the move cursor.

(cherry picked from commit 1eaa4eb4051c42242f1eadd2d5e45b45a94d2e8d)
2025-03-03 01:51:31 +02:00
Matthias Clasen
1cfd1fcd04 gdk: Touch up cursor name docs
Make the table provide usage hints, and line things up more
nicely.

(cherry picked from commit a948157a6c4e56b8ce7e10e702987f03cd1d13c3)
2025-03-03 01:51:28 +02:00
Emmanuele Bassi
7bf902178f Merge branch 'ebassi/builder-its' into 'gtk-3-24'
Add more translatable attributes in the ITS file

See merge request GNOME/gtk!8255
2025-03-02 14:51:30 +00:00
Emmanuele Bassi
e8dbe4049d Add more translatable attributes in the ITS file
GtkBuilder uses GMarkup, which defines a boolean attribute as:

- yes/no
- true/false
- 1/0

The current ITS file used by xgettext to extract translatable strings
from GtkBuilder UI files only covers the first value.

See: 9e83eb65017cb38b809c733535195507bd442bd8

See: #4596
2025-03-02 14:18:16 +00:00
Matthias Clasen
d095bdafe0 Merge branch 'no-xpm-gtk3' into 'gtk-3-24'
testsuite: Stop relying on xpms

See merge request GNOME/gtk!8249
2025-02-28 21:24:06 +00:00
Matthias Clasen
fd803f19de testsuite: Stop relying on xpms
gdk-pixbuf isn't loading those anymore, by default.
2025-02-28 14:42:06 -05:00
Carlos Garnacho
467e8bd8ab Merge branch 'fork' into 'gtk-3-24'
gdk/wayland: Avoid grab crossing on idle tablets

See merge request GNOME/gtk!8240
2025-02-26 08:13:07 +00:00
Yifan Zhu
4e005ec603 gdk/wayland: Avoid grab crossing on idle tablets
Tablets require a tool in proximity to have an active surface
to send pointer events to. Avoid the grab-induced crossing events
on tablets that don't have a tool in proximity at the time of
creating the grab.

Fixes #1188, Fixes #3116

(cherry picked from commit d8919311b18bb0b89121c88405f757d6cee2e7cb)
2025-02-25 23:15:44 -08:00
Jordi Mas
8365cdfe32 Fixes to Catalan translation 2025-02-23 20:50:10 +01:00
Matthias Clasen
b5f3117801 Merge branch 'gtk3_a11y_small_fix' into 'gtk-3-24'
GtkBooleanCellAccessible: fix AtkAction iface methods

See merge request GNOME/gtk!7840
2025-02-21 17:02:30 +00:00
Matthias Clasen
7eeafe292e Merge branch 'cm/fix-statusicon-leak' into 'gtk-3-24'
statusicon: Fix leak in gtk_status_icon_color_changed

See merge request GNOME/gtk!7841
2025-02-21 17:01:52 +00:00
Matthias Clasen
ff29793fb6 Merge branch 'cm/fix-context-leak' into 'gtk-3-24'
updateiconcache: Fix GOptionContext leak in 3.24

See merge request GNOME/gtk!7917
2025-02-21 16:57:15 +00:00
Matthias Clasen
6f80370a48 Merge branch 'cm/fix-updateiconcache-path-leak' into 'gtk-3-24'
updateiconcache: Fix path leak in scan_directory

See merge request GNOME/gtk!7915
2025-02-21 16:56:51 +00:00
Matthias Clasen
3ece09d3e0 Merge branch 'fix-im-crash' into 'gtk-3-24'
Fix a crash in im contexts

See merge request GNOME/gtk!8199
2025-02-13 05:34:45 +00:00
Matthias Clasen
32381771b1 im: Fix signal handler signature
This was causing crashes, probably since 2019 :(

Fixes: #7306
Fixes: #7331
2025-02-12 12:34:36 +01:00
Aefgh Threenine
a1102b2277 Update Thai translation 2025-02-08 11:47:44 +00:00
Matthias Clasen
272570021c Merge branch 'gtk-3-24-invert-tilt-macos' into 'gtk-3-24'
macos: Fix inverted pen Y tilt on macOS

See merge request GNOME/gtk!8165
2025-01-31 07:47:48 +00:00
Aki
40072ff1ab
macos: Fix inverted pen Y tilt on macOS
- Negate tilt.y in Cocoa pen handling to correct inverted Y tilt axis
- see 0f128fd7c5/src/plugins/platforms/cocoa/qnsview_tablet.mm (L63)
- see https://source.chromium.org/chromium/chromium/src/+/main:components/input/web_input_event_builders_mac.mm;drc=0af5ffa1e4cc4cc4f818725f8fee93ec57855e4b;l=421
2025-01-31 10:59:06 +08:00
Alexander Shopov
0ec10c6169 Update Bulgarian translation 2025-01-30 18:18:00 +00:00
Simon McVittie
0f1bae507b Release to unstable 2025-01-30 10:12:20 +00:00
Simon McVittie
f92c109bd0 d/libgtk-3-0t64.bug-control: Add libgtk-layer-shell0 to Package-Status
If libgtk-layer-shell0 is installed, we'll want to see its version
number when crashes are reported.
2025-01-30 10:11:53 +00:00
Simon McVittie
5e297ca985 Add Breaks on libgtk-layer-shell0 older than 0.9.0
gtk-layer-shell uses undocumented implementation details of GTK and
requires in-depth knowledge of private data structures, so GTK updates
will often result in it crashing. This Breaks should be increased
whenever that happens.

Closes: #1079292
2025-01-30 09:57:45 +00:00
Aefgh Threenine
aa22e97d4a Update Thai translation 2025-01-28 09:02:31 +00:00
Jeremy Bícha
b64c0d1fe5 releasing package gtk+3.0 version 3.24.48-3 2025-01-27 11:57:32 -05:00
Jeremy Bícha
a28fa9771f Add comment for gtk-update-icon-cache as suggested by smcv 2025-01-27 11:57:07 -05:00
Jeremy Bícha
e316967ba3 Add loong64 to the list of architectures we don't want to build
gtk-update-icon-cache

Gbp-Dch: Full
2025-01-27 11:45:40 -05:00
Jeremy Bícha
ca9b7ce74a Revert "Remove obsolete gtk-update-icon-cache package, now built by gtk4"
This reverts commit ac309bfb0c.
2025-01-27 11:45:12 -05:00