Skip to content
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

Screen blanks out after couple of seconds - Upstream electron bug - Fix: Upgrade to Electron 27 #10436

Closed
1 of 2 tasks
JulianFP opened this issue Oct 30, 2023 · 1 comment · Fixed by #10440
Closed
1 of 2 tasks
Assignees

Comments

@JulianFP
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

This bug is caused by switching to Electron 26 (PR #10414).

When using a nightly release with this PR in place (e.g. todays release), the Logseq window turns blank (white) after a couple of seconds after start. This is a known upstream issue in Electron and has been fixed with Electron 27. It happens only on Linux and only on some setups (it apparently doesn't matter if Wayland/X11 or what window manager/desktop environment, GPU or CPU are being used).
Please consider upgrading to Electron 27 before the 0.9.20 release since this makes the app completely unusable for many people using Linux!

Upstream issue: electron/electron#39515
Webcord issue (another electron app that suffered from this issue after upgrading to Electron 26. Just that you see how many people are affected): SpacingBat3/WebCord#452

Reproduce the Bug

  1. Start the app
  2. Wait a couple of seconds (during which the app is usable)
  3. The app window turns white (and is completely unusable)

Expected Behavior

The app window should not turn white and stay usable

Screenshots

2023-10-30.16-34-48.mp4

Desktop or Mobile Platform Information

Linux (6.5.7), Desktop app, nightly release 20231030

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@andelf andelf self-assigned this Oct 31, 2023
@andelf
Copy link
Collaborator

andelf commented Oct 31, 2023

Thanks for your report. I can reproduce this on my Manjaro Linux.
I'm planning to downgrade electron to v25 to fix this.
As electron v27 drops support for some older versions of macOS. (v27 upgrade will be scheduled on a next major release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants