Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package parcellite for openSUSE:Factory 
checked in at 2026-07-17 01:42:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parcellite (Old)
 and      /work/SRC/openSUSE:Factory/.parcellite.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parcellite"

Fri Jul 17 01:42:01 2026 rev:40 rq:1366097 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/parcellite/parcellite.changes    2026-07-15 
17:12:50.494083120 +0200
+++ /work/SRC/openSUSE:Factory/.parcellite.new.24530/parcellite.changes 
2026-07-17 01:43:17.904895114 +0200
@@ -1,0 +2,7 @@
+Wed Jul 15 15:02:02 UTC 2026 - Michal Suchanek <[email protected]>
+
+- Add menu popup fixes
+  + Don-t-delay-showing-the-menu-on-click.patch
+  + Use-gtk_status_icon_position_menu-to-position-the-po.patch
+
+-------------------------------------------------------------------

New:
----
  Don-t-delay-showing-the-menu-on-click.patch
  Use-gtk_status_icon_position_menu-to-position-the-po.patch

----------(New B)----------
  New:- Add menu popup fixes
  + Don-t-delay-showing-the-menu-on-click.patch
  + Use-gtk_status_icon_position_menu-to-position-the-po.patch
  New:  + Don-t-delay-showing-the-menu-on-click.patch
  + Use-gtk_status_icon_position_menu-to-position-the-po.patch
----------(New E)----------

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

Other differences:
------------------
++++++ parcellite.spec ++++++
--- /var/tmp/diff_new_pack.YI4qFY/_old  2026-07-17 01:43:19.168937789 +0200
+++ /var/tmp/diff_new_pack.YI4qFY/_new  2026-07-17 01:43:19.168937789 +0200
@@ -33,6 +33,10 @@
 Patch4:         parcellite-gcc15.patch
 # bsc#1220103 gh/rickyrockrat/parcellite#132
 Patch5:         parcellite-lock.patch
+# https://github.com/rickyrockrat/parcellite/pull/119
+Patch6:         Don-t-delay-showing-the-menu-on-click.patch
+# https://github.com/rickyrockrat/parcellite/pull/120
+Patch7:         Use-gtk_status_icon_position_menu-to-position-the-po.patch
 BuildRequires:  gnome-icon-theme
 BuildRequires:  intltool >= 0.23
 BuildRequires:  pkgconfig

++++++ Don-t-delay-showing-the-menu-on-click.patch ++++++
>From 3f84f4de857aa63e5eb70df25f1ad73ecefcf16c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
Date: Sun, 26 Oct 2025 09:53:58 +0100
Subject: [PATCH] Don't delay showing the menu on click

This fixes the problem that the menu is closed as soon as the user release
the mouse button. If `gtk_menu_popup()` is delayed, the
`gtk_get_current_event_time()` is not the same as the click event.

Link: https://github.com/rickyrockrat/parcellite/pull/119
Fixes: https://github.com/rickyrockrat/parcellite/issues/133
---
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 2029fba..53b09c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2229,13 +2229,13 @@ static void status_icon_clicked(GtkStatusIcon 
*status_icon, gpointer user_data)
                g_fprintf(stderr,"Got Ctrl-click\n");
     if (actions_lock == FALSE)
     {
-      g_timeout_add(POPUP_DELAY, show_actions_menu, NULL);
+      show_actions_menu(NULL);
     }
   }
   /* Normal click */
   else
   {
-    g_timeout_add(POPUP_DELAY, show_history_menu, 
GINT_TO_POINTER(figure_histories()));
+    show_history_menu(GINT_TO_POINTER(figure_histories()));
   }
 }
 /***************************************************************************/
-- 
2.51.0


++++++ Use-gtk_status_icon_position_menu-to-position-the-po.patch ++++++
>From a616725aa8486d115d035128f553b2c846a13e25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
Date: Sun, 26 Oct 2025 10:04:07 +0100
Subject: [PATCH] Use gtk_status_icon_position_menu() to position the popup
 menu

This ensures that the menu appears at the right position.

Closes: https://github.com/rickyrockrat/parcellite/issues/110
Link: https://github.com/rickyrockrat/parcellite/pull/120
---
 src/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main.c b/src/main.c
index 2029fba..6afb1ec 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1312,7 +1312,7 @@ static gboolean show_actions_menu(gpointer data)
   gtk_menu_shell_append((GtkMenuShell*)menu, menu_item);
   /* Popup the menu... */
   gtk_widget_show_all(menu);
-  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, 
gtk_get_current_event_time());
+  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, status_icon ? 
gtk_status_icon_position_menu : NULL, status_icon, 1, 
gtk_get_current_event_time());
   /* Return false so the g_timeout_add() function is called only once */
   return FALSE;
 }
@@ -2122,7 +2122,7 @@ next_loop:
        
g_signal_connect(menu,"selection-done",(GCallback)destroy_history_menu,(gpointer)&h);
   /* Popup the menu... */
   gtk_widget_show_all(menu);
-  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, 
get_pref_int32("history_pos")?postition_history:set_menu_xy, NULL, 1, 
gtk_get_current_event_time());
+  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, 
get_pref_int32("history_pos")?postition_history:status_icon ? 
gtk_status_icon_position_menu : set_menu_xy, status_icon, 1, 
gtk_get_current_event_time());
        /**set last entry at first -fixes bug 2974614 */
        if(get_pref_int32("reverse_history") && NULL != h.clip_item)
                gtk_menu_shell_select_item((GtkMenuShell*)menu,h.clip_item);
@@ -2206,7 +2206,7 @@ GtkWidget *create_parcellite_menu(guint button, guint 
activate_time)
   gtk_menu_shell_append((GtkMenuShell*)menu, menu_item);
   /* Popup the menu... */
   gtk_widget_show_all(menu);
-  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, set_menu_xy, (gpointer)1, button, 
activate_time);
+  gtk_menu_popup((GtkMenu*)menu, NULL, NULL, status_icon ? 
gtk_status_icon_position_menu : set_menu_xy, status_icon, button, 
activate_time);
   return menu;
 }
 
-- 
2.51.0


++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.YI4qFY/_old  2026-07-17 01:43:19.244940354 +0200
+++ /var/tmp/diff_new_pack.YI4qFY/_new  2026-07-17 01:43:19.248940490 +0200
@@ -1,6 +1,6 @@
-mtime: 1784121460
-commit: bdd315d130a1b18f4d0a9ece5b5e2eddaddb7d14008891ed2c5d8025651b282d
+mtime: 1784127777
+commit: 5d83dff7811ebd7219c0baf8a30f204c023b9b993f7e93f647fd5bd7c85d0bd0
 url: https://src.opensuse.org/lxde/parcellite
-revision: bdd315d130a1b18f4d0a9ece5b5e2eddaddb7d14008891ed2c5d8025651b282d
+revision: 5d83dff7811ebd7219c0baf8a30f204c023b9b993f7e93f647fd5bd7c85d0bd0
 projectscmsync: https://src.opensuse.org/lxde/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-07-15 17:02:57.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to