ituob / itu-ob-editor

Cross-platform desktop application for collaborative editing of ITU Operational Bulletin data
6 stars 3 forks source link

Avoid blank windows while loading contents #2

Open strogonoff opened 5 years ago

strogonoff commented 5 years ago

This should be possible by e.g. hiding newly opened window until Electron fires the ready event.

strogonoff commented 5 years ago

To speed up loading it should also be possible to avoid re-reading storage contents in each window. Perhaps it’s possible to load storage only once inside main thread.

strogonoff commented 5 years ago

Partially fixed, now loading data in main thread so windows are blank very briefly. It’s possible reduce this further by delaying showing the window until Electron fires ready event.