Skip to content

[desktop] Use native window decorations on Linux (Wayland) where supported #7531

@IlyaBizyaev

Description

@IlyaBizyaev

Currently, Ente's window uses client-side decorations (CSD) on Linux:

Image

As you can see on the attached screenshot:

  • There is no strong reason to do so: Ente does not place any custom controls in the title bar, so the system-provided decoration would look more integrated with the desktop environment and would be quicker to use because of the same window control positions as in other applications' windows.
  • Ente's custom window decorations are missing shadows: if the window in the background is also white, it's hard to tell where Ente's window starts and ends. This makes it pretty awkward to use except when maximized. For comparison, Google Chrome also supports CSD (optionally), but does draw proper shadows around them. (It is as expected that the window manager does not add shadows to windows that opt into custom decorations)

Expected appearance in e.g. KDE Plasma (edited):

Image

Potentially useful info:

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