Bug 403860 - Zoom effect on X11: View doesn't follow the cursor when moved using KDE Connect remote control
Summary: Zoom effect on X11: View doesn't follow the cursor when moved using KDE Conne...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.12.6
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
: 403859 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-02 13:04 UTC by AGui
Modified: 2025-02-24 17:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AGui 2019-02-02 13:04:55 UTC
SUMMARY
This bug appears when using KWin's Zoom effect, in conjunction with KDE Connect remote control. It might be a bug either in KWin or in KDE Connect.
KWin : version 5.12.6 LTS
kdeconnect-kde : version 1.3.3
Remote control kdeconnect plugin : version 0.1

When the view is zoomed using KWin's zoom effect, it normally follows the cursor when it is moved through regular mouse movement.
KDE Connect has a "remote control" plugin which allows to move the cursor of a computer from your smartphone, through the KDE connect app. The view doesn't follow the cursor when it is moved through KDE Connect

STEPS TO REPRODUCE
1. Install KDE connect on both computer and smartphone. Check that the remote control plugin is activated in KDE Connect's parameters on the computer.
2. Use KWin Zoom effect (default Meta + '+')
3. Use the remote control on the smartphone to move the cursor

OBSERVED RESULT
The view does not follow the cursor, while it does if the cursor is moved using a mouse/touchpad.

EXPECTED RESULT
The view should follow the curosr

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE 15
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
My system is in French. The exact name of the plugin in English might be different from "remote control".
I am running an LTS version of Plasma, this bug should be confirmed with the latest versions of both KWin and kdeconnect-kde.
I have also reported this bug against kdeconnect : https://bugs.kde.org/show_bug.cgi?id=403859
Comment 1 Vlad Zahorodnii 2019-02-02 14:28:27 UTC
Hmm, it seems that with KDE Connect XI_Motion events are sent, but KWin is interested only in XI_RawMotion.
Comment 2 Martin Flöser 2019-02-02 15:26:05 UTC
AFAIK kdeconnect uses xtest extension.
Comment 3 Vlad Zahorodnii 2019-02-02 19:09:54 UTC
Yes, it looks like kdeconnect indeed uses xtest, except motion. https://phabricator.kde.org/source/kdeconnect-kde/browse/master/plugins/mousepad/x11remoteinput.cpp$213-216
Comment 4 Martin Flöser 2019-02-03 08:11:39 UTC
ah QCursor::setPos is xcb_warp_pointer
Comment 5 Nicolas Fella 2019-02-03 12:29:36 UTC
*** Bug 403859 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2023-05-11 08:07:07 UTC
This will not be an issue on wayland.
Comment 7 TraceyC 2025-02-24 17:59:13 UTC
Adding the x11-only keyword