The previous output of xorglog.txt and "xinput list" are from my local
vm, which in UTM(QEMU), which I can't edit the settings,
https://github.com/utmapp/UTM/issues/5713 .
Checked in our u2404 x64 x11 vm in our CI, there is no tablet device.
cat xinput-list-output-ci.txt
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ VirtualPS/2 VMware VMMouse id=8 [slave pointer (2)]
⎜ ↳ VirtualPS/2 VMware VMMouse id=9 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=7 [slave keyboard (3)]
** Bug watch added: github.com/utmapp/UTM/issues #5713
https://github.com/utmapp/UTM/issues/5713
** Attachment added: "xorglog-ci.txt"
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2084090/+attachment/5826698/+files/xorglog-ci.txt
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libx11 in Ubuntu.
https://bugs.launchpad.net/bugs/2084090
Title:
XWarpPointer doesn't work on Ubuntu 24.04 GNOME X11
Status in libx11 package in Ubuntu:
Incomplete
Status in xorg package in Ubuntu:
Incomplete
Status in xorg-server package in Ubuntu:
Incomplete
Bug description:
XWarpPointer doesn't work in GNOME 46(regression from 42)
Affected version
* Ubuntu 24.04.1 GNOME X11 arm64 vm in UTM(via QEMU) on Apple Silicon M3
Max(macOS 14.6.1)
* GNOME 46.2
* Xorg
Bug summary
XWarpPointer doesn't work
Steps to reproduce
Example code:
{code}
#include <stdio.h>
#include <unistd.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(int argc, char *argv[]){
//Get system window
Display *dpy;
Window root_window;
int x,y;
dpy = XOpenDisplay(0);
root_window = XRootWindow(dpy, 0);
XSelectInput(dpy, root_window, KeyReleaseMask);
for (x=0,y=0; y<768; x+=100,y+=100) {
sleep(1);
printf("XWarpPointer(): x=%5d, y=%5d\n", x, y);
XWarpPointer(dpy, None, root_window, 0, 0, 0, 0, x, y);
XFlush(dpy);
//XSync(dpy, False); <-- no difference
}
return 0;
}
{code}
* Compile it, "gcc $(pkg-config x11 --cflags) main.c -o test $(pkg-config x11
--libs)"
* Run it
The pointer is not moving.
Which is different with my Ubuntu 22.04 GNOME X11(42.9)
The code is from
https://lists.freedesktop.org/archives/xorg/2013-January/055324.html .
We (Qt Project) is planning to use Ubuntu 24.04 X11 in our CI to replace the
current Ubuntu 22.04 X11. And we have Ubuntu 24.04 X11 x64 in our CI currently,
which has same situation like my local vm.
See also
https://bugreports.qt.io/browse/QTQAINFRA-6322 Add Ubuntu 24.04 x64 to Qt 6.9
(dev)
https://bugreports.qt.io/browse/QTBUG-129567
tst_QWidget_window::tst_dnd_events() timeout on Ubuntu 24.04 GNOME X11
https://gitlab.gnome.org/GNOME/mutter/-/issues/3736 XWarpPointer doesn't work
in GNOME 46(regression from 42)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/2084090/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp