-
Notifications
You must be signed in to change notification settings - Fork 27
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] 1s pause on empty window after opening file from command line #249
Comments
Thanks for opening an issue! Can you try explicitly setting the font families in [font-options]
regular-font = "..."
monospace-font = "..." |
Added this to [font-options]
regular-font = "Arial"
monospace-font = "Consolas" And running I'm going to try compiling from source and doing some good old print debugging this weekend! |
I've done some print-profiling and it seems that this block is the one that takes all the time. Everything else seems pretty much instant. Lines 69 to 72 in d134028
Research: |
Thanks for helping narrow things down. Unfortunately I'm not sure what the best thing for us to do is here 😅 You can try reporting things upstream to wgpu or asking in one of their help channels, since they'll be way more equipped to handle these kinds of things |
Yep, will do and report back. If that Reddit reply is accurate it may be out of your hands entirely. I guess maybe the only possible thing to do would be to render a loading indicator in the window, so it's not just a busy cursor? But that would probably involve rearranging the code a fair bit for a very small aesthetic improvement on a single platform. |
Platform:
Installation method:
Issue:
When opening even a tiny markdown file from PowerShell, there is a 1-1.5s pause on a blank window which gives a "busy" spinning cursor.
explorer_Kb3TIbZMaZ.mp4
I'm happy to try to find out more information when I have time. I'm not used to debugging software on Windows (I do most of my work in WSL) so would love suggestions!
Let it be said - the instant window opening speed is lovely!
The text was updated successfully, but these errors were encountered: