-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0
-
None
In COSMIC Epoch 1 Beta 3, when IME is not active changing focus from an input widget to another one (or a different QWindow) spews warning prints of the form:
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x56180190f4f0 with focusing surface 0x561801563610
Furthermore - pointless (and incorrect) zwp_text_input_v3.enable requests are being sent to the compositor.
The cause is cosmic-comp not sending enter and leave events to the application when there is no IME enabled (if an IME is enabled, all of that disappears). This differs from KWin and Mutter which do; it is unclear if the compositor is allowed to do so or not, but Qt is probably not behaving correctly here as well.
Also see: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/291