rQuickTid vs Relink: buggy cloning instead of renaming

77 views
Skip to first unread message

Bartosz Wilinski

unread,
Feb 23, 2021, 11:21:54 AM2/23/21
to TiddlyWiki
Hello there.

I started using rQuickTid. It is great for creating quick notes outside of main TW window. Unfortunately there were some problems with updating TOC so in the code I changed action-setfield to action-createtiddler and it made a difference.

But latter I have found out that Relink has some problems with tiddlers created using rQT. Clone with new title appears but old one stays instead of being deleted. Minor bug but annoying especially when using rQT en masse.

Any ideas what can be a cause?

Can rQT code make tiddlers that are different from Relink point of view?

-Bartosz

Flibbles

unread,
Feb 23, 2021, 11:49:23 AM2/23/21
to TiddlyWiki
Clone? So is this the "Reuse content" button in the tiny rQuickTid window? (I've never used, or even heard of, rQuickTid, so you'll need to bear with me.)

Bartosz Wilinski

unread,
Feb 23, 2021, 1:18:49 PM2/23/21
to TiddlyWiki
I missspoke. rQuickTid can be used to quickly create tiddlers outside of main TW window e.d. type title, 2-3 tags, line of text, confirm and you have a tiddler. Useful because you can left tags intact and create other tiddlers.

Unfortunatelly it generates some buggy behaviour. My fix did not fix anything! Tiddlers from rQuickTid acts like phantoms e.g. you can have normal tiddler and rQT with same title, and phantom ones do not work with tags.

Maybe I would paste code and sb nice would check it for me? Unfortunately I am still a rookie.

Flibbles

unread,
Feb 23, 2021, 1:26:12 PM2/23/21
to TiddlyWiki
Hmm. I'm seeing that sort of behavior too. If there was a problem with the way Relink interacts with rQT, I'd be happy to fix it, but rQTs behavior is so strange I have trouble believing it's not at fault.

* It lets you create Tiddlers with the same title as pre-existing tiddlers, and it somehow injects them into the story river, even though it's impossible for there to be two tiddlers with the same name.
* It lets you create Tiddlers with an empty name, which is a no-no in Tiddlywiki
* It lets you create Tiddlers with preceding and trailing whitespace characters, which is another no-no.

rQT says it's in beta, so I imagine it may need some more work. Relink works by hijacking the renameTiddler wikimethod. It won't actually touch the "toTiddler" or "fromTiddler", only tiddlers that have the "fromTiddler" somewhere inside them. So if there's a phantom tiddler problem, it's probably in the way rQT is making tiddlers. This may be something to report on their github.

Mat

unread,
Feb 23, 2021, 2:04:38 PM2/23/21
to TiddlyWiki

* It lets you create Tiddlers with the same title as pre-existing tiddlers, and it somehow injects them into the story river, even though it's impossible for there to be two tiddlers with the same name.
* It lets you create Tiddlers with an empty name, which is a no-no in Tiddlywiki
* It lets you create Tiddlers with preceding and trailing whitespace characters, which is another no-no.


MWUA-HA-Haaaaa! My mysterious creation is doing its work! Soon this TiddlyRansomware shall sell you back one tiddler at a time!

Anyway, it seems to add a trailing %0A which is a linebreak. This should of course not have been added to the title but this is why you seemingly can have duplicates. Obviously it is a bug and it is probably a bug that TW doesn't trim it.

Regardless, it is pretty much an abandoned project because I included the "remote" feature in the SideEditor which is more powerful in many ways. I suggest you see if it can replace rQT and if it does not cause the problems. (If it does, I'd love to know). 

<:-) 

Mat

unread,
Feb 23, 2021, 2:06:49 PM2/23/21
to TiddlyWiki
So poor Flibbles should not be blamed for this. It likely has nothing to do with Relink.

<:-)

Flibbles

unread,
Feb 23, 2021, 3:46:42 PM2/23/21
to TiddlyWiki
Hah!

SideEditor definitely seems a lot more stable. Hadn't noticed that rQT hadn't been touched in nearly four years.

:)
-Flibbles
Reply all
Reply to author
Forward
0 new messages