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
Open

Windows flicker when opening #1129

araujoarthur0 opened this issue Jan 25, 2025 · 0 comments
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
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

No branches or pull requests

1 participant