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

QApplication cannot switch displays at runtime

    XMLWordPrintable

Details

    • All

    Description

      Customer ran into the issue described in QTBUG-128345 due to a need to switch the display set to QApplication at runtime. They have the need to change an X11 display during runtime without stopping their application. They also need to be able to switch from an X11 display to Offscreen display and back to an X11 display to cover their current functionality. Currently this functionality does not exist causing them to need to delete QApplication in order to change displays, which is causing their application to crash. Below describes their current flow

        Example Current flow:

      • Set Initial X11 Display Name
      • Create QApplication
      • XOpenDisplay called
      • Destroy QApplication
      • XCloseDisplay called
      • Change X11 Display Name
      • Create QApplication
      • XOpenDisplay called
      • ...

        Desired flow:

      • Set Initial X11 Display Name
      • Create QApplication
      • Set New X11 Display Name
      • Switch Display in Current QApplication
      • ...

      The ideal outcome for the customer is providing the ability for them to replace the current X11 connection with a different one.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            benjamin.hadra Benjamin Hadra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes