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
No header bar when launching Logseq with native Wayland flags #5010
Comments
@VarLad Thanks for report. |
@cnrpman Thanks for the reply and I do understand the problem here. Wayland is what most Linux users are now shifting to, and I hope an upgrade will be made considering that only the recent versions of Electron support window decorations on GNOME and some other features on Wayland. |
Old electron also causes problem like #4288 |
For now, the current implementation has problems upstream. electron/electron#33161 |
I tested on electron 19.0.8. Passing Note that the other issue, electron/electron#33161, is ugly but doesn't otherwise impact usability. |
This issue should be fixed when electron/electron#34955 lands. Of course, it will require another electron dependency upgrade, though hopefully just a minor version. |
@GrantMoyer It landed and was backported to 19-x-y. Now to wait for a release |
It looks like electron 19.0.12 should include the fixes, but my flatpak build still has the window decoration mangled. Will try to build the Logseq nightly.. |
@kanru 80fb12b |
@cnrpman Yes, I know. I patched my wayland branch to 19.0.12, but I think I missed one place. |
I can confirm that upgrading to electron 19.0.12 does fix the no window decorator issue. However my IME does not work in wayland mode. I think we need more testing before making it the default ( |
@kanru For the flatpak, how about doing Also, the above issue is https://bugs.chromium.org/p/chromium/issues/detail?id=1022724 and I doubt it'll be solved soon |
@VarLad using
So for now I will not add the default flags to 0.8.3 flatpak build. |
you forgot to put
Need to add Final command is: Now my eyes can rest while I am working on Wayland with Logseq |
I intentionally left out I'm glad the final command works for you. Please open a ticket in https://github.com/flathub/com.logseq.Logseq/issues to discuss how to make this easier to use, for example ship two different desktop files? |
Yes I will but there is a problem about I don't know how to solve that. |
Alas cursors are becoming bodged with scaling, but still better than before) |
What happened?
Launching Logseq using
flatpak run com.logseq.Logseq --socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland
on GNOME 41 WaylandNo visible window decoration.
Reproduce the Bug
flatpak install flathub com.logseq.Logseq
flatpak run com.logseq.Logseq --socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland
for native WaylandExpected Behavior
Proper window decorations when launching Logseq in native Wayland mode.
Screenshots
No response
Desktop Platform Information
Fedora 35 Workstation on Wayland
Logseq 0.6.6
Mobile Platform Information
No response
Additional Context
Window decorations for GNOME has been present in Electron from 17.x.y versions, while a stable Wayland support is available in 18.x.y versions.
The best way to fix this in my opinion is to update the Electron version used by Logseq to 18.x.y
The text was updated successfully, but these errors were encountered: