X2Go Bug report logs -
#1305
bad window title encoding for Unicode (Cyrillic) session names
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to x2go-dev@lists.x2go.org, cas@altlinux.org, mcpain@altlinux.org, zerg@altlinux.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1305
; Package x2goclient
.
(Fri, 15 Jun 2018 19:30:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Ivan Zakharyaschev <imz@altlinux.org>
:
New Bug report received and forwarded. Copy sent to cas@altlinux.org, mcpain@altlinux.org, zerg@altlinux.org, X2Go Developers <x2go-dev@lists.x2go.org>
.
(Fri, 15 Jun 2018 19:30:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.1.1.1
Tag: patch
If the session name is written in Cyrillic (I guess, any Unicode), the
window title is displayed incorrectly (as if Unicode was not understood,
with strange symbols) in the task bar in the KDE panel.
See the attached screenshot (made by mcpain@).
Patch (by mcpain@ and zerg@) is attached, too:
x2goclient-4.1.1.1-window-title-encoding.patch
The client and server OS are: ALT Linux (Sisyphus or p8).
The window manager is KDE.
[x2goclient-4.1.1.1-window-title-encoding.patch (text/x-patch, ATTACHMENT)]
From 877cc06728efac1ccd7c01d47c25df0166de42e8 Mon Sep 17 00:00:00 2001
From: Oleg Solovyov <mcpain@altlinux.org>
Date: Fri, 15 Jun 2018 20:55:26 +0300
Subject: [PATCH] fix window title encoding for Unicode (Cyrillic) session
names
If the session name was written in Cyrillic, the window title would be
displayed incorrectly (as if Unicode was not understood, with strange
symbols) in the task bar in the KDE panel.
Co-authored-by: Sergey V Turchin <zerg@altlinux.org>
---
src/onmainwindow.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index fdc043b..7b2c283 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -11233,6 +11233,12 @@ void ONMainWindow::setProxyWinTitle()
#ifdef Q_OS_LINUX
XStoreName(QX11Info::display(), proxyWinId, title.toLocal8Bit().data());
+ XChangeProperty(QX11Info::display(), proxyWinId,
+ XInternAtom(QX11Info::display(), "_NET_WM_NAME", 0),
+ XInternAtom(QX11Info::display(), "UTF8_STRING", 0), 8,
+ PropModeReplace,
+ (unsigned char*) title.toUtf8().data(),
+ strlen(title.toUtf8().data()));
XWMHints* win_hints;
--
2.10.4
[x2go-window-title-encoding-bug-drkonqi.png (image/png, ATTACHMENT)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1305
; Package x2goclient
.
(Wed, 15 Aug 2018 21:20:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Wed, 15 Aug 2018 21:20:02 GMT) (full text, mbox, link).
Message #10 received at 1305@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Ionic,
On Fr 15 Jun 2018 21:21:35 CEST, Ivan Zakharyaschev wrote:
> Package: x2goclient
> Version: 4.1.1.1
> Tag: patch
>
> If the session name is written in Cyrillic (I guess, any Unicode), the
> window title is displayed incorrectly (as if Unicode was not understood,
> with strange symbols) in the task bar in the KDE panel.
>
> See the attached screenshot (made by mcpain@).
>
> Patch (by mcpain@ and zerg@) is attached, too:
> x2goclient-4.1.1.1-window-title-encoding.patch
>
> The client and server OS are: ALT Linux (Sisyphus or p8).
> The window manager is KDE.
any opinion on this already. Looks ok to me. For nx-libs we have a
similar issue which I consider fixing by merging the open PR.
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1305
; Package x2goclient
.
(Tue, 24 Dec 2019 00:05:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Ivan Zakharyaschev <imz@altlinux.org>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Tue, 24 Dec 2019 00:05:03 GMT) (full text, mbox, link).
Message #15 received at 1305@bugs.x2go.org (full text, mbox, reply):
Hi!
ping
On Fri, 15 Jun 2018, Ivan Zakharyaschev wrote:
> Package: x2goclient
> Version: 4.1.1.1
> Tag: patch
> Patch (by mcpain@ and zerg@) is attached, too:
> x2goclient-4.1.1.1-window-title-encoding.patch
The patch still applies to 4.1.2.1; like this:
Patch #4 (x2goclient-encoding.patch):
+ /usr/bin/patch -p1
patching file src/onmainwindow.cpp
Hunk #1 succeeded at 10990 (offset -235 lines).
--
Best regards,
Ivan
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#1305
; Package x2goclient
.
(Fri, 19 Aug 2022 11:15:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Юрий Ващенко <prog.123@mail.ru>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Fri, 19 Aug 2022 11:15:02 GMT) (full text, mbox, link).
Message #20 received at 1305@bugs.x2go.org (full text, mbox, reply):
Hi all
Debian OS, version x2go 4.1.2.2, the problem with Cyrillic remained
The patch helps perfectly.
Why developers have not yet applied it in versions :(
Send a report that this bug log contains spam.
X2Go Developers <owner@bugs.x2go.org>.
Last modified:
Thu Nov 21 11:39:23 2024;
Machine Name:
ymir.das-netzwerkteam.de
X2Go Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.