Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-pomodoro for openSUSE:Factory 
checked in at 2022-05-02 16:25:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-pomodoro (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-pomodoro.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-pomodoro"

Mon May  2 16:25:58 2022 rev:27 rq:974363 version:0.21.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-pomodoro/gnome-pomodoro.changes    
2022-04-05 19:55:50.473974167 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-pomodoro.new.1538/gnome-pomodoro.changes  
2022-05-02 16:26:28.836898990 +0200
@@ -1,0 +2,6 @@
+Mon May  2 07:56:28 UTC 2022 - Michael Vetter <mvet...@suse.com>
+
+- Update to 0.21.1:
+  * Fixed break overlay geting stuck at 0:01 on GNOME 42
+
+-------------------------------------------------------------------

Old:
----
  0.21.0.tar.gz

New:
----
  0.21.1.tar.gz

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

Other differences:
------------------
++++++ gnome-pomodoro.spec ++++++
--- /var/tmp/diff_new_pack.PGhZtI/_old  2022-05-02 16:26:29.456899679 +0200
+++ /var/tmp/diff_new_pack.PGhZtI/_new  2022-05-02 16:26:29.472899697 +0200
@@ -18,7 +18,7 @@
 
 %global __requires_exclude typelib\\(Meta\\)
 Name:           gnome-pomodoro
-Version:        0.21.0
+Version:        0.21.1
 Release:        0
 Summary:        A time management utility for GNOME
 License:        GPL-3.0-or-later

++++++ 0.21.0.tar.gz -> 0.21.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-pomodoro-0.21.0/NEWS 
new/gnome-pomodoro-0.21.1/NEWS
--- old/gnome-pomodoro-0.21.0/NEWS      2022-04-01 22:27:32.000000000 +0200
+++ new/gnome-pomodoro-0.21.1/NEWS      2022-05-01 20:45:02.000000000 +0200
@@ -1,4 +1,9 @@
 2022-04-01  Kamil Prusko  <kamilpru...@gmail.com>
+       Release version 0.21.1:
+
+       * Fixed break overlay geting stuck at 0:01 on GNOME 42 (thanks @upsuper)
+
+2022-04-01  Kamil Prusko  <kamilpru...@gmail.com>
        Release version 0.21.0:
 
        * Support for GNOME Shell 42 (thanks @milotype and @kappa)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-pomodoro-0.21.0/data/org.gnome.Pomodoro.appdata.xml.in 
new/gnome-pomodoro-0.21.1/data/org.gnome.Pomodoro.appdata.xml.in
--- old/gnome-pomodoro-0.21.0/data/org.gnome.Pomodoro.appdata.xml.in    
2022-04-01 22:27:32.000000000 +0200
+++ new/gnome-pomodoro-0.21.1/data/org.gnome.Pomodoro.appdata.xml.in    
2022-05-01 20:45:02.000000000 +0200
@@ -44,6 +44,14 @@
   <translation type="gettext">gnome-pomodoro</translation>
   <content_rating type="oars-1.1" />
   <releases>
+    <release version="0.21.1" date="2022-05-01">
+      <description>
+        <p>Overview of changes in gnome-pomodoro 0.21.1</p>
+        <ul>
+          <li>Fixed break overlay geting stuck at 0:01 on GNOME 42 (thanks 
@upsuper)</li>
+        </ul>
+      </description>
+    </release>
     <release version="0.21.0" date="2022-04-01">
       <description>
         <p>Overview of changes in gnome-pomodoro 0.21.0</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-pomodoro-0.21.0/meson.build 
new/gnome-pomodoro-0.21.1/meson.build
--- old/gnome-pomodoro-0.21.0/meson.build       2022-04-01 22:27:32.000000000 
+0200
+++ new/gnome-pomodoro-0.21.1/meson.build       2022-05-01 20:45:02.000000000 
+0200
@@ -1,7 +1,7 @@
 project(
   'gnome-pomodoro',
   ['vala', 'c'],
-  version: '0.21.0',
+  version: '0.21.1',
   meson_version: '>=0.49.0',
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-pomodoro-0.21.0/plugins/gnome/extension/dialogs.js 
new/gnome-pomodoro-0.21.1/plugins/gnome/extension/dialogs.js
--- old/gnome-pomodoro-0.21.0/plugins/gnome/extension/dialogs.js        
2022-04-01 22:27:32.000000000 +0200
+++ new/gnome-pomodoro-0.21.1/plugins/gnome/extension/dialogs.js        
2022-05-01 20:45:02.000000000 +0200
@@ -203,6 +203,7 @@
 
         this._state = State.CLOSED;
         this._hasModal = false;
+        this._grab = null;
         this._pushModalDelaySource = 0;
         this._pushModalWatchId = 0;
         this._pushModalSource = 0;
@@ -439,8 +440,16 @@
             return;
         }
 
-        Main.popModal(this, timestamp);
+        if (this._grab.get_seat_state !== undefined) {
+            // gnome-shell 42 and newer
+            Main.popModal(this._grab, timestamp);
+        }
+        else {
+            Main.popModal(this, timestamp);
+        }
+        this._grab = null;
         this._hasModal = false;
+
         this._lightbox.reactive = false;
     }
 
@@ -458,21 +467,30 @@
             params['timestamp'] = timestamp;
         }
 
-        if (!Main.pushModal(this, params)) {
-            return;
+        let grab = Main.pushModal(this, params);
+        if (grab.get_seat_state !== undefined) {
+            // gnome-shell 42 and newer
+            if (grab.get_seat_state() === Clutter.GrabState.NONE) {
+                Main.popModal(grab);
+                return false;
+            }
         }
 
-        this._disconnectPushModalSignals();
+        this._grab = grab;
+        Main.layoutManager.emit('system-modal-opened');
+
         this._hasModal = true;
+        this._disconnectPushModalSignals();
         this._lightbox.reactive = true;
 
-        global.stage.set_key_focus(this._lightbox);
+        // global.stage.set_key_focus(this._lightbox);
+        this._lightbox.grab_key_focus();
 
         if (!this._keyFocusOutId) {
             this._keyFocusOutId = this._lightbox.connect('key-focus-out', 
this._onKeyFocusOut.bind(this));
         }
 
-        Main.layoutManager.emit('system-modal-opened');
+        return true;
     }
 
     _onDestroy() {

Reply via email to