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

QDialog exec locks sending messages on QCan Device

    XMLWordPrintable

Details

    • Windows

    Description

      Hello everyone,

      I discovered a bug that it verifies when I try to open a QDialog and at the same time I send a keep-alive message to a device on QCanbus.

      I think that the QDialog locks the main event loop and consequently the keep-alive message sending.

      This bug does not occur on QSerial and QTCP.

      As a workaround, we used a QDialog not native but this component is affected by reading issues and file system accessing issues.

       

          int id_device = serialCom->getConnectioType();
      
          if(id_device != ControllerCom::CAN_DEVICE){
              //NO CAN-PEAK: QFileDialog Native (Windows)
              dlgSel->exec();
          }else{
              //CAN-PEAK: QDialog not native - doesn't lock sending message on QCan Device 
              //but it is affected by file reading issues
              dlgSel->show();
          }

       

      Could you help us to understand and solve this bug?

      Regards,

       

      Attachments

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

        Activity

          People

            aha_1980 André Hartmann
            flashbatteryitdept Silvio de Letteriis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes