Page 1 of 2
issue-#107 views freezing
Posted: Thu Feb 25, 2016 3:05 am
by Ivan Denisov
Views are freezing while menus interaction of text drop-down operations.
Luowy suggested the patch.
luowy wrote:HostWindows.Idle
Code: Select all
...
Services.actionHook.Step;
Windows.dir.Update(NIL);(*20080122*)
END Idle;
Luowy, do you know any side effects of this patch?
Re: issue-#107 views freezing
Posted: Thu Feb 25, 2016 3:40 am
by Ivan Denisov
I prepared the version for testing:
http://blackboxframework.org/unstable/i ... a1.443.zip
Please, can anyone suggest the idea of benchmark for this issue.
Re: issue-#107 views freezing
Posted: Thu Feb 25, 2016 7:19 am
by luowy
note
this patch only valid for Menus popup and Open File Dialog,and other Dialog controls of OS.
invalid for BB Views which using HostPorts.Rider.Input in a loop block to Handle Controllers.TrackMsg,
like TextViews's text selection ...
Re: issue-#107 views freezing
Posted: Mon Feb 29, 2016 6:55 am
by Josef Templ
redmine cannot be reached so I cannot look into the diffs.
"502 Bad Gateway"
- Josef
Re: issue-#107 views freezing
Posted: Tue Mar 01, 2016 1:49 am
by Ivan Denisov
Re: issue-#107 views freezing
Posted: Wed Mar 02, 2016 7:12 am
by Josef Templ
Ivan Denisov wrote:
Please, can anyone suggest the idea of benchmark for this issue.
What do you mean? Please explain in other words.
- Josef
Re: issue-#107 views freezing
Posted: Fri Mar 04, 2016 7:27 am
by Ivan Denisov
I mean that this change can cause unnecessary updates of all windows even if there is no such necessity. I do not how to evaluate this. So if somebody knows, lets check.
Re: issue-#107 views freezing
Posted: Sun Mar 06, 2016 10:51 pm
by Josef Templ
I agree with Ivan. We must be sure that unnecessary window updates are avoided.
This could lead to CPU overhead or to screen flickering.
This needs a careful investigation before making such a change.
- Josef
Re: issue-#107 views freezing
Posted: Mon Mar 07, 2016 8:24 am
by DGDanforth
Josef Templ wrote:I agree with Ivan. We must be sure that unnecessary window updates are avoided.
This could lead to CPU overhead or to screen flickering.
This needs a careful investigation before making such a change.
- Josef
As a side comment I would add that when a view is first opened it is drawn twice (2) which, to me, is a bug.
Re: issue-#107 views freezing
Posted: Wed Apr 06, 2016 5:56 am
by Ivan Denisov
I merged master to this topic branch for make new testing version:
http://blackboxframework.org/unstable/i ... a1.496.zip