Skip to content

Text UI based Scaling: Tiny Titlebars in XWayland Apps #2169

@candiedoperation

Description

@candiedoperation

What Happened?

On a Wayland session, apps that run in X11 mode using the XWayland compatibility layer have a titlebar which does not respect text scaling settings. The screenshots have other windows, like Terminal and Files, open to depict scaling sizes.

image
image

Steps to Reproduce

  1. Install some electron based app (like VSCode, Slack, etc.) or some other app that doesn't support Wayland by default.
  2. Enable Text Scaling by increasing font-sizes from System Settings in Display > Text > Font Size
  3. Set an increased DPI for X, xrdb -merge <<< "Xft.dpi: 125" (or update the ~/.XResources)
  4. Open the App you installed. The scaling inside the App, including the menu bar and other elements, work perfectly. But, the titlebar is too tiny.

Expected Behavior

The text in the title bar should also scale thereby, making the title bar size match what other apps like Terminal and Files have. This behavior is standard in X11. But, considering the XWayland compatibility layer, there are some issues.

OS Version

8.x (Circe)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

No Logs are Expected

Hardware Info

No Graphic Drivers Installed
1920x1200 FHD Display
Dell XPS 15 9530

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions