Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-connections for openSUSE:Factory checked in at 2023-04-24 22:31:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-connections (Old) and /work/SRC/openSUSE:Factory/.gnome-connections.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-connections" Mon Apr 24 22:31:55 2023 rev:11 rq:1082543 version:44.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-connections/gnome-connections.changes 2023-03-24 15:19:50.374706015 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-connections.new.1533/gnome-connections.changes 2023-04-24 22:32:03.515812133 +0200 @@ -1,0 +2,8 @@ +Mon Apr 24 09:00:10 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 44.1: + + Update gtk-frdp which fixes these 2 issues: + - Wrong size after connection when resizing is enabled + - Crash when connecting second time to the same machine + +------------------------------------------------------------------- Old: ---- gnome-connections-44.0.tar.xz New: ---- gnome-connections-44.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-connections.spec ++++++ --- /var/tmp/diff_new_pack.9KG3o4/_old 2023-04-24 22:32:04.151815914 +0200 +++ /var/tmp/diff_new_pack.9KG3o4/_new 2023-04-24 22:32:04.159815961 +0200 @@ -17,7 +17,7 @@ Name: gnome-connections -Version: 44.0 +Version: 44.1 Release: 0 Summary: A remote desktop client for GNOME License: GPL-3.0-or-later ++++++ gnome-connections-44.0.tar.xz -> gnome-connections-44.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-connections-44.0/NEWS new/gnome-connections-44.1/NEWS --- old/gnome-connections-44.0/NEWS 2023-03-18 11:36:04.000000000 +0100 +++ new/gnome-connections-44.1/NEWS 2023-04-24 10:33:02.000000000 +0200 @@ -1,3 +1,12 @@ +44.1 - 18 Mar, 2023 +===================== + +Changes since 44.0 + + - Update gtk-frdp which fixes these 2 issues: + - Wrong size after connection when resizing is enabled + - Crash when connecting second time to the same machine + 44.0 - 18 Mar, 2023 ===================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-connections-44.0/meson.build new/gnome-connections-44.1/meson.build --- old/gnome-connections-44.0/meson.build 2023-03-18 11:36:04.000000000 +0100 +++ new/gnome-connections-44.1/meson.build 2023-04-24 10:33:02.000000000 +0200 @@ -1,5 +1,5 @@ project('gnome-connections', ['c', 'vala'], - version: '44.0', + version: '44.1', meson_version: '>= 0.59.0', default_options: [ 'warning_level=2', ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-connections-44.0/subprojects/gtk-frdp/src/frdp-session.c new/gnome-connections-44.1/subprojects/gtk-frdp/src/frdp-session.c --- old/gnome-connections-44.0/subprojects/gtk-frdp/src/frdp-session.c 2023-03-03 16:17:23.000000000 +0100 +++ new/gnome-connections-44.1/subprojects/gtk-frdp/src/frdp-session.c 2023-04-14 14:38:23.000000000 +0200 @@ -263,8 +263,9 @@ g_object_get (G_OBJECT (widget), "allow-resize", &allow_resize, NULL); if (allow_resize) { - if (settings->DesktopWidth != gtk_widget_get_allocated_width (scrolled) || - settings->DesktopHeight != gtk_widget_get_allocated_height (scrolled)) { + if ((settings->DesktopWidth != gtk_widget_get_allocated_width (scrolled) || + settings->DesktopHeight != gtk_widget_get_allocated_height (scrolled)) && + priv->display_control_channel != NULL) { frdp_channel_display_control_resize_display (priv->display_control_channel, width, height); @@ -288,6 +289,34 @@ } static void +frdp_session_resize_supported_changed (FrdpDisplay *display, + GParamSpec *pspec, + gpointer user_data) +{ + FrdpSession *self = user_data; + FrdpSessionPrivate *priv = frdp_session_get_instance_private (self); + GtkWidget *scrolled; + gboolean resize_supported, allow_resize; + gint width, height; + + g_object_get (G_OBJECT (display), + "resize-supported", &resize_supported, + "allow-resize", &allow_resize, + NULL); + + if (resize_supported && allow_resize) + { + scrolled = gtk_widget_get_ancestor (GTK_WIDGET (display), GTK_TYPE_SCROLLED_WINDOW); + width = gtk_widget_get_allocated_width (scrolled); + height = gtk_widget_get_allocated_height (scrolled); + + frdp_channel_display_control_resize_display (priv->display_control_channel, + width, + height); + } +} + +static void frdp_session_set_scaling (FrdpSession *self, gboolean scaling) { @@ -782,6 +811,8 @@ G_CALLBACK (frdp_session_draw), self); g_signal_connect (self->priv->display, "configure-event", G_CALLBACK (frdp_session_configure_event), self); + g_signal_connect (self->priv->display, "notify::resize-supported", + G_CALLBACK (frdp_session_resize_supported_changed), self); self->priv->update_id = g_idle_add ((GSourceFunc) update, self);