TiddlyDesktop icon indicating copy to clipboard operation
TiddlyDesktop copied to clipboard

Bug? Custom fields widgets are not displayed

Open zigmhount opened this issue 1 year ago • 3 comments

Hello,

I just discovered Tiddlywiki yesterday and I'm very excited about migrating after several years spent on Logseq.

I'm attempting to set up a wiki in a folder and to open it with TiddlyDesktop. Following the suggestion in #99, I've created a new wiki with nodejs (tiddlywiki my_tw --init server), and opened it in TiddlyDesktop. I found it generally quite buggy (tiddlers not being displayed in the story river when selecting them in the Recents list, not saving or not closing them properly), and the most visible issue is the widgets not being displayed for custom fields: image

Viewing the same tiddler from the browser (Firefox 133.0) however displays it correctly (and the application is generally working better): image

In case it is related, I was also surprised to see that the version displayed in $:/ControlPanel is 5.3.0-prerelease even though tiddlywiki --version does say 5.3.6. Choosing a different edition when initializing the wiki (I tried empty and full) give the same 5.3.0-prerelease.

I'm using TiddlyDesktop 0.0.20 on linux64 (Debian 12), nw --version says nwjs 114.0.5735.91 , npm version 9.2.0, nodejs v18.19.0.

I'm having a hard time believing that it may be an actual bug in TiddlyDesktop, given that the release is many months old, and that I get this issue on a freshly created wiki, so hopefully I'm making mistakes or wrong assumptions, or some of the tools are too old?

One more clue I just found: the DevTools inspection console shows (in all the wikis I tried creating as above) Uncaught ReferenceError: sjcl is not defined crypto.js:21, which someone resolved before by replacing sjcl.js - but here I'd rather suspect something going wrong with the wiki initialization.

Thanks!

zigmhount avatar Dec 18 '24 18:12 zigmhount

Hi @zigmhount I can confirm the problem with the missing field value controls, and the story river not being properly updated. It only occurs with wiki folders, not single file wikis, which seems very mysterious. I shall investigate properly as soon as I can.

Jermolene avatar Dec 18 '24 19:12 Jermolene

Hi @zigmhount I've updated TiddlyDesktop to the newest versions of nw.js and TiddlyWiki itself. In my tests this bug seems to have resolved itself.

You can download a build for testing from here:

https://github.com/TiddlyWiki/TiddlyDesktop/actions/runs/12456787682

Jermolene avatar Dec 22 '24 18:12 Jermolene

Thanks! The field controls and story river seem to be working better now indeed.

However, one of my wikis does not load in TiddlyDesktop (it does with nodejs+browser). I've been playing around a lot with various plugins in the past 2 weeks, and I see these errors in the console, which might be related to a faulty plugin maybe?

[21196:21209:1231/100244.545902:ERROR:nss_util.cc(345)] After loading Root Certs, loaded==false: NSS error code: -8018
[21196:21196:1231/100250.752019:ERROR:extension_host.cc(458)] Received EventAck for extension bpdeplafbjkfabcdjdbibppeobkefplc for an unknown event.
[21196:21196:1231/100315.619272:ERROR:extension_host.cc(458)] Received EventAck for extension bpdeplafbjkfabcdjdbibppeobkefplc for an unknown event.

That said, this wiki also doesn't load in TiddlyDesktop v0.0.20, but with different error messages:

[23301:23306:1231/101332.697479:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018
[23301:23306:1231/101332.697726:ERROR:cert_verify_proc_builtin.cc(624)] No net_fetcher for performing AIA chasing.
[23301:23306:1231/101337.605391:ERROR:cert_verify_proc_builtin.cc(624)] No net_fetcher for performing AIA chasing.

These errors are obviously different from this issue's original topic though, I can move them to another issue if you prefer, let me know.

zigmhount avatar Dec 31 '24 09:12 zigmhount