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

Brief flickering of rendering artifacts while loading the UI #1712

Open
jotaen4tinypilot opened this issue Dec 20, 2023 · 0 comments
Open

Brief flickering of rendering artifacts while loading the UI #1712

jotaen4tinypilot opened this issue Dec 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jotaen4tinypilot
Copy link
Contributor

jotaen4tinypilot commented Dec 20, 2023

A really tiny UI glitch: when loading the TinyPilot UI (e.g. http://tinypilot.local), the browser might very briefly display some intermediate artifacts while initializing the frontend:

Screenshot 2023-12-20 at 11 59 01

You can observe this effect in the screen cast video of this PR, around the 2:01 time mark.

To me, it appears as if these buttons come from our dialogs: e.g., the first button row looks like the ones from the shutdown dialog (without labels, though), the button underneath is probably a dangling “close” button.

The root cause might be that the dialogs are statically dumped into the index.html page. So the artifact flickering could stem from the fact that there is a short time gap between the browser initially rendering the dialogs’ HTML, and then hiding the dialogs in a later step.

This issue might be browser-dependent.

@jotaen4tinypilot jotaen4tinypilot added the bug Something isn't working label Dec 20, 2023
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