FS#80298 - [fcitx5-qt] qt6-wayland is required at runtime for Fcitx5 to work with Qt6 apps under X11

Attached to Project: Arch Linux
Opened by Yuki Ibe (yibe) - Monday, 20 November 2023, 09:28 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After a recent system upgrade, Fcitx5 stopped working with Qt6 applications under X11. Finding that qt6-wayland was added to the makedepends of the fcitx5-qt package since 5.1.2-1[1], I tried manually installing qt6-wayland, and Fcitx5 started working normally again.

I am using X11 and not Wayland. Despite this, the need to install qt6-wayland seems like a pitfall. I think it might be beneficial to include qt6-wayland in the depends or optdepends of the fcitx5-qt package to prevent this issue.

[1]: https://gitlab.archlinux.org/archlinux/packaging/packages/fcitx5-qt/-/commit/a3fcd789b01bfb57a14a3df81b248a16c2d386ae

Additional info:
* package versions: fcitx5 5.1.5-1, fcitx5-qt 5.1.3-1, qt6-base 6.6.0-3, qt6-wayland 6.6.0-2

Steps to reproduce:
1. Try to use Fcitx5 with a Qt6 application (such as Anki and Calibre) under X11
2. Notice that Fcitx5 does not work with the application
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/fcitx5-qt/issues/2
Comment by Toolybird (Toolybird) - Monday, 20 November 2023, 21:16 GMT
$ namcap /var/cache/pacman/pkg/fcitx5-qt-5.1.3-1-x86_64.pkg.tar.zst | grep "uninstalled dep"
fcitx5-qt W: Referenced library 'libQt6Gui.so.6' is an uninstalled dependency (needed in files ['usr/bin/fcitx5-qt6-immodule-probing', 'usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so'])
fcitx5-qt W: Referenced library 'libQt6DBus.so.6' is an uninstalled dependency (needed in files ['usr/lib/libFcitx5Qt6DBusAddons.so.5.1.3', 'usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so'])
fcitx5-qt W: Referenced library 'libQt6Core.so.6' is an uninstalled dependency (needed in files ['usr/lib/libFcitx5Qt6DBusAddons.so.5.1.3', 'usr/bin/fcitx5-qt6-immodule-probing', 'usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so'])
fcitx5-qt W: Referenced library 'libQt6Widgets.so.6' is an uninstalled dependency (needed in files ['usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so'])
fcitx5-qt W: Referenced library 'libQt6WaylandClient.so.6' is an uninstalled dependency (needed in files ['usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so'])

Loading...