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

Screen information unavailable on Wayland

    XMLWordPrintable

Details

    • Linux/Wayland
    • e5a77a6c22710be4bd07919bcc54dcf78659da04 (qt/qtwayland/dev) afc730549d69f292d20437a70b52c34cae4481a6 (qt/qtwayland/6.2)

    Description

      Looks like screen information is unavailable when running on Wayland, or at least Gnome wayland. Following message is printed on console when running any graphical application:

      qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
      

      And all screen information is naturally unavailable, qtdiag output:

      # 0 "" Depth: 32 Primary: yes
        Manufacturer: 
        Model: 
        Serial number: 
        Geometry: 0x0+0+0 Available: 0x0+0+0
        Physical size: 0x0 mm  Refresh: 60 Hz Power state: 0
        Physical DPI: NAN,NAN Logical DPI: 96,96 Subpixel_None
        DevicePixelRatio: 1
        Primary orientation: 2 Orientation: 0 Native orientation: 0
      

      Attachments

        Issue Links

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

          Activity

            People

              zzag Vlad Zahorodnii
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes