WebClient send events without order

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

WebClient send events without order

Post by AGorbatykh »

I've got a logic bug in WebClient with event sending.
I've create several (more then 1) rectangle (~50x50 px) and set MouseOver-function for them:

Code: Select all

main(bool enter)
{
    DebugN(this.name+enter);
}
If I run it by WinCC OA console as like standart application and start to move on them. It works closer to fine - all leaving-events are coming after coming-events:
WCCOAui3:["excelTRUE"]
WCCOAui3:["excelFALSE"]
WCCOAui3:["trendTRUE"]
WCCOAui3:["trendFALSE"]
WCCOAui3:["taskTRUE"]
WCCOAui3:["infoTRUE"]
WCCOAui3:["taskFALSE"]
WCCOAui3:["infoFALSE"]

WCCOAui3:["infoTRUE"]
WCCOAui3:["infoFALSE"]


Not so good, because line 6 (WCCOAui3:["infoTRUE"]) is coming before line 7 (WCCOAui3:["taskFALSE"]), but nevertheless it works always (all leaving-events are coming after coming-events).

If I run it in browser by WebClient, I saw next thing: some of leaveing-events are coming before coming-events:
WCCOAui2:["infoTRUE"]
WCCOAui2:["infoFALSE"]
WCCOAui2:["taskFALSE"]
WCCOAui2:["taskTRUE"]

WCCOAui2:["excelTRUE"]
WCCOAui2:["excelFALSE"]
WCCOAui2:["infoTRUE"]
WCCOAui2:["infoFALSE"]
WCCOAui2:["trendTRUE"]
WCCOAui2:["trendFALSE"]


There's a big trouble for me, because leaving-event trigered before enter-event.

How to fix it?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: WebClient send events without order

Post by mkoller »

That needs a more detailed analysis.
Please get in contact with customer support, tell them the Version you are using and attach an example panel.

2 posts • Page 1 of 1