Forum Discussion

Manfred_F's avatar
Manfred_F
Regular Contributor
8 years ago

LogParams.Locked messes up picture sequence in log

I've been wondering for a Long time about wrong Pictures in my logs. Now I've found a reason.

 

Using LogParams.Locked = true in Event procedures messes up the log Picture sequence, if code is executed from script Extension:

The Picture of a suppressed log item is Shown in the place of the Picture of the next Event.

 

In the two screenshots, a button is focussed and then clicked (.SetFocus, .ClickButton.).

In "lock No", Locking is disabled, all log items are shown, the result is correct.

In "lock Yes", the Event for Button.SetFocus is suppressed. This leads to the suppressed item's Picture being posted with the consecutive .Click Event's log item.

 

The behavior can be reproduced ONLY when the button's Actions are called from a script Extension.

It can also be reproduced using Notepad.