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

UI: Display a spinner during initialization #28

Open
let-def opened this issue Feb 22, 2024 · 0 comments
Open

UI: Display a spinner during initialization #28

let-def opened this issue Feb 22, 2024 · 0 comments

Comments

@let-def
Copy link
Owner

let-def commented Feb 22, 2024

On first start, TeXpresso downloads necessary TeX/LaTeX files from Tectonic repository.
This can take some time, during which TeXpresso appears to be frozen.
We should display some information or a spinner to keep users waiting.

One difficulty is that there are two sources of downloads and none of them have an easy to display information:

  • from tectonic process downloading packages and metrics
  • from renderer downloading graphical resources (mostly fonts)
    On tectonic side, we have no direct connection to the UI. On renderer side, we are in a synchronous function waiting to load a font, from which it would be difficult to update the window.

As a first approximation, I am thinking to display a simple spinner with a fixed message when there is nothing else to display (document is being processed and no page has been produced yet).

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

No branches or pull requests

1 participant