https://bugs.documentfoundation.org/show_bug.cgi?id=172963
Bug ID: 172963
Summary: X11 gen VCL backend exposes window title as
undecodable COMPOUND_TEXT
Product: LibreOffice
Version: 26.2.4.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
X11 gen VCL backend exposes window title as undecodable COMPOUND_TEXT
(rofi/wmctrl show "Invalid encoding." / "N/A")
LibreOffice 26.2.4.2 using the "gen" VCL backend on X11 exposes a window title
that cannot be decoded by several X11 clients.
Environment:
- LibreOffice: 26.2.4.2
- X11 session
- Window manager: dwm
- Locale: el_GR.UTF-8
- VCL plugin: gen (SAL_USE_VCLPLUGIN=gen)
Symptoms:
- rofi (window mode) displays "Invalid encoding." instead of the document
title.
- wmctrl -l shows "N/A" as the window title.
- xwininfo reports:
"Window id: ... (name in unsupported encoding COMPOUND_TEXT)"
However:
xprop -id <windowid> WM_NAME _NET_WM_NAME
returns:
WM_NAME(COMPOUND_TEXT) = "file.docx — LibreOffice Writer"
_NET_WM_NAME: not found.
The same LibreOffice version, when started with:
SAL_USE_VCLPLUGIN=gtk3 libreoffice
works correctly:
- rofi displays the correct window title.
- wmctrl displays the correct window title.
- xwininfo no longer reports an unsupported encoding.
Other X11 applications do not exhibit this problem.
This appears to be specific to the "gen" VCL backend. Either the COMPOUND_TEXT
emitted by the backend is malformed, or it is missing a UTF8 _NET_WM_NAME
property that modern X11 applications expect.
Steps to reproduce:
1. Start LibreOffice with:
SAL_USE_VCLPLUGIN=gen libreoffice --writer
2. Open a document.
3. Run:
wmctrl -l
xwininfo -id <windowid>
4. Observe that wmctrl reports "N/A" and xwininfo reports "name in unsupported
encoding COMPOUND_TEXT".
Expected result:
The window title should be readable by standard X11 clients (wmctrl, rofi,
xwininfo), as it is when using the gtk3 VCL backend.
--
You are receiving this mail because:
You are the assignee for the bug.