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

No signal "screenAdded"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Environment:
      Ubuntu 18.04, Ubuntu 20.04
    • Platform/s:
      Linux/X11

      Description

      Hello.

      When I run the app with no display connected and then connect it. Or I launch the app with the display connected and then disconnect and reconnect it. For all of these cases, there is no "screenAdded" signal.

      This is a serious problem. For example, I want to defer the creation of a QML engine object until the display is connected. But I cannot do this because the "screenAdded" signal is not generated. When trying to create a QML engine object without a connected display, the application terminates, which is not acceptable for an embedded system. In addition, the processing of such completion will no longer be cross-platform.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              liaqi Liang Qi
              Reporter:
              vladimir_sazonov Vladimir Sazonov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes