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

X11: Qt doesn't obey the DISPLAY variable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 5.0.0
    • GUI: Window management
    • 3fdc4ae0ed156851c99dee4b52340cfbc0f9aaf7

    Description

      If you have two screens configured in such a way that they are not one large virtual desktop, e.g. you cannot move windows between them, then for most X applications you can choose which screen to start the app by setting the DISPLAY variable, e.g. open up a terminal on the first display and then start something else on the second display:

      DISPLAY=:0.1 xterm

      If you do that with a Qt 5 app, it will start up on the first display anyway.

      I didn't figure out why yet; when XOpenDisplay is called, the Display object does have the display name as given.

      Attachments

        For Gerrit Dashboard: QTBUG-27220
        # Subject Branch Project Status CR V

        Activity

          People

            srutledg Shawn Rutledge
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes