Backported from GTK 3:
- selections to a vanished window and drags without targets are safe
- drag source events no longer leak
- tooltips hide on scroll, their window is freed with the display
- menu paging reads no stale heights
- a paned keeps a position set to its current value
- hidden active radio buttons let focus in
- small pages scroll at most half a page per wheel step
- tool buttons without an icon show their label
- a NULL title clears it
Upstream commits:
- d632474b74 (Matthias Clasen)
- 48770fda30 (Olivier Brunel)
- 057a50d58e (Behdad Esfahbod)
- 92ddf14457 (William Jon McCann)
- a265d8f32d (Philip Withnall)
- df0e5cc8e6 (Philip Chimento)
- c3deff17a6 (John Ralls)
- 276a510b4b (Cosimo Cecchi)
- 01136618b8 (Owen W. Taylor)
- 73e799474a (Matthias Clasen)
- 9a03fc906a (Matthias Clasen)
- c0ba041c73 (Michael Natterer)
- d38bf4825a (Javier Jardón)
Backported from GTK 3:
- a custom search entry is released with the view
- deleting a row with a selected child emits changed
- the first pixel of a column belongs to it
- grid lines in right-to-left order
- row deletions reach views that don't ref rows
- autosize columns outside a view are quiet
- combo popups free paths and read no uninitialized cells
Upstream commits:
- 55012318a6 (Vadim Godunko)
- 7faf5ee765 (Claudio Saavedra)
- c4224bf9d0 (Matthias Clasen)
- c15a7877e9 (Guillaume Desmottes)
- 67a00991b7 (Matthias Clasen)
Backported from GTK 3:
- setters during the first style of a text view no longer crash
- a text view destroyed during a selection drag keeps its buffer
- tags up to the end relayout
- a link handler that changes the label is safe
- label selections survive setting the same text
- cut, copy and paste with the keypad
- Select All only when there is text
- IM cursor positions in characters
- accelerator labels without XF86
- spin buttons take digits of other scripts
Upstream commits:
- ad1c0f7155 (Matthias Clasen)
- d7696bd25f (Tristan Van Berkom)
- c6a7a0889c (Bastien Nocera)
- 8f6cd8d86d (Sébastien Granjoux)
- f19ecbb850 (Matthias Clasen)
- 0d6cff45c3 (Matthias Clasen)
- b23eabbd64 (Sébastien Wilmet)
- 8da5111edd (Marek Kasik)
- f74a75ae7e (Matthias Clasen)
- 0840f13c15 (Timm Bäder)
- fa69e5f42d (Matthias Clasen)
- b6783933c9 (Matthias Clasen)
- 54c3f05848 (Matthew Barnes)
Backported from GTK 3:
- client-side windows get visibility events when they ask
- unplugging a monitor while RandR is read no longer kills the program
- transient-for an offscreen window is ignored
- win32 event times survive 49.7 days of uptime
- win32 modifier keys are marked as such
- quartz moves windows in begin_move_drag
- quartz skips offscreen windows on monitor changes
Upstream commits:
- 7ec927a386 (Alexander Larsson)
- 4cf5ce2e08 (Charles Reiss)
- 394fe4b57e (Ryan Lortie)
- f3f998efd7 (fiddlerwoaroof)
- 0c72ce94ea (Luca Bacci)
- f74f81f06b (Руслан Ижбулатов)
- 0274b2c94e (Руслан Ижбулатов)
Backported from GTK 3:
- show-hidden set by the program isn't overridden by the settings
- tool palette groups move where asked
- no leaks in tool item group headers and unknown builder actions
- an entry icon replaced during a click keeps its release
- the sort order of the default sort column changes
- scales and spin buttons show 0 instead of -0
Upstream commits:
- e2b9caf26a (Matthias Clasen)
- 9753bea6a4 (Matthias Clasen)
- 18e8842a7e (Matthias Clasen)
- 88e372cd09 (Matthias Clasen)
- 5ca860dcaf (Matthias Clasen)
- f23e99b063 (Matthias Clasen)
- 53bc2566b3 (Matthias Clasen)
- 6a507c0b63 (Tristan Partin)
Backported from GTK 3:
- an event filter removed and re-added while running runs again
- an untrusted X client no longer dies on a beep
- no pid in a Flatpak sandbox that the window manager could kill
- quartz drops the pointers of a destroyed window
- win32 centers on a fully set rectangle
Upstream commits:
- 5ac848d229 (Руслан Ижбулатов)
- a73fa04e92 (Matthias Clasen)
- 9c84f7645e (Matthias Clasen)
- 749c863073 (John Ralls)
Backported from GTK 3:
- mnemonics of markup labels with hidden underlines
- selecting in a label without a screen
- notebook action widgets get their requested size
- a window presented while hidden keeps the timestamp
- drag destinations start zeroed
- about dialog cursors belong to its display
- radio menu items accept a NULL group
Upstream commits:
- b5d678dab0 (Dan Winship)
- c2d1e3eeb0 (Matthias Clasen)
- 8e65fa1b43 (Sébastien Wilmet)
- f2279d5e51 (Tristan Van Berkom)
- bc6a3f8cd8 (Matthias Clasen)
- 5fa4a05ccc (Philip Withnall)
- e916568781 (jjacky)
- 8aecf2c06a (Matthias Clasen)
- ad05d84897 (Matthias Clasen)
Backported from GTK 3:
- stores convert values of a transformable type
- dragging a column header shows a window of that column's size
Upstream commits:
- a24f7564b5 (Cosimo Cecchi)
- e92e767246 (Cosimo Cecchi)
- 3c7a6581dc (Stefano Facchini)
Backported from GTK 3:
- the caps lock state is known before the first key event
- the translate queue is freed with its display
Upstream commits:
- 2226996b80 (Matthias Clasen)
- fbf1093d5c (Matthias Clasen)
Opens with Ctrl+. or Ctrl+; or from the context menu. The search uses
the desktop language and recently used ones come first. The emoji data
from GTK 3 is only loaded when the chooser first opens.
Backported from GTK 3:
- 45b2e162ae (Matthias Clasen)
- a584bcb88e (Matthias Clasen)
- d56505f74d (Matthias Clasen)
- f922aee5e2 (Matthias Clasen)
- 90faa49a70 (Jeremy Bícha)
The emoji data comes from emojibase (MIT) and the Unicode CLDR
(Unicode License V3); both notices are in gtk/emoji/COPYING.
Placeholder text from GTK 3.2, input purpose and hints from 3.6.
Password entries and spin buttons set them on their own.
Backported from GTK 3:
- ef061c4e96 (Carlos Garcia Campos)
- c27ddc66c5 (Jonh Wendell)
- 8a8c434737 (Krzesimir Nowak)
- 3cb4aa44b3 (Matthias Clasen)
- eaaee081b1 (Matthias Clasen)
- 7d1c1a8d20 (Matthias Clasen)
Same API as GTK 3.20. Uses IFileDialog on Windows (the old common
dialogs on XP and ReactOS), NSOpenPanel/NSSavePanel on Mac OS X 10.4
and later, and the portal under Flatpak or with GTK_USE_PORTAL=1.
Otherwise it falls back to the GTK dialog. Also adds
gtk_file_filter_to_gvariant() and _new_from_gvariant() from 3.22.
Backported from GTK 3:
- 5094900180 (Alexander Larsson)
- 81cef0091e (Alexander Larsson)
- 01d0bac83e (Alexander Larsson)
- 693db082a1 (Alexander Larsson)
- 35181e793d (Matthias Clasen)
- 15e361e793 (Matthias Clasen)
- 0acb6a0e98 (Matthias Clasen)
- ce4c9a9ad6 (Tom Schoonjans)
- 32d87ac907 (Emilio Cobos Álvarez)
Each window takes the scale of the monitor it's on and switches when
it's moved, keeping its size in GDK pixels. Scales come from the
per-output resolution on Xlibre or GDK_MONITOR_SCALES. Changes apply
right away.
With a scale of 2 or more (GDK_SCALE, Gdk/WindowScalingFactor, the
per-output resolution on Xlibre, Xft.dpi) everything is drawn in device
pixels while programs keep their sizes. Adds
gdk_window_get_scale_factor() and gdk_screen_get_monitor_scale_factor().
The scale factor API is the one of GTK 3 (8ad851f725 by
Michael Natterer).
Works in old programs too. Taps and a resting finger still go to the
widgets as before.
Modelled on the kinetic scrolling of GTK 3 (f6393199be by
Carlos Garcia Campos).
GDK_TOUCH_MASK and the touch event types, using XInput 2.2 on X11.
Windows without the mask get the first finger as pointer events,
marked as emulated.
The touch API is the one of GTK 3 (commits 7f35708cee and bc8401d1ed by
Carlos Garnacho). The pointer emulation for windows without the
mask follows Ardour's YTK (952ec57a by Robin Gareus).
Same as in GTK 3.4: windows that ask for it get smooth scroll deltas,
all others keep the plain steps.
The API is the one of GTK 3.4 (commits 7b48a3c0bd by Carlos Garnacho
and 0efbbc6435 by Michael Natterer).
gdk_window_get_origin() doesn't ask the X server every time anymore.
The position is kept until something can move the window, or for half
a second. Pale Moon called it thousands of times a second while the
mouse moved.
16, 18, 20, 24, 32 and 48 are rendered at twice the size and scaled
down with Lanczos, like Mac OS X does. An icon of the exact size now
wins over one within the threshold.
Builds 32-bit Windows with a 64-bit time_t, which msvcrt.dll has had
since Windows 2000, so XP and ReactOS work too. gtk+-2.0.pc passes the
flag on, since programs need the same time_t.
Adds gtktimeprivate.h (statx on Linux, FILETIME on Windows, unsigned
32 bit elsewhere). After 2038 changes went unnoticed and the icon
cache was given up.