Skip to content

Incorrect button-layout parsing (Linux) #51

@Efdhruhfuwvy

Description

@Efdhruhfuwvy

On Linux, the /org/gnome/desktop/wm/preferences/button-layout dconf value is not parsed properly. Currently, the plugin removes appmenu: from the value and splits it by commas.
The correct format of the value is left1,left2,...,leftN:right1,right2,...,rightN, where left1,left2,...,leftN are the controls on the left, right1,right2,...,rightN are the controls on the right, and each control is minimize, maximize, close, or menu (icon).

The default button-layout on Ubuntu is :minimize,maximize,close, which makes the minimize button imageless and non-functional.
tauri-plugin-decorum example app:
tauri-plugin-decorum example app with imageless and non-functional minimize button

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions