a mangled window title makes all windows disappear
Affected version
- Fedora 34 (the bug has existed at least since Fedora 30)
- Mutter 40.0 (but the problem exists in earlier versions as well)
- This issue appears both in XOrg and/or Wayland
Bug summary
Steps to reproduce
- run mpv with a video file whose metadata doesn't correspond to the current locale For example, metadata is in cp1251 but the locale is en_GB.UTF-8
- press SUPER (or move the mouse cursor to the upper-left corner)
What happened
all windows are gone. I can only see the grey background, the system panel on top, the application panel on bottom. But there is no way to select an application when you click on its icon, alt-tab stops working, clicking on "show applications" has no effect.
What did you expect to happen
- I see miniature versions of windows belonging to running applications
- I can select any window by clicking on it and it comes to the foreground
- alt-tab keeps working (windows are still selectable with alt-tab)
Relevant logs, screenshots, screencasts etc.
see a corresponding bug report against mpv https://github.com/mpv-player/mpv/issues/8812 but this issue must be fixed in mutter as well (no app should be able to ruin GNOME by providing an invalid title)
$ wmctrl -l
0x04200002 0 N/A ����������� ���� - mpv
the title in hex is c0 f1 ee f6 e8 e0 eb fc ed e0 ff 20 f1 e5 f2 fc 5f 32 30 32 31 5f 42 44 52 69 70 20 2d 20 6d 70 76 (you can turn in into binary form with xxd -ps -r
Edited by Creme Brulee