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

Windows flicker when opening #1129

Open
araujoarthur0 opened this issue Jan 25, 2025 · 0 comments · May be fixed by #1134
Open

Windows flicker when opening #1129

araujoarthur0 opened this issue Jan 25, 2025 · 0 comments · May be fixed by #1134
Assignees
Labels
bug Something isn't working

Comments

@araujoarthur0
Copy link
Collaborator

Whenever we open a new BrowserWindow in the app (waiver manager, preferences) it will flicker for a while with a white background while the elements show and the colors change.

Image

We can make use of electron's 'ready-to-show' event to delay showing only once the window is properly drawn, hiding away the "ugliness" of it becoming ready.
https://www.electronjs.org/docs/latest/api/browser-window#using-the-ready-to-show-event

@araujoarthur0 araujoarthur0 added the bug Something isn't working label Jan 25, 2025
@araujoarthur0 araujoarthur0 self-assigned this Jan 26, 2025
@araujoarthur0 araujoarthur0 linked a pull request Feb 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant