Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ptyxis for openSUSE:Factory checked 
in at 2025-07-09 17:26:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ptyxis (Old)
 and      /work/SRC/openSUSE:Factory/.ptyxis.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ptyxis"

Wed Jul  9 17:26:51 2025 rev:13 rq:1291177 version:48.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ptyxis/ptyxis.changes    2025-05-30 
17:25:10.250874795 +0200
+++ /work/SRC/openSUSE:Factory/.ptyxis.new.7373/ptyxis.changes  2025-07-09 
17:27:25.285083832 +0200
@@ -1,0 +2,11 @@
+Tue Jul  8 07:28:05 UTC 2025 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 48.5:
+  + Check for X_OK before potential chdir()
+  + Restore initial title when tab has not been visited
+  + Re-use existing new-tab option from overview so consistent
+    styling/container/directory is applied
+  + Remove interface-style action when disposing window to
+    workaround a crash in action muxing inside GTK
+
+-------------------------------------------------------------------

Old:
----
  ptyxis-48.4.obscpio

New:
----
  ptyxis-48.5.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ptyxis.spec ++++++
--- /var/tmp/diff_new_pack.dkhS8v/_old  2025-07-09 17:27:25.969112295 +0200
+++ /var/tmp/diff_new_pack.dkhS8v/_new  2025-07-09 17:27:25.973112461 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           ptyxis
-Version:        48.4
+Version:        48.5
 Release:        0
 Summary:        A terminal for GNOME with first-class support for containers
 License:        GPL-3.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.dkhS8v/_old  2025-07-09 17:27:26.009113959 +0200
+++ /var/tmp/diff_new_pack.dkhS8v/_new  2025-07-09 17:27:26.009113959 +0200
@@ -3,7 +3,7 @@
   <service name="obs_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://gitlab.gnome.org/chergert/ptyxis.git</param>
-    <param name="revision">48.4</param>
+    <param name="revision">48.5</param>
     <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
     <param name="versionrewrite-pattern">v?(.*)\+0</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ ptyxis-48.4.obscpio -> ptyxis-48.5.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/NEWS new/ptyxis-48.5/NEWS
--- old/ptyxis-48.4/NEWS        2025-05-27 19:50:29.000000000 +0200
+++ new/ptyxis-48.5/NEWS        2025-07-08 04:19:27.000000000 +0200
@@ -1,3 +1,12 @@
+# Ptyxis 48.5
+
+ * Check for X_OK before potential chdir()
+ * restore initial title when tab has not been visited
+ * re-use existing new-tab option from overview so consistent
+   styling/container/directory is applied
+ * remove interface-style action when disposing window to workaround
+   a crash in action muxing inside GTK
+
 # Ptyxis 48.4
 
  * Fix incorrect use of mnemonics in the new-terminal menu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/agent/ptyxis-session-container.c 
new/ptyxis-48.5/agent/ptyxis-session-container.c
--- old/ptyxis-48.4/agent/ptyxis-session-container.c    2025-05-27 
19:50:29.000000000 +0200
+++ new/ptyxis-48.5/agent/ptyxis-session-container.c    2025-07-08 
04:19:27.000000000 +0200
@@ -100,7 +100,8 @@
    * come from another container that isn't the same or at a path
    * that is not accessible to the user (say from a sudo shell).
    */
-  if (cwd[0] == 0 || !g_file_test (cwd, G_FILE_TEST_IS_DIR))
+  if (cwd[0] == 0 || !g_file_test (cwd, G_FILE_TEST_IS_DIR) ||
+      !g_file_test (cwd, G_FILE_TEST_IS_EXECUTABLE))
     cwd = g_get_home_dir ();
 
   env = g_get_environ ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/data/org.gnome.Ptyxis.metainfo.xml.in.in 
new/ptyxis-48.5/data/org.gnome.Ptyxis.metainfo.xml.in.in
--- old/ptyxis-48.4/data/org.gnome.Ptyxis.metainfo.xml.in.in    2025-05-27 
19:50:29.000000000 +0200
+++ new/ptyxis-48.5/data/org.gnome.Ptyxis.metainfo.xml.in.in    2025-07-08 
04:19:27.000000000 +0200
@@ -43,6 +43,15 @@
   <launchable type="desktop-id">@APP_ID@.desktop</launchable>
 
   <releases>
