Steps to reproduce
Open ~10 tabs or more - each one should have a file that does not fit the screen and should be scrolled. Ctrl-tab between the tabs.
I tested this both on my active vaults as well as on Sandbox Vault and active vaults with safe mode on
Expected result
Fast tab changes.
Actual result
Very slow (1-2s) tab changes, high CPU usage. On my main vault it happens on any tab change (back and forward), however in sandbox vault the slow switch is only when using Ctrl-tab (ctrl-shift-tab is fast).
Environment
- Operating system: Debian Testing
- Debug info:
SYSTEM INFO:
Obsidian version: v0.16.4
Installer version: v0.15.9
Operating system: #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10) 5.18.0-4-amd64
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Minimal
Snippets enabled: 0
Restricted mode: off
Plugins installed: 16
Plugins enabled: 12
1: Hotkeys for specific files v1.2.0
2: Obsidian Git v2.5.1
3: Calendar v1.5.10
4: Day Planner v0.5.8
5: Privacy Glasses v0.5.2
6: Style Settings v0.4.12
7: Minimal Theme Settings v6.0.5
8: Pane Relief v0.4.0
9: Auto Note Mover v1.2.0
10: Jump to link v0.4.3
11: Paste URL into selection v1.7.0
12: Dataview v0.5.46
Additional information
I ran profiler and pinpointed the function that is slowing down performance: