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

在使用qt信号槽系统的时候,插拔键盘的过程中 QT emit 会被阻塞

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.0
    • Core: Event loop
    • None
    • windows7
    • Windows

    Description

      使用qt的信号槽系统,如果发送信号到不同的线程中去执行,在此过程中,如果插入键盘,信号会被阻塞 ,阻塞时间差不多900ms-300ms,根本原因在于qt内部信号槽将事件通过windows的PostMessage转发出去,PostMessage内部调用SetWindowLongPtr,SetWindowLongPtr被阻塞导致的。

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            kellygod god kellygod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes