Skip to content

Flatpak build of Discord doesn't draw title bar under GNOME Wayland, possibly because OpenAsar overrides the parameters. #150

@ghost

Description

I don't know if OpenAsar is exactly overriding them but when OpenAsar installed there's no title bar under GNOME Wayland. Electron apps needs to have --enable-features=WaylandWindowDecorations to have title bar working under GNOME Wayland environment. Because of this, the flatpak build of Discord uses a startup script that passes those required parameters to the Discord process. It looks like, a parameter that only exists in flatpak script still works, but if the parameter exists in both flatpak script and OpenAsar (--enable-features in this case) the flatpak parameters are getting overridden by OpenAsar.

https://github.com/GooseMod/OpenAsar/blob/main/src/cmdSwitches.js
https://github.com/flathub/com.discordapp.Discord/blob/master/discord.sh#L9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions