File drag and drop slows down with big PDF open

Steps to reproduce

  1. Add a big PDF to your vault. In my case I was testing with the “Pathfinder 2e Kingmaker” PDF (around 650 pages).
  2. Have said PFD open and visible.
  3. Drag a folder in the file explorer around.
  4. Obsidian is very slow to respond to mouse movements (unexpected)

Now the proof that is has to do with the PDF.

  1. Close the tab with the PDF (or switch to another tab so that the PDF is no longer visible).
  2. Drag a folder in the file explorer around.
  3. Draging is smooth.

Did you follow the troubleshooting guide? Y

Yes, tested with the sandbox vault with the PDF added to it.

Expected result

Obsidian does not slow down and dragging is smooth.

Actual result

Obsidian slows down and dragging is not smooth.

Environment

SYSTEM INFO:
	Obsidian version: v1.6.2
	Installer version: v1.5.8
	Operating system: Windows 10 Enterprise 10.0.19045
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none


Additional information

Screenshot of the profiler.

It get’s worse when there are two tabs with the PDF open.


(the time for that task is 5.16 ms)

I can repro, thanks!

1 Like

to repro I need multiple large pdfs side by side

Maybe this bug has upsides. Because of it, I taught myself to use the Move current file to another folder command. XD

This will be fixed for the next Insider build.

1 Like