zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
26.16k stars 1.8k forks source link

(Bug report) Blocs names in Canvas are not visible after update #4423

Open dydis opened 8 months ago

dydis commented 8 months ago

Trilium Version

0.61.13

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Win 10 Pro 22H2

Description

I updated Trilium from 0.60.4 to 0.61.13. All the blocs of my canvas documents lost the text describing them. I tried to double click and everything started hanging until I restart the app. Rolling back to 0.60.4 didn't help (the application doesn't start at all). Restoring database (in trilium-data) and clearing cache helped (but I'm still with 0.60.4). I cleared Session Storage, Code Cache, and Cache Data. trilium-2023-11-09.log

Error logs

No response

ReinforceZwei commented 7 months ago

I'm facing the same issue and wanted to provide some screenshots.

The following canvas note was created using version 0.60.4

In 0.61.13, book view (?) can render the text correctly. image But all text disappear when opening the note. It is still possible to interact with the diagram (dragging around, draw new shape) image

Double click the vanished text, trillium will hang for 5-10 seconds and finally throws error image image

After that, the diagram is no longer responding to any action.


Canvas note created by version 0.61.13 has no problem.

zadam commented 7 months ago

Hello, see #3979 and specifically https://github.com/zadam/trilium/issues/3979#issuecomment-1798395522 for a workaround.

dydis commented 6 months ago

Hello, see #3979 and specifically #3979 (comment) for a workaround.

Thank you, it works (of course revisions history are lost !). Please tell me if I leave this open (as the bug is still there) or should I close it and consider this workaround as a solution