Page 1 of 1

Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 12:43
by ChrisRead
Hi,
I started getting a very annoying problem when using the auto-text editor. I'm not sure exactly what triggers it as yet, but this is a heads-up and initial report.

When working on that template that I posted on the '{' problem thread, at some point it started behaving oddly. At first I thought I was hitting a line length limit or template size limit as I was typing but the changes were not happening. I then realised that every time I typed a character or made a change in the edit window at the top, it would do that one change and then the cursor focus moved to the preview window at the bottom. You then have to click it back to the edit window to type the next character etc.

This occurs with/without a valid set of data in the main app, and no error blue message showing. It happens with normal text as well as keys/functions edits.

With an empty template, it works as expected and you can type away as normal, and I've tried modifying some of the other pre-canned ones as a test, and they seem fine as well. There seems to be something about my template that ends up leaving the cursor in the preview window after re-rendering it when anything is typed.

I will try and trim the template down to isolate the problem to a minimal example to make it easier to investigate, but thought I'd at least give you an early warning.

Re: Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 15:40
by NickWalker
Thanks Chris. The version I've posted in the other discussion thread should fix this issue.

Cheers

Nick

Re: Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 16:35
by ChrisRead
Yup, that seems fixed, thanks so much.

Re: Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 16:46
by ChrisRead
Scratch that, I think I miss-understood, I need the 7.1.3+ version I assume as it's still doing it, although I swear it worked initially, hence my previous post.

Re: Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 16:50
by NickWalker
Just to clarify I think it should be fixed in v7.1.4 which is linked in the other post.

Re: Auto-Text Template Editor loosing focus

Posted: 07 Feb 2021 17:50
by ChrisRead
Using 7.1.4.

Yes, focus problem is fixed in the template editor, but is now occurring on the normal user screen, see the very long thread.