Whenever I have a file with a rendered PDF viewer (the builtin one) the entire page just laggs and freezes sometimes. It is completely stuttering only showing what I have typed every few seconds. It’s like the screen in only refreshing every second or so. The actions I do (type/click) are all performed completely fine but I can only see it visually after some time and all at once.
When I switch the tab or scroll far down on the same tab the lag goes away (When the PDF Viewer is out of sight).
Things I have tried/tested
Tested if it’s the PDF (trying to view it in a seperate window, with another app, with Mozillas PDF viewer)
turning off CSS snippets
Disabling all Themes
Turning on Restricted Mode
Removing the PDF from the file (the lag went away but that’s not resolving the issue. I still want my PDFs. It’s only to prove that it’s actually the Viewer that caused the issue=
I’m having this problem as well after the latest update. This problem persists in both the Linux (Ubuntu) version and the Windows version. I tried all the things you mentioned, changed to the default theme, disabled all plugins and snippets. So it seems to be the native PDF-rendering…
I’m also experiencing this issue on v1.8.9 (macOS) and want to add a detail in case it helps with debugging: if I embed a PDF in the middle of a note, I experience significant typing lag below the PDF, but not above it (even when the PDF preview is visible in both cases).
Installer version is 1.8.7. I just tried redownloading and reinstalling Obsidian and am still seeing the same issue.
One additional point: the level of lag does seem to scale with the PDF’s size and / or length (a 12-page PDF is not super noticeable, while a 122-page PDF makes the note almost unusable).
I tried disabling the Automatic view refreshing in dataview and limiting the search of metadata in the Tracker plugin and it turn better. Not like a pdf viewer in chrome, anyway…