Hello all,
In an effort to improve my workflow, I’m trying to implement a button to edit certain fields of my tiddler without going into tiddler edit mode. I’m using a temp tiddler (whose name is prefixed with $:/temp/volatile) and several edit-text widgets to edit the fields and I’m opening this in a new window. This all works fine except for the fact that when I start typing, the edit-text widget loses focus after every key stroke. I’ve also noticed that the fonts used in the new window are not the same if the tiddler were opened normally. I’m new to the opening a new window thing so I’m thinking it’s got something to do with my lack of experience with it. (FYI - I’m using the tm-open-window message and a viewtemplate to display the edit-text widgets.)
Also, if I don’t use the the new window, but just open the tiddler normally, I see a loss of focus at very random intervals. Sometimes within a second or two and others several seconds later.
As an aside, I’m using the $:/temp/volatile because I’ve noticed that if I edit fields without this, the mainRefresh times are in the neighborhood of 500-600 ms. Using $:/temp/volatile, the mainRefresh times are less than 10 ms. Editing fields in tiddler edit mode isn’t affected by this and still has mainRefresh times in the several hundred ms range. This makes typing very slow. Does anyone have any thoughts on why editing fields would be so slow? I have a large TW nearing 12 MB and it has lots of tiddlers and fields.
Thanks in advance.