termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.89k stars 2.97k forks source link

[Bug]: gimp does not enumerate input devices except core pointer #20247

Open twaik opened 3 months ago

twaik commented 3 months ago

Problem description

Proot-distro's version does it, but termux version does not. image

What steps will reproduce the bug?

Install gimp in termux, go to Edit->Configure input devices.

What is the expected behavior?

It should enumerate all devices.

System information

Irrelevant, gimp version is irrelevant too.
twaik commented 2 months ago

I do not see anything suspicious in gimp's code, but probably it is an issue of GDK. https://gitlab.gnome.org/GNOME/gimp/-/blob/master/app/widgets/gimpdevicemanager.c#L404-452 It enumerates input devices using gdk_seat_get_slaves function. Should we dive deep to GDK code for this?