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

Regression in signal handling with eglfs/linuxfb introduced in 5.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.5.0
    • QPA: EGLFS
    • None
    • f191ba9d71bd910f205a2f41c5ac6c0d959439ed

    Description

      To whom it may concern:
      Recently, we intended to relay a couple of Linux Signal such as SIGINT and SIGTERM to the QT application so that it can exit gracefully when the ctrl-C is pressed or the process is killed.
      We were able to update the widgets/widgets/calculator example to test this concept following the link http://doc.qt.io/qt-5.5/unix-signals.html.

      We were able to test this modification at QT 5.4 and QT 5.5/Wayland successfully. But the same failed at QT5.5/eglfs mode.

      We then realized there was a recent patch f6e6ef46b382e1a7f827afc5f70ce6e5deaa7e86 to relay and process Signals at QT core and we are able to trace the code up to “emit interrupted();” which seems to trigger some kind of “activated” operation.
      It seems to us that the QT core may be able to pass those signal to the end user. What do we need to do to receive those signal at the user QT program? Your advice will be highly appreciated!

      Best regards,

      Eric

      Attachments

        1. calculator.cpp
          12 kB
        2. calculator.h
          3 kB
        3. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            ericruei Eric Ruei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes