Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

PySide2 Stop accepting touch events bug



  • Hello, I have weird bug on my application. My application has only one button to pop-up one Qdialog Message Box. I'm controlling my application via touchscreen. In the beginning of application everything works fine however after some time my application stop accepting touchevents but i can click from mouse and everything works fine.

    My code is :here

    Normal working : here

    When bug/glitch happens : here

    I'm using Xubuntu 20.04 and PySide2(5.15.2). I tried with also PySide6 and it's still happening. In the debug messages i just find this :

    qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1759, resource id: 8786722, major code: 40 (TranslateCoords), minor code: 0
    

Log in to reply