Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Browser update breaks my app (Version 2.05 buld 4)
Mon, Sep 25 2017 3:32 PMPermanent Link

Michael Saunders

I recently had an issue where an update to Chrome broke my app (Running form my Android mobile phone) It occurs on the TButton's  Onclick event  There is no problem when a mouse click initiates this event from the desktop  but when it is a touchscreen then I have had to change the code to set the buttons enabled property to False straight away before set ting it back to True only wnen all processing has completed   If not then I get a duplicate key error message when adding a new record to the database  It would appear the the event is firing for a second time no matter how quick I am with the finger tap  

Note that there is no issue with Firefox and with previous Chrome releases

So Is the Onclick event the correct event to activate a touchscreen button and if so is what I have done the best solution to fix it

Also has anyone else experienced issues where browser changes have caused issues similar to this  Do you block browser updates and if not how do you monitor what is is being changed

It is of concern to me that I can be providing apps which work fine one day and fail the next due to changes beyond my control

Next time I may not be able to fix it so easily  What is the recommended approach here

Many thanks in advance
Mon, Sep 25 2017 4:07 PMPermanent Link

Uli Becker

Michael,

I remember there was a bug firing clicks twice on mobile devices.
I suggest to use the latest version of EWB where that has been fixed.

No "workaround"  should be needed for simple clicks.

Uli
Fri, Sep 29 2017 3:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I recently had an issue where an update to Chrome broke my app (Running form my Android mobile phone) It occurs on the TButton's  Onclick event  There is no problem when a mouse click initiates this event from the desktop  but when it is a touchscreen then I have had to change the code to set the buttons enabled property to False straight away before set ting it back to True only wnen all processing has completed   If not then I get a duplicate key error message when adding a new record to the database  It would appear the the event is firing for a second time no matter how quick I am with the finger tap >>

This was a bug in EWB:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_beta&page=1&msg=283#283

Unfortunately, it came up during the 2.06 beta, was fixed for the final 2.06, but I forgot to log it as a 2.05 bug.

In general, it's *very* rare for a regression in something so fundamental to crop up in Chrome.  Most of the time, it's probably a bug in EWB.

Tim Young
Elevate Software
www.elevatesoft.com
Image