dendron
dendron copied to clipboard
Dendron preview won't update when using selection extract to create a note
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
- [ ] Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
- [ ] Lookup. Dendron's Lookup Command
- [x] Views. Dendron Preview, Tree View, Side Panels in the UI
- [ ] Schema. Dendron Schemas
- [ ] Pod. Data import from / export to Dendron
- [ ] Publish. External Site Publish
- [ ] Markdown. Markdown features, such as syntax support and features
Describe the bug
Dendron preview won't update when using selection extract to create a note.
To Reproduce
Steps to reproduce the behavior:
- create a note A with content
- open preview
- select and extract note A content to note B
- preview not update
Expected behavior
Preview updates when a new created
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
- OS: [e.g. iOS]
- Browser (if with published websites; include version): [e.g. chrome, safari]
- Versions (all that apply to bug):
- Dendron Extension: 0.107.2
- VS Code version: 1.70.1
Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs
here
Thank you for the report. I can't reproduce this on my end, but we'll investigate what's happening and let you know when it gets resolved.
@namjul could this be related to the preview lock feature?
Sorry for my oversight, I didn't reproduce it with only dendron enabled.
I tried it again and successfully reproduced it with dendron and Prettier enabled.
Any further information should I provide to resolve this problem?
@HenryC-3 that's good. I will look into it.
@HenryC-3 we could replicate the issue when we changed set the vscode Setting "Auto Save" to onFocusChange
.
It makes sense because when the selected text gets extracted from the note and vscode saves it more or less at the same time then the Preview will get notified of that change.
Can you confirm on your end by turning "Auto Save" off, to make sure that this is also the cause on your end.
@namjul Thanks for your effort.
This issue persists on my end. I tried it by turning autosave off, the preview won't update until I click the preview and then click in editor.
Here's the log file
Can you try to reload vscode after you turned of autosafe and then check again. It was necessary on my end.
@namjul Hi checked again and can't reproduce this time. But I did reload and then reproduced yesterday like commented above.
Maybe we should put this issue on hold for a while and see if others will encounter this problem as well.
Thank you for taking the time to investigate this issue.
I am also facing the same issue. Anyone has any solution.