Skip to content

xprops: Validate text properties that claim to be UTF8

Sebastian Keller requested to merge skeller/mutter:invalid-utf8-wm-name into master

Some clients such as mpv might set the WM_TITLE as a UTF8_STRING based on some unconverted/unvalidated metadata that is not actually UTF8. This would then be set as the title of a MetaWindow (in the absence of a valid UTF8 _NET_WM_TITLE). The shell then tries to use this window title for things like the overview or the window switcher where it would trigger an UTF8 validation error and leave the shell in an unusable state.

Fixes: #1794 (closed)

Merge request reports