Accepting request 977506 from GNOME:Factory

New stable release (forwarded request 977084 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/977506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2022-05-17 15:23:47 +00:00 committed by Git OBS Bridge
commit cf717eebfa
5 changed files with 54 additions and 66 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff263af609a50eb76056653592d929459aef4819a444c436f6d52c6f63c1faec
size 23060652

3
gtk-4.6.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a79a2bbcc7931b703fc4fa1fcbe1b906e229a1522d854d522801766a79bcac9f
size 23074696

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Fri May 13 19:18:39 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.6.4:
+ GtkFileChooser:
- Fix select button sensitivity in select_folder mode.
- Fix some fallout from list model porting.
+ GtkListView, GtkColumnView: Optimize scrolling.
+ print-to-file: Handle nonexisting files better in the dialog.
+ Avoid infinite loops in size allocation.
+ CSS: Optimize a case of reparenting that is important in
GtkListView.
+ GSK: Check for half-float support before using it.
+ Wayland:
- Ignore empty preedit updates This fixes a problem with
textview scrolling.
- Freeze popups when hidden. This addresses a frame rate drop-
+ Updated translations.
-------------------------------------------------------------------
Thu Apr 28 12:45:55 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 4.6.3:
+ GtkOverlay: Bring back positional style classes.
+ GtkFileChooser:
- Prevent unwanted completion popups.
- Fix small problems in save mode.
- Fix buildable suport of GtkFileFilter.
+ GtkPopover: Fix button positions in right-to-left locales.
+ GtkLabel: Fix small issues with link handling.
+ Tooltips: Don't restrict the minimum tooltip length.
+ Theme:
- Don't use opacity for overlay scrollbars.
- Fix selection text color in vertical spin buttons.
+ GSK:
- Accept textures that are generated by webkit.
- Align offscreen rendering to the pixel grid.
+ Accessibility: Fix a crash in startup when orca is running.
+ Input:
- Fix display changes in GtkIMMultiContext.
- Fix activating on-screen keyboards.
- Always propagate hold events in GtkEventControllerScroll.
+ Windows:
- Fix a critical warning in clipboard handling.
- Report serial numbers for events.
+ MacOS: Prevent fullscreen transition reentrancy.
+ Updated translations.
- Drop gtkimmulticontext-Handle-switches-between-displays.patch:
fixed upstream.
-------------------------------------------------------------------
Thu Mar 31 23:15:26 UTC 2022 - Jeff Mahoney <jeffm@suse.com>

View File

@ -22,7 +22,7 @@
%define _name gtk
Name: gtk4
Version: 4.6.2
Version: 4.6.4
Release: 0
Summary: The GTK+ toolkit library (version 4)
License: LGPL-2.1-or-later
@ -34,8 +34,6 @@ Source2: settings.ini
Source3: macros.gtk4
Source99: gtk4-rpmlintrc
# PATCH-FIX-UPSTREAM gtkimmulticontext-Handle-switches-between-displays.patch glgo#GNOME/gtk#4805 -- gtkimmulticontext: Handle switches between displays
Patch1: gtkimmulticontext-Handle-switches-between-displays.patch
BuildRequires: cups-devel >= 2.0
# We do not support building against cups 2.3 betas

View File

@ -1,60 +0,0 @@
From: Carlos Garnacho <carlosg@gnome.org>
Date: Thu, 31 Mar 2022 16:29:34 +0200
Subject: gtkimmulticontext: Handle switches between displays
Git-repo: https://gitlab.gnome.org/GNOME/gtk
Git-commit: b67da38916b710ba6eedd65ffb569a29e47ddb4d
References: glgo#GNOME/gtk#4805
Upstream: merged
Currently the GtkIMMultiContext may stick to a delegate GtkIMContext
that no longer applies after the multicontext is dissociated from
any widget.
Handle set_client_widget() so that it can handle changes between
widgets from 2 different display, but also so the delegate is made
NULL whenever the context has a NULL widget.
Doing so, any new client widget results in a new delegate IM context
lookup from the right GdkDisplay and GtkSettings, which avoids any
mix up.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4805
Acked-by: Jeff Mahoney <jeffm@suse.com>
---
gtk/gtkimmulticontext.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 47347d299b..0a5ef9a5a6 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -314,6 +314,11 @@ gtk_im_multicontext_set_client_widget (GtkIMContext *context,
GtkIMContext *delegate;
GtkSettings *settings;
+ if (priv->client_widget == widget)
+ return;
+
+ gtk_im_multicontext_set_delegate (self, NULL, TRUE);
+
if (priv->client_widget != NULL)
{
settings = gtk_widget_get_settings (priv->client_widget);
@@ -332,11 +337,11 @@ gtk_im_multicontext_set_client_widget (GtkIMContext *context,
g_signal_connect (settings, "notify::gtk-im-module",
G_CALLBACK (im_module_setting_changed),
self);
- }
- delegate = gtk_im_multicontext_get_delegate (self);
- if (delegate)
- gtk_im_context_set_client_widget (delegate, widget);
+ delegate = gtk_im_multicontext_get_delegate (self);
+ if (delegate)
+ gtk_im_context_set_client_widget (delegate, widget);
+ }
}
static void