Open OvercastWarmth opened 1 year ago
That is... very strange. This feels more like a compositor-side issue, since I don't think Discord itself handles the title bar under Wayland(?).
Can you confirm that it properly has the title bar when OpenASAR is disabled?
Yep, we've tried just discord, discord w/ vencord, discord w/ OA, and discord w/ both. The issue only occurs when OA is enabled
It's caused by your environment variables https://github.com/Ringlings/nixos/blob/master/patches/wayland.nix and looks like OA makes one of these work.
Discord's electron setup simply isn't ready for wayland yet, or should I say they don't care at all :)
i'm able to reproducible this currently on nixos unstable with mutter. the vanilla client seems to be fine when using wayland now, and this only appears when openasar is enabled
you can try using these two commands:
$ NIXPKGS_ALLOW_UNFREE=1 nix run --impure --expr \
'with import (builtins.getFlake "nixpkgs/nixos-unstable") {};
discord-canary.override {withOpenASAR = true;}
'
$ NIXPKGS_ALLOW_UNFREE=1 nix run --impure --expr \
'with import (builtins.getFlake "nixpkgs/nixos-unstable") {};
discord-canary
'
these (should) result in the following
Describe the bug
When using Discord from nixpkgs with OpenASAR overridden on top the title bar is missing
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The window has a GTK title bar
Screenshots
Additional context
Using GNOME 44.1 under Wayland
Notify maintainers
@MP2E @Scrumplex @artturin @infinidoge @jopejoe1
Metadata