Skip to content

[Wayland] Silent fail if libdecor missing from user's system #1291

Description

@GeneralProtectionFault

Applies, particularly, to Gnome.
If server-side decorations (title bar, etc...) are not available, Redot uses libdecor to create them client side.
The issue is, this makes libdecor a silent dependency in such cases.

Example with libdecor:
Image

Example without libdecor (libdecor-0-0 package on Ubuntu):
Image

Without libdecor, there's no title bar and no way to resize or move the window around except some precarious keyboard shortucts.
This makes the editor borderline unusable, and the only warning is in the terminal, and even the terminal does not actually confirm libdecor was not found, just "if available..." etc...

Proposed solution would be to have a pop-up explain to the user why their editor is defrocked, and let them know the libdecor package they would have to install to correct the situation on the major Linux distributions.

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