+    <release version="48.5" date="2025-07-07">
+      <description>
+        <p>This is a bug fix release.</p>
+        <ul>
+          <li>Improve restoring of session state</li>
+          <li>Fix a potential crash when changing interface styling</li>
+        </ul>
+      </description>
+    </release>
     <release version="48.4" date="2025-05-27">
       <description>
         <p>This is a bug fix release.</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/meson.build new/ptyxis-48.5/meson.build
--- old/ptyxis-48.4/meson.build 2025-05-27 19:50:29.000000000 +0200
+++ new/ptyxis-48.5/meson.build 2025-07-08 04:19:27.000000000 +0200
@@ -1,5 +1,5 @@
 project('ptyxis', 'c',
-          version: '48.4',
+          version: '48.5',
     meson_version: '>= 1.0.0',
   default_options: [ 'warning_level=2', 'werror=false', 'c_std=gnu11', ],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/src/ptyxis-session.c 
new/ptyxis-48.5/src/ptyxis-session.c
--- old/ptyxis-48.4/src/ptyxis-session.c        2025-05-27 19:50:29.000000000 
+0200
+++ new/ptyxis-48.5/src/ptyxis-session.c        2025-07-08 04:19:27.000000000 
+0200
@@ -113,7 +113,8 @@
                     cwd = ptyxis_tab_dup_previous_working_directory_uri (tab);
 
                   G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-                  window_title = vte_terminal_get_window_title (VTE_TERMINAL 
(terminal));
+                  if (!(window_title = vte_terminal_get_window_title 
(VTE_TERMINAL (terminal))))
+                    window_title = ptyxis_tab_get_initial_title (tab);
                   G_GNUC_END_IGNORE_DEPRECATIONS
 
                   if (container != NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/src/ptyxis-tab.c 
new/ptyxis-48.5/src/ptyxis-tab.c
--- old/ptyxis-48.4/src/ptyxis-tab.c    2025-05-27 19:50:29.000000000 +0200
+++ new/ptyxis-48.5/src/ptyxis-tab.c    2025-07-08 04:19:27.000000000 +0200
@@ -1966,6 +1966,14 @@
   self->command = copy;
 }
 
+const char *
+ptyxis_tab_get_initial_title (PtyxisTab *self)
+{
+  g_return_val_if_fail (PTYXIS_IS_TAB (self), NULL);
+
+  return self->initial_title;
+}
+
 void
 ptyxis_tab_set_initial_title (PtyxisTab  *self,
                               const char *initial_title)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/src/ptyxis-tab.h 
new/ptyxis-48.5/src/ptyxis-tab.h
--- old/ptyxis-48.4/src/ptyxis-tab.h    2025-05-27 19:50:29.000000000 +0200
+++ new/ptyxis-48.5/src/ptyxis-tab.h    2025-07-08 04:19:27.000000000 +0200
@@ -111,6 +111,7 @@
 gboolean            ptyxis_tab_has_foreground_process             (PtyxisTab   
         *self,
                                                                    GPid        
         *pid,
                                                                    char        
        **cmdline);
+const char         *ptyxis_tab_get_initial_title                  (PtyxisTab   
         *self);
 void                ptyxis_tab_set_initial_title                  (PtyxisTab   
         *self,
                                                                    const char  
         *initial_title);
 void                ptyxis_tab_set_initial_working_directory_uri  (PtyxisTab   
         *self,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/src/ptyxis-theme-selector.c 
new/ptyxis-48.5/src/ptyxis-theme-selector.c
--- old/ptyxis-48.4/src/ptyxis-theme-selector.c 2025-05-27 19:50:29.000000000 
+0200
+++ new/ptyxis-48.5/src/ptyxis-theme-selector.c 2025-07-08 04:19:27.000000000 
+0200
@@ -226,10 +226,8 @@
 {
   g_return_if_fail (PTYXIS_IS_THEME_SELECTOR (self));
 
-  if (g_strcmp0 (action_name, self->action_name) != 0)
+  if (g_set_str (&self->action_name, action_name))
     {
-      g_free (self->action_name);
-      self->action_name = g_strdup (action_name);
       gtk_actionable_set_action_name (GTK_ACTIONABLE (self->dark), 
action_name);
       gtk_actionable_set_action_name (GTK_ACTIONABLE (self->light), 
action_name);
       gtk_actionable_set_action_name (GTK_ACTIONABLE (self->follow), 
action_name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ptyxis-48.4/src/ptyxis-window.c 
new/ptyxis-48.5/src/ptyxis-window.c
--- old/ptyxis-48.4/src/ptyxis-window.c 2025-05-27 19:50:29.000000000 +0200
+++ new/ptyxis-48.5/src/ptyxis-window.c 2025-07-08 04:19:27.000000000 +0200
@@ -69,6 +69,7 @@
   GSignalGroup          *selected_page_signals;
   PtyxisWindowDressing  *dressing;
   GtkBox                *visual_bell;
+  GPropertyAction       *interface_style_action;
 
   guint                  visual_bell_source;
   guint                  focus_active_tab_source;
@@ -567,17 +568,10 @@
 ptyxis_window_tab_overview_create_tab_cb (PtyxisWindow   *self,
                                           AdwTabOverview *tab_overview)
 {
-  g_autoptr(PtyxisProfile) profile = NULL;
-  PtyxisTab *tab;
-
   g_assert (PTYXIS_IS_WINDOW (self));
   g_assert (ADW_IS_TAB_OVERVIEW (tab_overview));
 
-  profile = ptyxis_window_dup_profile_for_param (self, "default");
-  tab = ptyxis_tab_new (profile);
-
-  ptyxis_window_add_tab (self, tab);
-  ptyxis_window_set_active_tab (self, tab);
+  gtk_widget_activate_action (GTK_WIDGET (tab_overview), "win.new-tab", 
"(ss)", "", "");
 
   return adw_tab_view_get_selected_page (self->tab_view);
 }
@@ -1460,8 +1454,8 @@
   g_assert (PTYXIS_IS_WINDOW (self));
 
   settings = ptyxis_application_get_settings (PTYXIS_APPLICATION_DEFAULT);
-  interface_style = g_property_action_new ("interface-style", settings, 
"interface-style");
-  g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (interface_style));
+  self->interface_style_action = g_property_action_new ("interface-style", 
settings, "interface-style");
+  g_action_map_add_action (G_ACTION_MAP (self), G_ACTION 
(self->interface_style_action));
 
   popover = gtk_menu_button_get_popover (self->primary_menu_button);
   selector = g_object_new (PTYXIS_TYPE_THEME_SELECTOR,
@@ -1654,6 +1648,8 @@
 
   self->disposed = TRUE;
 
+  g_action_map_remove_action (G_ACTION_MAP (self), "interface-style");
+
   gtk_widget_dispose_template (GTK_WIDGET (self), PTYXIS_TYPE_WINDOW);
 
   g_signal_group_set_target (self->active_tab_signals, NULL);
@@ -1662,6 +1658,7 @@
   g_signal_group_set_target (self->selected_page_signals, NULL);
   g_clear_handle_id (&self->focus_active_tab_source, g_source_remove);
   g_clear_object (&self->parking_lot);
+  g_clear_object (&self->interface_style_action);
 
   G_OBJECT_CLASS (ptyxis_window_parent_class)->dispose (object);
 }

++++++ ptyxis.obsinfo ++++++
--- /var/tmp/diff_new_pack.dkhS8v/_old  2025-07-09 17:27:26.353128274 +0200
+++ /var/tmp/diff_new_pack.dkhS8v/_new  2025-07-09 17:27:26.357128440 +0200
@@ -1,5 +1,5 @@
 name: ptyxis
-version: 48.4
-mtime: 1748368229
-commit: 7cd0630f48b5cd423830a3d02935f7514e52fbd1
+version: 48.5
+mtime: 1751941167
+commit: e549a23db262ed2632753b7f8cac946d744a7181
 

Reply via email to