Active timer control causes cursor to jump in masked text box

0
0

Hi,

Happy new year to the Wisej team!

I’ve found a bug when using a timer control and a masked text box control.

In the attached app there is a masked text box for entering time in hh:mm format and a couple of buttons to start/stop a timer on the form.

If the timer is NOT running then entering times into the masked text box works as expected, however, if the timer is started then occasionally when entering times into the masked text box, the cursor will jump to the end of the masked text box, but you have to time it just right.  I can usually make it fail by entering the hours portion of the time (e.g. 13) then pressing backspace once then re-entering the ‘3’ portion over and over in quick succession.

This bug was found due to a timer object that was firing in a separate class that was monitoring the user activity and resulted in all masked text boxes in my app to be affected.  I removed the timer object from the class and replaced it with a background task (https://wisej.com/docs/html/BackgroundTasks.htm) and this fixed the problem, however if another timer object is used on a form then the same problem will persist.

  • You must to post comments
0
0

Hi Andrew,

WJ-8666 is fixed in our latest dev build (1.4.59)

Best regards
Frank

  • Andrew Hills
    Updated and tested all ok now. Thanks Frank!
  • You must to post comments
0
0

Hi Andrew,

happy new year to you as well !

Thanks for your report and sample app. It helped us to reproduce the problem that we logged as WJ-8666.
A fix will be included in the next Wisej build.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.