Steps to reproduce
Obsidian works for some time in the background. I'm not sure what is the precise time but it's rather long. Probably enough for the app itself or the OS to unload the app from RAM. I use other applications and then switch to Obsidian.
Expected result
I expect Obsidian to be ready for use right after switching to it.
Actual result
Obsidian unfreezes and becomes usable only after 40 seconds (I measured the time) or sometimes more (subjectively).
Environment
- Operating system: Ubuntu 20.04
Additional information
As I understand, Obsidian uses Electron. No other app on my laptop that uses this technology takes so long to unfreeze after some time of inactivity in the background. Zettlr and VSCode are ready to use right after switching to them no matter how much time they were inactive. So I figured the cause may be not Electron or my slow computer. There is a topic [Obsidian on Linux is Slow to point of Unusable](https://forum.obsidian.md/t/obsidian-on-linux-is-slow-to-point-of-unusable/10804) an author of which experienced slow work in all situations. Solution to use --disable-gpu key from that topic didn't help me.