Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
From: Rutledge Shawn Data: Friday, September 13, 2013 4:11 PM > To: development@qt-project.org > Subject: [Development] QT4.8.5 issue: multi-touch message cannot handled > by "close" button > > On 13 Sep 2013, at 9:44 AM, Duan Fugang-B38611 wrote: > > The KDE is not kwin, is matchbox-window-manager. > > OK I can reproduce it, so it seems to be an issue with matchbox (and > matchbox is not using Qt). But it was designed for PDAs, so maybe there > is a solution. The touch drivers for Linux PDAs back then (iPaq, Zaurus, > Agenda etc.) only provided mouse events, because XInput didn't have touch > until recently, and anyway a resistive touchscreen is just like a single- > button mouse. But the evdev driver should be making your multi-touch > screen emulate a mouse too, so then I wonder what matchbox is doing so > that it doesn't work. Maybe it has been partially updated to support > touch but doesn't do it correctly? But you can google and/or find a > matchbox mailing list or forum to ask about that, or look at the source > and see if it uses xinput or just the conventional old X11 mouse events. The current Linux egalax driver locates: drivers/input/touchscreen/egalax_ts.c (you can get it from Linux-next git) When I disable multitouch in the egalax driver to let it work on single touch mode, the window of QT apps can be closed by clicked window "X" button at up-right region. The single touch mode report "BTN_TOUCH" event comparing with multi-touch. How to explain it ? Thanks, Andy ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
On 13 Sep 2013, at 9:44 AM, Duan Fugang-B38611 wrote: > The KDE is not kwin, is matchbox-window-manager. OK I can reproduce it, so it seems to be an issue with matchbox (and matchbox is not using Qt). But it was designed for PDAs, so maybe there is a solution. The touch drivers for Linux PDAs back then (iPaq, Zaurus, Agenda etc.) only provided mouse events, because XInput didn't have touch until recently, and anyway a resistive touchscreen is just like a single-button mouse. But the evdev driver should be making your multi-touch screen emulate a mouse too, so then I wonder what matchbox is doing so that it doesn't work. Maybe it has been partially updated to support touch but doesn't do it correctly? But you can google and/or find a matchbox mailing list or forum to ask about that, or look at the source and see if it uses xinput or just the conventional old X11 mouse events. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > To: development@qt-project.org > Subject: Re: [Development] QT4.8.5 issue: multi-touch message cannot > handled by "close" button > Importance: High > > > On 13 Sep 2013, at 7:53 AM, Duan Fugang-B38611 wrote: > > > Hi, all, > > > > We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch > one issue: multi-touch message is not handled by "close" button. > > > > I use egalax touchscreen for the multi-touch test. > > After kernel up, evtest test the multi-touch message, all pass. Use > xinput to do the test, also pass. > > > > Open one QT app, all multi-touch message can be processed, but the > window of the app cannot be closed by click the "X" in the right-up region. > > I test GNOME destop with the same kernel, any apps' window can be > closed. > > > > So, It is strange, maybe it is KDE issue for multi-touch ? > > Any response is appreciative. > > This X button is the one provided by the window manager, right? > If you > are running KDE then it must be kwin. (Which is probably still using Qt 4) The KDE is not kwin, is matchbox-window-manager. > But it probably relies on mouse emulation at some level to detect pressing > that button. Maybe the egalax driver or the X server does it, so that any > legacy X11 apps will work. (You can try really old X apps that definitely > don't support touch, like xman, xmessage etc.) If you have a widget-based > application with a QPushButton, or a qml application with a MouseArea, can > you press those via the touchscreen? because they also need to get mouse > events rather than touch events (so far). > > Which driver is the X server using for the touchscreen? (check > /var/log/Xorg.0.log) ___ ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > > We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch > one issue: multi-touch message is not handled by "close" button. > > > > I use egalax touchscreen for the multi-touch test. > > After kernel up, evtest test the multi-touch message, all pass. Use > xinput to do the test, also pass. > > > > Open one QT app, all multi-touch message can be processed, but the > window of the app cannot be closed by click the "X" in the right-up region. > > I test GNOME destop with the same kernel, any apps' window can be > closed. > > > > So, It is strange, maybe it is KDE issue for multi-touch ? > > Any response is appreciative. > > This X button is the one provided by the window manager, right? Yes, I think any QT app windows are managed by window manager. > If you > are running KDE then it must be kwin. (Which is probably still using Qt 4) > But it probably relies on mouse emulation at some level to detect pressing > that button. >From Xorg.0.log: [360470.340] (II) evdev: eGalax Touch Screen: No buttons >found, faking one. The Linux egalax driver don't report button event. Close window of apps need " BTN_TOUCH" event ? The current egalax driver support multitouch events: root@ /# mtdev-test /dev/input/event0 supported mt events: ABS_MT_TOUCH_MAJOR ABS_MT_WIDTH_MAJOR ABS_MT_POSITION_X ABS_MT_POSITION_Y ABS_MT_TRACKING_ID > Maybe the egalax driver or the X server does it, so that any > legacy X11 apps will work. (You can try really old X apps that definitely > don't support touch, like xman, xmessage etc.) If you have a widget-based > application with a QPushButton, or a qml application with a MouseArea, can > you press those via the touchscreen? because they also need to get mouse > events rather than touch events (so far). > > Which driver is the X server using for the touchscreen? (check > /var/log/Xorg.0.log) ___ ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
From: Rutledge Shawn Data: Friday, September 13, 2013 2:48 PM > Which driver is the X server using for the touchscreen? (check > /var/log/Xorg.0.log) ___ Shawn, thanks for your response. I have attached the Xorg log. Thanks, Andy Xorg.0.log Description: Xorg.0.log ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
On 13 Sep 2013, at 7:53 AM, Duan Fugang-B38611 wrote: > Hi, all, > > We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch one > issue: multi-touch message is not handled by “close” button. > > I use egalax touchscreen for the multi-touch test. > After kernel up, evtest test the multi-touch message, all pass. Use xinput to > do the test, also pass. > > Open one QT app, all multi-touch message can be processed, but the window of > the app cannot be closed by click the “X” in the right-up region. > I test GNOME destop with the same kernel, any apps’ window can be closed. > > So, It is strange, maybe it is KDE issue for multi-touch ? > Any response is appreciative. This X button is the one provided by the window manager, right? If you are running KDE then it must be kwin. (Which is probably still using Qt 4) But it probably relies on mouse emulation at some level to detect pressing that button. Maybe the egalax driver or the X server does it, so that any legacy X11 apps will work. (You can try really old X apps that definitely don't support touch, like xman, xmessage etc.) If you have a widget-based application with a QPushButton, or a qml application with a MouseArea, can you press those via the touchscreen? because they also need to get mouse events rather than touch events (so far). Which driver is the X server using for the touchscreen? (check /var/log/Xorg.0.log) ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] QT4.8.5 issue: multi-touch message cannot handled by "close" button
Hi, all, We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch one issue: multi-touch message is not handled by "close" button. I use egalax touchscreen for the multi-touch test. After kernel up, evtest test the multi-touch message, all pass. Use xinput to do the test, also pass. Open one QT app, all multi-touch message can be processed, but the window of the app cannot be closed by click the "X" in the right-up region. I test GNOME destop with the same kernel, any apps' window can be closed. So, It is strange, maybe it is KDE issue for multi-touch ? Any response is appreciative. Thanks, Andy ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
[Development] QT4.8.5 issue: multi=touch message cannot handled by "close" button
Hi, all, We use the X.Org X Server 1.14.0 + QT4.8.5 to do one demo, but I catch one issue: multi-touch message is not handled by "close" button. I use egalax touchscreen for the multi-touch test. After kernel up, evtest test the multi-touch message, all pass. Use xinput to do the test, also pass. Open one QT app, all multi-touch message can be processed, but the window of the app cannot be closed by click the "X" in the right-up region. I test GNOME destop with the same kernel, any apps' window can be closed. So, It is strange, maybe it is KDE issue for multi-touch ? Any response is appreciative. Thanks, Andy ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development