[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#826830: libqt5gui5: Touchscreen input broken for Qt5 apps when using libinput X-server driver



Package: libqt5gui5
Version: 5.5.1+dfsg-17
Severity: normal

Dear Maintainer,

Installing xserver-xorg in current stretch installs both X-server drivers: evdev and libinput.
At least on my system X-server took therefore the libinput driver.

Unfortunately libinput registers with "Abs X" instead of "Abs MT Position X".
Therefore this input is not "registered" and events get therefore dropped.

Other toolkits are not affected (as far as I can see).

See upstream bug report [QTBUG-48279].
Was solved upstream with this patch [2].

Using a libqt5gui5 package with this patch included solved the issue for me.

If there is no change in libinput to be expected, or a change to Qt 5.6.0 or later,
then this upstream patch could probably be considered for inclusion?

(Another workaround is to configure X to use the evdev X input driver.)

Kind regards,
Bernhard


[QTBUG-48279] https://bugreports.qt.io/browse/QTBUG-48279
[2] http://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp?id=462f355e4fb16cc7a1838fa2dda0f763eee58c84






-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libqt5gui5 depends on:
ii  fontconfig                       2.11.0-6.4
ii  libc6                            2.22-9
ii  libdrm2                          2.4.68-1
ii  libegl1-mesa [libegl1-x11]       11.2.2-1
ii  libfontconfig1                   2.11.0-6.4
ii  libfreetype6                     2.6.3-3+b1
ii  libgbm1                          11.2.2-1
ii  libgcc1                          1:6.1.1-4
ii  libgl1-mesa-glx [libgl1]         11.2.2-1
ii  libglib2.0-0                     2.48.1-1
ii  libharfbuzz0b                    1.2.6-2
ii  libice6                          2:1.0.9-1+b1
ii  libinput10                       1.3.1-1
ii  libjpeg62-turbo                  1:1.4.2-2
ii  libmtdev1                        1.1.5-1
ii  libpng16-16                      1.6.21-5
ii  libqt5core5a [qtbase-abi-5-5-1]  5.5.1+dfsg-17
ii  libqt5dbus5                      5.5.1+dfsg-17
ii  libqt5network5                   5.5.1+dfsg-17
ii  libsm6                           2:1.2.2-1+b1
ii  libstdc++6                       6.1.1-4
ii  libudev1                         230-2
ii  libx11-6                         2:1.6.3-1
ii  libx11-xcb1                      2:1.6.3-1
ii  libxcb-glx0                      1.11.1-1
ii  libxcb-icccm4                    0.4.1-1
ii  libxcb-image0                    0.4.0-1
ii  libxcb-keysyms1                  0.4.0-1
ii  libxcb-randr0                    1.11.1-1
ii  libxcb-render-util0              0.3.9-1
ii  libxcb-render0                   1.11.1-1
ii  libxcb-shape0                    1.11.1-1
ii  libxcb-shm0                      1.11.1-1
ii  libxcb-sync1                     1.11.1-1
ii  libxcb-xfixes0                   1.11.1-1
ii  libxcb-xkb1                      1.11.1-1
ii  libxcb1                          1.11.1-1
ii  libxi6                           2:1.7.6-1
ii  libxkbcommon-x11-0               0.5.0-1
ii  libxkbcommon0                    0.5.0-1
ii  libxrender1                      1:0.9.9-2
ii  zlib1g                           1:1.2.8.dfsg-2+b1

Versions of packages libqt5gui5 recommends:
ii  libqt5svg5  5.5.1-2

Versions of packages libqt5gui5 suggests:
pn  libqt5libqgtk2             <none>
pn  qt5-image-formats-plugins  <none>
pn  qtwayland5                 <none>

-- no debconf information



benutzer@trekstor:~$ xinput list --short
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse           id=8    [slave  pointer  (2)]
⎜   ↳ HID 0911:2188                             id=9    [slave  pointer  (2)]
⎜   ↳ Silead GSLx680 Touchscreen                id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ HID 046a:0011                             id=7    [slave  keyboard (3)]
    ↳ HID 0911:2188                             id=10   [slave  keyboard (3)]
    ↳ gpio-keys                                 id=12   [slave  keyboard (3)]
    ↳ HID 0911:2188                             id=13   [slave  keyboard (3)]
    ↳ Video Bus                                 id=6    [slave  keyboard (3)]
benutzer@trekstor:~$ xinput --list --long 11
Silead GSLx680 Touchscreen                      id=11   [slave  pointer  (2)]
        Reporting 6 classes:
                Class originated from: 11. Type: XIButtonClass
                Buttons supported: 7
                Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
                Button state:
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 0:
                  Label: Abs X
                  Range: 0.000000 - 65535.000000
                  Resolution: 0 units/m
                  Mode: absolute
                  Current value: 0.000000
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 1:
                  Label: Abs Y
                  Range: 0.000000 - 65535.000000
                  Resolution: 0 units/m
                  Mode: absolute
                  Current value: 0.000000
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 2:
                  Label: Rel Horiz Scroll
                  Range: -1.000000 - -1.000000
                  Resolution: 0 units/m
                  Mode: relative
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 3:
                  Label: Rel Vert Scroll
                  Range: -1.000000 - -1.000000
                  Resolution: 0 units/m
                  Mode: relative
                Class originated from: 11. Type: XITouchClass
                Touch mode: direct
                Max number of touches: 15


Reply to: