I’ve had this issue happening for a while: Basically every time I use Obsidian, it is slow and laggy until I quit and reopen it. At some point I pinpointed it to the computer’s sleep and now I can even reproduce the issue by having Obsidian open, putting the computer to sleep, and waking it up again. This happens with a completely fresh installation of v0.15.9 (i.e. all files under Application Support etc. removed) with all plugins disabled in a newly created vault.
It is noticeable while typing and while hovering the menus in settings and in many other places in the interface. This does not happen in any other application.
I’ve talked to people on Discord in the #insider-desktop channel and nobody has had or heard of this issue before. So I suspect none of you will be able to reproduce it. But maybe someone has hints what I can do to figure this out. (By the way, this also means I’ve tested it out on v0.16.3 and it’s still occurring.)
I’ve looked at the dev console and couldn’t find anything there. I’ve tried disabling hardware acceleration which also didn’t change anything. A performance profile showed that there are lost frames and slow processes, but I couldn’t pinpoint it to any specific thing (so maybe somehow can help here or inspect my performance profiles).
Steps to reproduce
Have Obsidian open. Put computer to sleep. (Wait a few seconds so that it’s actually asleep.) Wake computer up. Start typing or doing anything else in Obsidian and it will be a bit slow (like it’s slightly behind all the time). Quit Obsidian and reopen it and the issue disappears.
Expected result
Obsidian should not get into this state.
Actual result
Obsidian gets slow and laggy until it is quit and reopened.
Environment
- Operating system: macOS 12.6
- Debug info:
SYSTEM INFO:
Obsidian version: v0.15.9
Installer version: v0.15.9
Operating system: Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 21.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
I’ll upload my performance profile somewhere and attach it here in a bit.