Xpra: Ticket #526: unicode window titles do not work on XP

GTK requires all window titles to be sent as UTF-8, which we now do explicitly (see r5694), but even with the patch attached which uses user32.SetWindowTextW on the window handle to bypass GTK and set the window title using UTF-16, we still get gibberish in the title bar...

The patch also checks and the window does support unicode (isWindowUnicode()==1).

This can be tested with tests.xpra.test_apps.test_window_title

Tue, 04 Mar 2014 05:47:34 GMT - Antoine Martin: attachment set

tries to use SetWindowTextW to set the window title

Tue, 04 Mar 2014 06:15:21 GMT - Antoine Martin: attachment set

alternative patch using MultiByteToWideChar? instead of encode to utf-16-le

Wed, 22 Apr 2015 08:29:12 GMT - Antoine Martin: status, summary changed; resolution set

Turns out that this is a limitation of XP, works fine with win7 (see #826).

So I don't think we can fix this.

Sat, 28 Nov 2015 09:57:51 GMT - Antoine Martin: description changed

Mon, 20 Feb 2017 12:19:36 GMT - Antoine Martin: milestone changed

Sat, 23 Jan 2021 04:58:23 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/526