Distribution
Mint 22.3 and LMDE7
Package version
3.2.2
Graphics hardware in use
Intel UHD Graphics 620
Frequency
Always
Bug description
Title
Cinnamon panel tooltip for fcitx5 StatusNotifierItem displays corrupted Japanese text
Environment
- Distribution: Linux Mint Debian Edition 7 (LMDE 7)
- Cinnamon: 6.6.7
- libxapp: 3.2.2
- libayatana-appindicator: 0.5.94
- fcitx5: 5.1.12
- fcitx5-mozc installed
The same issue has also been confirmed by another user on Linux Mint 22.3.
Description
When hovering the mouse over the fcitx5 tray icon in the Cinnamon panel, the tooltip text is corrupted.
Expected:
Actual:
Only the tooltip is affected.
All other Japanese strings (fcitx5 configuration tool, menus, candidate window, etc.) are displayed correctly.
Investigation
The following checks were performed.
Locale
Locale configuration is correct.
Translation
The Japanese translation in fcitx5.mo is correct.
msgid "Input Method"
msgstr "入力メソッド"
StatusNotifierItem properties
ToolTip property:
('', @a(iiay) [], '', '')
ToolTip is empty.
Title property:
The Title property contains the correct UTF-8 string.
Therefore fcitx5 publishes the correct Japanese title through D-Bus.
Conclusion
The corruption appears after the StatusNotifierItem Title is received by Cinnamon.
Since
- gettext translation is correct,
- D-Bus Title is correct,
- only the Cinnamon tooltip is corrupted,
the problem is likely somewhere in the Cinnamon/XApp StatusNotifier handling rather than in fcitx5.
It may be worth checking the code path that converts the StatusNotifierItem Title into the tooltip text.
Steps to reproduce
Installing Fcitx5-mozc on LMDE 7
Expected behavior
・Reproduced on LMDE 7 and Linux Mint 22.3
・fcitx5 + fcitx5-mozc
・Only the panel tooltip displays "Input Method" as "eQ力 Method"
・org.kde.StatusNotifierItem.Title is "Input Method"
・org.kde.StatusNotifierItem.ToolTip is empty
・Since the string on D-Bus is correct, the issue appears to lie with the display rendering logic
Additional information
gdbus call
--session
--dest :1.75
--object-path /StatusNotifierItem
--method org.freedesktop.DBus.Properties.Get
org.kde.StatusNotifierItem Title
→ ('入力メソッド',)
Distribution
Mint 22.3 and LMDE7
Package version
3.2.2
Graphics hardware in use
Intel UHD Graphics 620
Frequency
Always
Bug description
Title
Cinnamon panel tooltip for fcitx5 StatusNotifierItem displays corrupted Japanese text
Environment
The same issue has also been confirmed by another user on Linux Mint 22.3.
Description
When hovering the mouse over the fcitx5 tray icon in the Cinnamon panel, the tooltip text is corrupted.
Expected:
Actual:
Only the tooltip is affected.
All other Japanese strings (fcitx5 configuration tool, menus, candidate window, etc.) are displayed correctly.
Investigation
The following checks were performed.
Locale
Locale configuration is correct.
Translation
The Japanese translation in
fcitx5.mois correct.StatusNotifierItem properties
ToolTip property:
ToolTip is empty.
Title property:
The Title property contains the correct UTF-8 string.
Therefore fcitx5 publishes the correct Japanese title through D-Bus.
Conclusion
The corruption appears after the StatusNotifierItem Title is received by Cinnamon.
Since
the problem is likely somewhere in the Cinnamon/XApp StatusNotifier handling rather than in fcitx5.
It may be worth checking the code path that converts the StatusNotifierItem Title into the tooltip text.
Steps to reproduce
Installing Fcitx5-mozc on LMDE 7
Expected behavior
・Reproduced on LMDE 7 and Linux Mint 22.3
・fcitx5 + fcitx5-mozc
・Only the panel tooltip displays "Input Method" as "eQ力 Method"
・org.kde.StatusNotifierItem.Title is "Input Method"
・org.kde.StatusNotifierItem.ToolTip is empty
・Since the string on D-Bus is correct, the issue appears to lie with the display rendering logic
Additional information
gdbus call
--session
--dest :1.75
--object-path /StatusNotifierItem
--method org.freedesktop.DBus.Properties.Get
org.kde.StatusNotifierItem Title
→ ('入力メソッド',)