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

No signal "screenAdded"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.15.2
    • QPA: X11/XCB
    • None
    • Ubuntu 18.04, Ubuntu 20.04
    • 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

              liaqi Liang Qi
              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