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

QAbstractButton - released signal emitted before pressed signal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.4.0 RC
    • 5.3.2
    • QPA: EGLFS
    • None
    • Linux
      EGLFS
      tslib

      QAbstractButton::mousePressEvent has the following code:

      repaint(); //flush paint event before invoking potentially expensive operation
      QApplication::flush();
      d->emitPressed();
      

      When using the UNIX event dispatcher, QApplication::flush() may cause a release mouse event to be processed and result in the released() signal being emitted before the pressed() signal.

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

            lagocs Laszlo Agocs
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes