#886263 gtk3-nocsd does not work for python programs

Package:
gtk3-nocsd
Source:
gtk3-nocsd
Submitter:
Alexander Schier
Date:
2024-09-14 14:39:10 UTC
Severity:
important
Tags:
#886263#5
Date:
2018-01-03 15:26:46 UTC
From:
To:
Dear Maintainer,
gtk3-nocsd seems not to work for python programs like gajim (1.x). Probably
the preloaded lib is not used for the interpreter / the gtk lib loaded
by python or similar.
Is there a possible fix or workaround?

with kind regards,
Alex

#886263#10
Date:
2018-01-03 15:40:37 UTC
From:
To:
Control: severity -1 important
Control: tags -1 + buster sid

It should work for Python programs (and it does on Stretch), so I
assume this is because of changes in GTK in Buster/sid that are
now incompatible with gtk3-noscsd.

1.Could you give me the precise Debian versions of gajim as well
as the GTK library it uses (both the version of the Python package
as well as the C package)?

2. Are you on X11 or Wayland? What Desktop environment or Window
manager are you using?

3. What does "does not work" mean? Program crashes? Or does it
still use CSDs? If so, could you perhaps attach a screenshot?

Thanks!

Regards,
Christian

#886263#19
Date:
2018-01-03 17:24:02 UTC
From:
To:
Hello.

Am 03.01.2018 um 16:40 schrieb Christian Seiler:
Many gtk3 programs seem to work, the gajim gtk3 version did not.
I will do more tests later, as I will need a quite big update on the
machine running buster.
All gajim versions in sid and now buster which use gtk3, i.e. 1.x.x~alphax
I will give more precise versions when I upgrade the system to current
buster status and do more tests.
X11 and KDE. Programs like evince, file-roller, etc. worked, gajim did not.
It had the big gnome3 window decoration instead of the kwin decoration.

I will do more tests later, as quite a few upgrades are waiting and I am
debugging some gajim problem at the same time and try not to break my
profile there while up- and downgrading ;-).

with kind regards,
Alex

#886263#24
Date:
2018-01-07 10:08:12 UTC
From:
To:
Hello.

I can confirm, that gtk3-nocsd 3-1 works with evince 3.26.0-2 and does
not work with gajim 1.0.0~alpha2-1 in debian buster, which are the
latest available versions in buster right now.

Alex

#886263#29
Date:
2018-01-07 17:29:15 UTC
From:
To:
Control: tags -1 + confirmed

I can reproduce this in a virtual machine.

Note that evince doesn't appear to use CSDs at all anymore when not on
GNOME (even without gtk3-nocsd), but e.g. gedit can demonstrate nicely
that gtk3-nocsd does work in principle.

I've also tested this on Stretch, and there Gajim does not use CSDs
with gtk3-nocsd, so this was introduced with a change in gtk3 in
Buster. (Presumeably.)

I'll take a look at what exactly changed in Buster regarding CSDs in
the next couple of days.

Regards,
Christian

#886263#40
Date:
2021-09-18 17:52:05 UTC
From:
To:
I've had similar problems with piper. I tested with 0.5.1-1.

With libgtk3-nocsd0 3-1, this program (written in Python) uses CSD
regardless.

With libgtk3-nocsd0 git, the problem went away; piper used server-side
decorations.

Further testing quickly showed that the commit which fixes upstream issue 16
(https://github.com/PCMan/gtk3-nocsd/issues/16) is sufficient.

#886263#47
Date:
2024-09-14 14:35:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gtk3-nocsd, 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 886263@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated gtk3-nocsd 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 14 Sep 2024 16:11:08 +0200
Source: gtk3-nocsd
Architecture: source
Version: 3-2
Distribution: unstable
Urgency: medium
Maintainer: Christian Seiler <christian@iwakd.de>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 825989 886263 888306 1073094 1081071
Changes:
 gtk3-nocsd (3-2) unstable; urgency=medium
 .
   * Team upload of Debian team
 .
   [ Christian Seiler ]
   * Xsession.d/01gtk3-nocsd: clarify comments about configuration
     Closes: #825989
   * Only cache gtk version check result if Gtk is loaded
     Closes: #886263
 .
   [ Jelmer Vernooij ]
   * Migrate repository from alioth to salsa.
     Closes: #1081071
 .
   [ Khurshid Alam ]
   * Improve the session detection fixing broken headerbars and decorations
     (patch applied directly in debian/extra instead by quilt)
     Closes: #888306 (LP: #1745206)
 .
   [ Andreas Tille ]
   * Fix watch file
   * Build-Depends: s/markdown/discount/
     Closes: #1073094
   * Standards-Version: 4.7.0 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Reorder sequence of d/control fields by cme (routine-update)
   * Secure URI in copyright format (routine-update)
   * Rules-Requires-Root: no (routine-update)
   * Fix lintian overrides
   * libgtk3-nocsd0 should be Section: libs
Checksums-Sha1:
 3353ba8ec2a1c184e3611e2c4968f12ed55c55cd 1968 gtk3-nocsd_3-2.dsc
 e33eb1159605c663024a2ebafad43d650803825b 7156 gtk3-nocsd_3-2.debian.tar.xz
 edb91d2785a3cc48557066c39ee53e2f3212c617 15664 gtk3-nocsd_3-2_amd64.buildinfo
Checksums-Sha256:
 39f7fd1d4d0b8a9185f902d7138630942f22905d825cbdedca35d261b32741ab 1968 gtk3-nocsd_3-2.dsc
 e14babb0b38d57c3e945b03bfcb6f9226e2a90ce32e442424c5e9214ac5cabb1 7156 gtk3-nocsd_3-2.debian.tar.xz
 4f7c2d266f55edb1f5cc832ccae2cd73b2b38c916eab0691b4129fb7eb0f5e6b 15664 gtk3-nocsd_3-2_amd64.buildinfo
Files:
 7c990ceaa8dc76379003831c50e7ddde 1968 x11 optional gtk3-nocsd_3-2.dsc
 44200cc28a89426078a6837e0c317a95 7156 x11 optional gtk3-nocsd_3-2.debian.tar.xz
 cfb1342bf6aa30e9f2433393b4cc2408 15664 x11 optional gtk3-nocsd_3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmblm/IRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEvhxAAg88JTqwTnU0rILFEtaRFBo44R/gIbLit
aUVk6xQv6OS2S8f9oPTQ+Og9FiwjPWJgJ4uORGkoai0uQH0Y2YUmunoDGkQIDLq5
OHqeWGBqMmiEpNzXEiagOFY9Dksfs0IISoyXggWsUx2PHS1P5trl2lnfY2u9eWC8
If/XHs2PROdFRZwARObbkjkDsNoWSI9fe75YwTXFikg2MwgqRaKvagDZ06085r0Q
LRbqcv2VHchkN75+XJ2l4Fh2KorM7E9otxJMMVZya1taYLzGVNGtp1osB4ckPoIh
p2rgjIbfdZuImqTDviM2KNlC8XqD71oWrSBhqDvhZzbLiAV7g93Q6DIXjRbHfhZ7
faq8sphRpQ3wjmcEEcHqEsus9DILuFiC1ljflLE2Uc1+xh7eWChGpnByHqR0UDgT
bxZ89jaWlPqe3ap11zZ3QPQRBg4W9oTzhEvyymNsPGk6Nw778H7KwHXJyt8CSl9N
vm7c3vmh0u93Cm5db+5VAuglEu1S2KnOgJMS1PbXkJXGqdEi1Uk8WC8UMonHMp3k
xsF22TqJTU9+Qo26oF5NU1dA4hA0Ng5QJjNU2qnn/VtQtdqxs19u/ef9iPupPiEa
7+Oc6e+I7PO60lYR85OJhreorXXWmlXEF7r8LAOrOnbMuW2mGVIc34yqzgzKe6ti
w5/eCaxGdQE=
=07ZK
-----END PGP SIGNATURE-----