Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf pages not rendering unless block is edited #43

Open
attilio-oliva opened this issue Mar 20, 2023 · 0 comments
Open

Pdf pages not rendering unless block is edited #43

attilio-oliva opened this issue Mar 20, 2023 · 0 comments

Comments

@attilio-oliva
Copy link

In the latest Obsidian versions, pdf pages usually aren't rendered.
This generally occurs when in your vault there are a lot of pdf blocks or if a single documents frequently use single pdf page blocks. You can actually manage to display a block, pressing the "edit block" icon that obsidian offers to any kind of block, but it is very tedious to do it every time you jump in a new document.

Bug and workaround:

  1. Bug occurs

2. Block exists, but is not rendered

3. Try editing it

4. Stop editing. It directly appears on preview mode (note that this document is freely accessible from the book website)

STEPS TO REPRODUCE:

  1. Use a big pdf file with a lot of pages (about 100) and use a bunch of them in a document:

This is page 1

{
	"url": "file.pdf" ,
	"page": 1
}

This is page 2

{
	"url": "file.pdf" ,
	"page": 2
}

...
This is page 40

{
	"url": "file.pdf" ,
	"page": 40
}
  1. If this bug is not yet reproduced create a new document and repeat step 1. Occasionally it can occur by closing all the new documents in the editor and opening them one by one.

I tested this using the latest plugin version (1.4.0) and Obsidian v1.1.16.
I tried removing every community plugin except better-pdf, but nothing changed.
The problem occurs in every platform I could try (Linux, Windows 10, Android).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant