-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Theia app is not loading while minimized at startup #13798
Comments
I believe this is a general Theia frontend issue, it's actually fairly easily reproducible in the browser version as well: I've noticed that if I restart the backend and have the frontend open in an inactive tab, it only actually loads the frontend when I switch to the browser tab. |
I tried to reproduce this, but could not. Is there a particular sequence of actions to make it happen? |
I could reproduce on my side on Linux, using Theia IDE. I start the application from the command line. In some other conditions, I don't have the main window showing, only splash screen is displayed. But I can't figure out yet what are these conditions. |
Sample video from stalled start |
Yes, but it does load it, so why wouldn't it in the electron case? On my side, I can't reproduce this on Windows, even if I turn off the splash screen configuration. |
@rschnekenbu "this video can't be played because the file is corrupt" 🤷 |
@tsmaeder, I can open the video on chrome (and edge), but not from firefox. On firefox, I get the same corrupted file error 🤷 |
Google reveals it's well known compatibility problems with ffmpeg encoding and Firefox. Why can't we just all get along? |
@rschnekenbu while I can use chrome for this instance, it would be nice if you fixed your setup so folks are not forced to use Chrome. |
Definitely, I will check for other software options for recording video, convert the video or switch to another format. I found this issue about Kazam mp4 encoding: https://support.mozilla.org/mk/questions/1379414. For the video, until I restore the window, the app is not loading. The log also does not show any progress. As soon as it is displayed again, the loading process seems active, new events are logged, etc. |
O.K. so the title slightly misleading. I'll change it, if you don't mind. |
@msujew for the browser case, I think this is normal behavior. As for the electron case, there are two things we'll have to look at:
|
Turning off background throttling definitely seems to help. However, sometimes Theia still stops loading for a couple of seconds when starting up. The suspicion from the log is that this happens while restoring the layout. I'm currently experimenting with turning `request |
Turns out (aka experiments show) the culprit for the delay seems to be in |
So...it seems that |
The animation looks fine with "setTimout()". |
Fixes eclipse-theia#13798 Contributed on behalf of STMicroelectronics Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Fixes eclipse-theia#13798 Contributed on behalf of STMicroelectronics Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Fixes eclipse-theia#13798 Contributed on behalf of STMicroelectronics Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
When minimizing the window of a Theia based electron application at startup, the loading of the application seems suspended until the window is restored. It can be expected here that the window is still loading despite being minimized.
The text was updated successfully, but these errors were encountered: