Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111160

The touch screen events are block after deleteLater function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P0: Blocker
    • None
    • 5.15.15
    • Build System: CMake
    • None
    • Linux/X11

    Description

      I am development my application with the qt 5.15 (c++ code) .The my application is implement using objects are child of the QWidget class. Every time that I open a child class connect the closing signal at the slot to parent class to delete the object child :

      PARENT CLASS :
      windows = new ChildClass ( ) ;
      connect (childClass,&childClass::signalClose,parentClass,&parentClass::closeChildClass);
      windows-> showFullScreen ( ) ;

      CHILD CLASS :
      emit signalClose ( ) ;

      PARENT CLASS :
      slot closeChildClass :
      windows-> deleteLater ( ) ;

      I have Implement a application to execute this simple code, if I can keep press the touch screen with my finger when the application execute the windows-> deleteLater ( ) instruction, the touch screen is freeze, I don't can to press the button of the my application with the display touch. While if I connect the mouse I can press the button correctly, but if to press button with the finger not spring the &QPushButton::released event. If I can to active &QPushButton::released event with mouse, means that my application is not block and the button is enabled. If I comment the windows-> deleteLater ( ) instruction I don't this problem. Afer that problem occurred if I restart the application it work correctly, without power off the pc, so the display touch work correcty.

      Can you help me ?
      This problem blocking the release the my application !
      Thanks

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            gianmarco Gianmarco Scarpelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes