Your message dated Sun, 25 Jan 2026 14:37:50 +0000
with message-id <[email protected]>
and subject line Bug#1126412: fixed in gapless 4.6-2
has caused the Debian Bug report #1126412,
regarding Fails to send startup-id causing timeouts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1126412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126412
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gapless
Version: 4.6-1
Severity: normal
Tags: patch upstream

Hi,
gapless uses a bit of an arcane way to show the toplevel which
makes it fail to send the proper startup-id. This causes launch
splash timeouts on mobile making it seem that the app takes
longer to start as it actually does.

A patch is attached and upstream at

https://gitlab.gnome.org/neithern/g4music/-/merge_requests/55

Cheers,
 -- Guido


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.17.13+deb14-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gapless depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.49.0-4
ii  libadwaita-1-0                               1.8.3-1
ii  libc6                                        2.42-7
ii  libgdk-pixbuf-2.0-0                          2.44.4+dfsg-1
ii  libglib2.0-0t64                              2.86.3-4
ii  libgraphene-1.0-0                            1.10.8-5
ii  libgstreamer-plugins-base1.0-0               1.26.10-1
ii  libgstreamer1.0-0                            1.26.10-1
ii  libgtk-4-1                                   4.20.3+ds-3
ii  libpango-1.0-0                               1.56.4-1

gapless recommends no packages.

gapless suggests no packages.

-- no debconf information
>From 919efa87498ed1281abf1144f0c762c432b1b02f Mon Sep 17 00:00:00 2001
Message-ID: <919efa87498ed1281abf1144f0c762c432b1b02f.1769349484.git....@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
Date: Wed, 7 Jan 2026 17:47:47 +0100
Subject: [PATCH] application: Present window from activate

---
 ...ication-Present-window-from-activate.patch | 50 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 51 insertions(+)
 create mode 100644 debian/patches/application-Present-window-from-activate.patch
 create mode 100644 debian/patches/series

diff --git a/debian/patches/application-Present-window-from-activate.patch b/debian/patches/application-Present-window-from-activate.patch
new file mode 100644
index 0000000..9ff543c
--- /dev/null
+++ b/debian/patches/application-Present-window-from-activate.patch
@@ -0,0 +1,50 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <[email protected]>
+Date: Tue, 6 Jan 2026 17:55:48 +0100
+Subject: application: Present window from activate
+
+If the window is spawned from open the activation token is 0 and thus
+rejected from the compositor. This leads e.g. to the launch splash in
+Phosh timing out and making gapless look slow to start up.
+
+Creating the window from activate fixes this.
+---
+ src/application.vala | 13 +++++++++----
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/src/application.vala b/src/application.vala
+index eaf89aa..4b5f14f 100644
+--- a/src/application.vala
++++ b/src/application.vala
+@@ -20,6 +20,7 @@ namespace G4 {
+         private uint _sort_mode = SortMode.TITLE;
+         private bool _store_external_changed = false;
+         private Thumbnailer _thumbnailer = new Thumbnailer ();
++        private bool inited = false;
+ 
+         public signal void index_changed (int index, uint size);
+         public signal void music_changed (Music? music);
+@@ -82,16 +83,20 @@ namespace G4 {
+             base.activate ();
+ 
+             var window = Window.get_default ();
+-            if (window != null) {
+-                ((!)window).present ();
+-            } else {
++            if (window == null) {
++	            window = new Window (this);
++            }
++            ((!)window).present();
++
++            if (!inited) {
+                 open ({}, "");
+             }
+         }
+ 
+         public override void open (File[] files, string hint) {
+             var window = Window.get_default ();
+-            var initial = window == null;
++            var initial = !inited;
++            inited = true;
+             (window ?? new Window (this))?.present ();
+ 
+             if (initial && _current_music == null) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9e42a75
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+application-Present-window-from-activate.patch
-- 
2.51.0


--- End Message ---
--- Begin Message ---
Source: gapless
Source-Version: 4.6-2
Done: Daniel Baumann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gapless, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated gapless package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 25 Jan 2026 15:13:03 +0100
Source: gapless
Architecture: source
Version: 4.6-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1126412
Changes:
 gapless (4.6-2) unstable; urgency=low
 .
   * Updating to standards version 4.7.3.
   * Adding patch from Guido Günther <[email protected]> to make gapless
     start instantly without splash timeout (Closes: #1126412).
   * Updating years in copyright for 2026.
Checksums-Sha1:
 30120064fe9fe349147ac516f65fe4bc2a885282 1335 gapless_4.6-2.dsc
 afa18e57ecb003edd00cf1a15363d2337392c468 8656 gapless_4.6-2.debian.tar.xz
 046673ee04a2f446422ffff3b0a91e05a20073e3 15803 gapless_4.6-2_amd64.buildinfo
Checksums-Sha256:
 51cb8258615edd0a965770fe843b237b2e540ec16c6c169c39fd5df4ac588531 1335 
gapless_4.6-2.dsc
 a9f84ee57e31364c7a90f3a0b999a587f4e5a6f0d5dee29e7a43cd741da56545 8656 
gapless_4.6-2.debian.tar.xz
 ef518c359a831312ad072b566068064dc178f0a1693989d7cdd5c685a9a2eeff 15803 
gapless_4.6-2_amd64.buildinfo
Files:
 574a36bff67c16987a57ba14beb6c1b4 1335 gnome optional gapless_4.6-2.dsc
 2a9d358013846f301b15b371784748eb 8656 gnome optional 
gapless_4.6-2.debian.tar.xz
 93d36e2b60102330168bbf4681c13900 15803 gnome optional 
gapless_4.6-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaXYmCAAKCRD7tPDoCoAi
L0IEAP4uif2b62601FNtGJkjYkypS9VkoqB7m4QnL/Ku1ttc3AEAjogalv9KeGEf
TzZr8ptOt8KA9KltZ/uMhgMc3cGeJgE=
=Xghc
-----END PGP SIGNATURE-----

Attachment: pgp4zdrdGicCA.pgp
Description: PGP signature


--- End Message ---

Reply via email to