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

[Bug]: (Unofficial NixOS package) App turns entirely white a few moments after startup on wayland-WM-only-setups #3953

Closed
4 of 6 tasks
LAURAilway opened this issue Aug 26, 2023 · 12 comments · Fixed by NixOS/nixpkgs#252061
Labels
B: Unofficial Download B: visual bug Something isn't working electron being electron Electron related bugs and trickeries OS: linux issue that occurs on linux but not on other platforms third-party Related to third-party logic

Comments

@LAURAilway
Copy link

LAURAilway commented Aug 26, 2023

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

  1. Open FreeTube
  2. Either wait a few seconds or click something
  3. Entire app turns solid white

Expected Behavior

App doen't turn white and continues working as normal

Issue Labels

visual bug

FreeTube Version

v0.19.0

Operating System Version

6.4.7-zen1 #1-NixOS ZEN

Installation Method

Nix

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

v0.18.0

Additional Information

I am using sway (wayland) as window manager

It worked yesterday after updating to 0.19, the package downgraded to 0.18 for some reason and after updating again, the error ocurred

Nightly Build

@LAURAilway LAURAilway added the bug Something isn't working label Aug 26, 2023
@LAURAilway LAURAilway changed the title [Bug]: App turns entirely white a few moments after startup [Bug]: App turns entirely white a few moments after startup while using sway Aug 26, 2023
@LAURAilway
Copy link
Author

Edit: Issue doesn't appear on a live-iso with gnome-wayland, river and sway both seem to have it, will test further

@LAURAilway LAURAilway changed the title [Bug]: App turns entirely white a few moments after startup while using sway [Bug]: App turns entirely white a few moments after startup on wayland-WM-only-setups Aug 26, 2023
@LAURAilway
Copy link
Author

LAURAilway commented Aug 27, 2023

Further testing revealed the error message GetVSyncParametersIfAvailable() failed, which only shows on river wm when launched from the terminal and seems to be inked to this issue in electron

@absidue absidue added the electron being electron Electron related bugs and trickeries label Aug 27, 2023
@slavalamp
Copy link

the same happens to me on xorg+kde plasma (i'm on nixos too)

@socherbyc
Copy link
Contributor

socherbyc commented Aug 28, 2023

Same error here on NixOS (wayland + Gnome 44.2) for versions 0.18.0 and 0.19.0.

@socherbyc
Copy link
Contributor

socherbyc commented Aug 28, 2023

No issues using AppImage or Flatpak version.

@absidue absidue added third-party Related to third-party logic OS: linux issue that occurs on linux but not on other platforms labels Aug 28, 2023
@absidue
Copy link
Member

absidue commented Aug 28, 2023

As you are all using NixOS and can't replicate the issue with the official downloads, please report the issue to the people packaging the NixOS package, as it's unofficial/not maintained by us.

@absidue absidue changed the title [Bug]: App turns entirely white a few moments after startup on wayland-WM-only-setups [Bug]: (Unofficial NixOS package) App turns entirely white a few moments after startup on wayland-WM-only-setups Aug 28, 2023
@absidue
Copy link
Member

absidue commented Aug 28, 2023

@LAURAilway In the future please only tick the I have encountered this bug in the official downloads of FreeTube. box if you are actually using an official download or have at least tested it with an official download.

@LAURAilway
Copy link
Author

@LAURAilway In the future please only tick the I have encountered this bug in the official downloads of FreeTube. box if you are actually using an official download or have at least tested it with an official download.

Yep, created the issue way too late at night and didn't see the "unofficial downloads" section begin. Sorry.

@absidue
Copy link
Member

absidue commented Sep 1, 2023

@janTasija @socherbyc Could you please check if @LAURAilway's fix works for you too, so that we can close the issue if it's resolved?

loispostula pushed a commit to loispostula/nixpkgs that referenced this issue Sep 2, 2023
* freetube: changed electron version to _22

electron changed to fix FreeTubeApp/FreeTube#3953 (comment)
@slavalamp
Copy link

it works for me, thanks!

@socherbyc
Copy link
Contributor

It worked for me too :)

@absidue
Copy link
Member

absidue commented Sep 4, 2023

Thanks everyone! I'll close this then :)

AndersonTorres pushed a commit to NixOS/nixpkgs that referenced this issue Oct 13, 2023
* freetube: changed electron version to _22

electron changed to fix FreeTubeApp/FreeTube#3953 (comment)

(cherry picked from commit b3dacf0)
bjornfor pushed a commit to bjornfor/nixpkgs that referenced this issue Nov 1, 2023
Upstream freetube-19.1 uses electron-27, so match that.

This fixes the issue that electron_22 is marked as insecure and results
in eval error by default. And with e.g. the default electron in the
stable branch (electron_26) we hit
FreeTubeApp/FreeTube#3953 ("App turns entirely
white a few moments after startup on wayland-WM-only-setups").

This patch is only for the stable branch, as unstable has electron_27 as
default and unpinned electron in freetube.
bjornfor pushed a commit to NixOS/nixpkgs that referenced this issue Nov 2, 2023
Upstream freetube-19.1 uses electron-27, so match that.

This fixes the issue that electron_22 is marked as insecure and results
in eval error by default. And with e.g. the default electron in the
stable branch (electron_26) we hit
FreeTubeApp/FreeTube#3953 ("App turns entirely
white a few moments after startup on wayland-WM-only-setups").

This patch is only for the stable branch, as unstable has electron_27 as
default and unpinned electron in freetube.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: Unofficial Download B: visual bug Something isn't working electron being electron Electron related bugs and trickeries OS: linux issue that occurs on linux but not on other platforms third-party Related to third-party logic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants