-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Wayland Decoration is missing #5869
Comments
Try instructions from here. Also you don't have to pass |
thanks, but for some reason the interface crash (closed) when try to resize it (better than nothing thanks). will check into the thread to see if an issue is already open for these GUI "crash". |
I'm still seeing this issue of missing Wayland Decorations with Gnome and 5.49.0.
Does not fix the issue, and putting that inside |
These seem related:
Generally there seem to be a lot of Wayland bugs: https://github.com/electron/electron/issues?q=is%3Aissue+is%3Aopen+wayland |
Looks like these flags are needed for window decorations to work on Wayland on Gnome:
However that is broken currently (in both the stable and beta Signl builds) due to this electron bug: electron/electron#34820 That is fixed in electron/electron#34955 and backported to the electron:19.x.y branch in electron/electron#35207 Any chance of getting a Signal build based on the electron:19.x.y branch? Electron 19.0.12 looks like it should have that fix. Otherwise Signal on Wayland is currently blurry: It is crisp (and with a working titlebar I can use to drag the window around) though broken (the menus don't work) with the aforementined command line flags: |
@scottnonnenberg-signal Should I open a new issue for requesting a build based upon electron > 19.0.11? |
i actually don't recommand at all the --no-sandbox, since one purpose of flatpak is ... the sandbox. |
Noted. I was just modifying the command line from that used from using signal via the debian package. I'll change the recommended command line accordingly. |
Don't remove |
The command
seems to work correctly. Here a screen shot of the resulting window Here the command line output
This is with
|
Is this perhaps fixed with 5.58, which updates to Electron 20.1.0? |
Beautiful! It looks like it works now. Can we make this the default from the |
It seems presumptuous to me to assume that all of our users want 'platform=wayland' in the default .desktop file. We probably won't do that. I'm going to close this. |
Of course
But you can use
in this case.. I just tested this on x11 and wayland sessions, it works alike on my Debian Sid + GNOME system. Re. the
So you might perhaps reopen this issue. An additional bonus running Signal on wayland is that the nasty focus stealing issue is gone.. update: works without |
You don't have to use |
It doesn't look like signal opens in Wayland unless I use the |
Also, it looks like for wayland usage, these flags are mandatory: |
I can only talk for my flatpak case. So
|
Thanks all. I copied
(I tried adding |
FYI I had to make one more change in the |
@satmandu do you know an option to move the window titlebar buttons from left to right? |
@Andrea900 No. The titlebar buttons are on the right for me with current versions of the signal binaries. |
@satmandu I seem to be able to run native wayland with |
@David-Else |
WaylandWindowDecorations is now enabled by default on Electron 26+ @scottnonnenberg-signal In view of the many recent and still ongoing fixes for pipewire, portals and wayland for Electron you may wish to re-evaluate setting |
I fully agree with @maymage. Since Window Decorations are enabled by default there's no need for that env variable any more. But first Signal devs need to bump electron version especially since 26 fixes problem with constant crashing when starting on wayland. |
Unfortunately we can't upgrade to Electron 26 yet because of other crashes! electron/electron#39775 |
electron/electron#39775 (comment) suggests this is now fixed in electron >= 26.4.3. |
@scottnonnenberg-signal would you take another look at this proposition? #5869 (comment) |
Note : there is one but closed : [Bug]: Electron13 does not create window under Wayland with proprietary Nvidia driver electron/electron#30878
Bug Description
when i open with wayland it seem to have the decoration missing (nvidia and intel)
Steps to Reproduce
Actual Result:
The app open but no top bar to drag and drop it
Expected Result:
have a way to drag it
Platform Info
Signal Version: 5.38.0
Operating System: Linux
Link to Debug Log
[2:0408/163419.093013:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
(node:92) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use
exe --trace-deprecation ...
to show where the warning was created)Additional content
Seem a bug from electron but maintaining this open can help to track a known bug.
The text was updated successfully, but these errors were encountered: