[TW5] Saved searches and external links in 5.1.12

166 views
Skip to first unread message

michaelha...@gmail.com

unread,
Jul 19, 2016, 3:32:12 PM7/19/16
to tiddl...@googlegroups.com
There are probably very simple solutions to these issues and I'm proving myself quite the clod by asking, but since upgrading to version 5.1.12 (which is excellent), I have found my file acting up on two points:

1) I have my TW file as a pinned tab in my Firefox browser; I open Firefox, I open my wiki. I am a user of TiddlyFox. Usually when I open the file, if the search bar was empty when I closed the browser, it will be empty again when I reopen it. Since upgrading however, opening the file will have the search bar containing my last search, regardless of whether I had cleared it out before closing the file or not.

2) Previously, my file seemed to be able to handle any link to an external site I stuck in it. However, since the upgrade, the file no longer seems to be able to handle links that end in non-standard characters. For example, if a link ends with a hyphen (https://example.com/example-) I used to be able to handle that simply by using: [[https://example.com/example-]]. Now though, TW seems to read [[https://example.com/example-]] as a link to another tiddler, rather than to an external site. If I just use https://example.com/example-, then it does not recognize the hyphen at the end as part of the link. This was the usual behavior before the upgrade though.

Again, I expect the fixes for this behavior are fairly simple, but for the life of me I cannot seem to find them anywhere. If anyone has any suggestions, they would be greatly appreciated.

Thank you.


Birthe C

unread,
Jul 19, 2016, 4:11:58 PM7/19/16
to TiddlyWiki

michaelha...@gmail.com

unread,
Jul 19, 2016, 4:17:04 PM7/19/16
to TiddlyWiki
Birthe,

Thank you! That was a very simple fix indeed. Like I said, I am a clod. Do you have any suggestions as to how I might get the search bar behaving the way it used to?

Michael

Birthe C

unread,
Jul 19, 2016, 4:41:48 PM7/19/16
to TiddlyWiki
Hi Michael,

First you are not a clod. It is just so easy to feel like that at times...I sure know the feeling myself.
I also have a TW pinned in a firefox tab. I have made it a habit to always refresh the wiki before I start using it. Usually avoiding that problem with the search bar..and also avoiding to loose anything.


Birthe

michaelha...@gmail.com

unread,
Jul 19, 2016, 5:10:31 PM7/19/16
to TiddlyWiki
Birthe,

I'm sorry, I've probably worded myself poorly. Let me try again. The issue I'm having is that my last search term keeps appearing in my search bar whenever I open a new instance of TW. Whether I open the browser or refresh the page, my last search is there, even if I cleared the search bar and saved with the bar empty when I closed the file. I can search for "blue", delete "blue" from the bar, save the file with the bar empty, and yet when I refresh the file or reopen it, there is "blue" in the bar once more. This never happened before I made the upgrade, and while I have tried looking through the release notes, I cannot figure out what is causing the changed behavior. Do you have any thoughts?

Michael

c pa

unread,
Jul 20, 2016, 12:10:27 PM7/20/16
to TiddlyWiki
Yes. I've had the same problem, not just with 5.1.12 though.
For mew it seems to have to do with 2 things

1. Using the search bar and clearing the search bar doesn't make the TW dirty
    a. So if you use the search bar and then save the wiki, the search text is saved
    b. If then you clear the search and exit, the cleared search isn't saved so on reload the saved search is displayed
    c. Clearing and saving solves this
2. My browser cache saves the search bar contents
    a. either in the page cache
    b. or in the forms cache I'm not sure which
    c. clearing before navigating away seems to solve this

michaelha...@gmail.com

unread,
Jul 20, 2016, 1:20:27 PM7/20/16
to TiddlyWiki
c pa,

Yes, if I saved with text in the search bar, that text would be there the next time I opened the file. That behavior has been around longer than 5.1.12.

My problem is, since upgrading to 5.1.12, there is always text in the search bar when I open TW. I have tried saving the file with the search bar empty, refreshing, and clearing my browser cache. Yet for all that, when I open TW again, there is my last search in the search bar. It is not a huge problem of course, but it is rather annoying when the first thing I have to do when I open TW is clear the search bar of my previous search before typing in the search term(s) I actually want to use.

I assume some setting with the search bar was changed in 5.1.12, but for the life of me I can't figure out what it is. Do you have any suggestions as to what else I might try?

Michael

reakt...@gmail.com

unread,
Jul 20, 2016, 1:50:28 PM7/20/16
to TiddlyWiki
Out of curiosity, does this happen on multiple browsers/devices?

c pa

unread,
Jul 20, 2016, 2:37:11 PM7/20/16
to TiddlyWiki
OK here is the results of my testing:

Test script
    a. Open TW 5.1.12 fresh install in Chrome
    b. Enter text in search bar
    c. Save TW and exit
    d. Reopen TW
    e. Clear search bar
    f. Save TW and exit
    g. Reopen TW
    h. Clear search bar
    i. Create a new tiddler
    j. Save TW and exit
    k. Reopen TW
Expected Results
    On reload TW, Search bar is empty

1. Firefox: No problems
2. Chrome
    Actual results: Search bar contains search text
3. Internet Explorer 11
    Actual results: Saves wiki to new file. Search bar is empty


Expected results

michaelha...@gmail.com

unread,
Jul 20, 2016, 3:48:03 PM7/20/16
to tiddl...@googlegroups.com
c pa,

That is good advice and I should have done that in the first place. I've now tried TW in Vivaldi and Firefox, both with and without TiddlyFox active. When I create a fresh version of the file by saving, the search bar is empty in both browsers. The issue seems to come up when I have my TW as a pinned tab. If I unpin the tab and reopen the file directly, the search bar is empty. If I close the browser with TW pinned, then when I reopen the browser, my last search is in the search bar. No idea why that's happening, though at least I seem to be getting closer. Thank you for your suggestions. I don't suppose you have any idea what might be causing the behavior?

Edit: this also requires the TiddlyFox add-on to happen.

Michael

michaelha...@gmail.com

unread,
Jul 20, 2016, 7:22:05 PM7/20/16
to TiddlyWiki
After much playing around, it appears that the search text being saved is because of Firefox, not TiddlyWiki. I have been able to duplicate this behavior in other sites. I do not know why this has started up, but clearly something changed with Firefox, and the timing was merely so unfortunate as to have me believe it was an issue with TW.

Birthe, thank you for showing me how to properly create external links.

c pa, I fear I have cost you some time, so let me apologize for that and thank you for your help. I was able to get this figured out because of your suggestions.
Reply all
Reply to author
Forward
0 new messages