Author |
Message |
07/12/2015 09:29:15
|
dkhanzhyiev
Active
Joined: 11/11/2015 10:21:27
Messages: 10
Offline
|
Hi
when there is active timer on page and window with this pages is hidden (in our case whole client is hidden with system tray), the timer heart beat listener calls
Page.callServerWhenPossible - which checks for
getOwningDialog().isShowing() is false
and postpones the call to event queue, on next queue loop nothing is changesd so the call is again added to queue and so on
This leads to unnecessary high CPU load.
UPDATE: We actually need this timer to run while window is hidden. So there is no need to delay roundtrips until window is shown.
|
|
|
07/12/2015 10:53:16
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
OK, got it. Will change for next update ("today").
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
08/12/2015 06:28:19
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...is now solved (20151207).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
08/12/2015 10:17:27
|
dkhanzhyiev
Active
Joined: 11/11/2015 10:21:27
Messages: 10
Offline
|
Yes!
Thanks.
|
|
|
11/12/2015 12:39:54
|
dkhanzhyiev
Active
Joined: 11/11/2015 10:21:27
Messages: 10
Offline
|
It looks like the issue was not resolved completely.
There are still complains about high CPU load in that hidden window with timer, when this window is initially hidden. When the window is shown then hidden back - CPU load drops to normal (after it is shown).
|
|
|
14/12/2015 12:12:00
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...ooops. you start the UI with initial state "closed"? ... So, yes, the correction of last week only is active after the first opening of the window. We currently do no see if the window is not active due to it's just in the build up process or due to being hidden...
will check, asap...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/12/2015 12:41:01
|
Admin
Power User
Joined: 21/11/2007 11:36:10
Messages: 37
Offline
|
Hi, I am just uploading a version to overcome this. Will tell you, when upload is finished. Regards, Björn
|
|
|
14/12/2015 14:21:53
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...update 20151214_2 is available....
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|