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

Default Window Title Bar Font Size larger under Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.11
    • QPA: Wayland
    • None
    • Fedora 28

      Qt 5.11

      Wayland session

    Description

      On Gnome-Shell, starting an Qt application under wayland, results in a window being displayed with the title bar font being much larger than the font used in the title bar when the same application is started under XOrg or under XWayland.

      Attached screenshot shows the same application started under Wayland and XWayland.  The grey title bar of the front window is the usual Gnome shell title bar and font size, while the blue title bar is from the Wayland application window behind.

      Gnome settings, Weston-info and WAYLAND_DEBUG all seem to agree that the screen is 1920x1080.  Details as follows:

      weston-info output includes:
      interface: 'wl_drm', version: 2, name: 1
      interface: 'wl_compositor', version: 4, name: 2
      interface: 'wl_shm', version: 1, name: 3
          formats: XRGB8888 ARGB8888
      interface: 'wl_output', version: 2, name: 4
          x: 0, y: 0, scale: 1,
          physical_width: 310 mm, physical_height: 170 mm,
          make: 'LGD', model: '0x040a',
          subpixel_orientation: unknown, output_transform: normal,
          mode:
              width: 1920 px, height: 1080 px, refresh: 60.008 Hz,
              flags: current preferred

      Running the application as:
      env WAYLAND_DEBUG=1 ./surface -platform wayland-egl
      Includes the following
      [514997.105] wl_output@6.geometry(0, 0, 310, 170, 0, "LGD", "0x040a", 0)
      [514997.137] wl_output@6.mode(3, 1920, 1080, 60008)
      [514997.159] wl_output@6.scale(1)

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            myk Michael Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes