Bug#1041196: marco: Window title disappears when the first character is Chinese

2023-10-04 Thread Colomban Wendling
Package: marco
Version: 1.26.1-3+deb12u1
Followup-For: Bug #1041196

> A fix is merged upstream, although no new release has been made yet.

Indeed, however the version in Bookworm manually imports the patch
creating the issue, because it's not in 1.26.1 (it's in 1.26.2 though).

So IMO this need to be patched in Bookworm, and even in unstable
waiting for a release, as it's quite problematic when having such
title-less windows.



Bug#1041196: marco: Window title disappears when the first character is Chinese

2023-07-19 Thread Wenbin Lv
Control: tags -1 + patch

A fix is merged upstream, although no new release has been made yet.

https://github.com/mate-desktop/marco/pull/758/commits/4afac8d567bbedead598f213900c805ae406be04


Bug#1041196: marco: Window title disappears when the first character is Chinese

2023-07-15 Thread Wenbin Lv
Control: found -1 1.26.1-3+deb12u1
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/mate-desktop/marco/issues/757

Confirmed this bug affects 1.26.1-3+deb12u1. So the aforementioned commit
caused the problem.

Most Chinese characters are 3 bytes long under UTF-8, and UTF-8 characters
can be as long as 4 bytes. So "g_utf8_strlen (title, 2) < 1" will be true
if the first character is Chinese.


Bug#1041196: marco: Window title disappears when the first character is Chinese

2023-07-15 Thread Wenbin Lv
Package: marco
Version: 1.26.2-1
Severity: normal

Dear developers,

After upgrading to marco 1.26.2-1, a window's title is not displayed if
the first character of it is Chinese. Downgrading to 1.26.1-3 fixes the
problem.

The bug seems to be caused by the upstream fix to #1040752:
https://github.com/mate-desktop/marco/commit/730ed9dc454e97f569df8a92ac065a1afcc05baa

Thanks,
Wenbin Lv

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8),
LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages marco depends on:
ii  libc62.37-6
ii  libcairo21.16.0-7
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libglib2.0-0 2.74.6-2
ii  libgtk-3-0   3.24.37-2
ii  libmarco-private21.26.2-1
ii  libpango-1.0-0   1.50.14+ds-1
ii  libx11-6 2:1.8.6-1
ii  marco-common 1.26.2-1
ii  mate-desktop-common  1.26.1-1
ii  zenity   3.44.0-3

marco recommends no packages.

marco suggests no packages.

-- no debconf information