Page 4 of 5

Re: issue-#105 background task processing while mouse tracki

Posted: Wed Mar 09, 2016 8:15 am
by Josef Templ
serverMode added.
background task processing while mouse tracking only in server mode.
Sleep and background task processing executed at the end of HostPorts.Input in order to avoid any initial mouse tracking delay.
HostMenus.idlePeriode reduced to 10ms in server mode.

see the changes in http://redmine.blackboxframework.org/pr ... 74a4a66de1.


Docu should be updated for the new Preferences: Beep, Server Mode

Beep: If not checked, Dialog.Beep is silent.
Server Mode: optimizes BlackBox for operating as a server: (1) background task processing while mouse tracking, (2) shortest possible idle periods in main Windows thread (needs a restart of BlackBox in order to be effective).

- Josef

Re: issue-#105 background task processing while mouse tracki

Posted: Wed Mar 09, 2016 8:50 am
by Robert
Josef Templ wrote:Docu should be updated for the new Preferences: Beep, Server Mode

Server Mode: optimizes BlackBox for operating as a server: ... <with these advantages ...>
This Docu change would be a problem for me, and maybe others. It raises the questions in my mind:

1 - "What are the advantages of not selecting Server mode?"
2 - "If there are no advantages, why have the option?"

Re: issue-#105 background task processing while mouse tracki

Posted: Wed Mar 09, 2016 2:14 pm
by Josef Templ
OK, we should add a warning about possible side-effects caused by background task processing in server mode.
We can also add a note on potential CPU overhead in server mode caused by a smaller idlePeriod.

- Josef

Re: issue-#105 background task processing while mouse tracki

Posted: Fri Mar 11, 2016 3:00 pm
by Ivan Denisov
Josef Templ wrote:We can also add a note on potential CPU overhead in server mode caused by a smaller idlePeriod.
Agree.

Re: issue-#105 background task processing while mouse tracki

Posted: Thu Mar 17, 2016 8:42 am
by Ivan Denisov
Josef, is this issue ready for voting? I had thought that you wanted to add some documentation. If not, I will make voting ASAP.

Re: issue-#105 background task processing while mouse tracki

Posted: Thu Mar 17, 2016 8:54 am
by Josef Templ
I cannot add any documentation without creating a merge conflict with #100.

In general, the docu for the Preferences dialog seems a little bit short and hard to find.
I think it would be a good idea to add a Help button to the Preferences dialog and jump to the
relevant part in the docu. Also the other preference settings need to be explained
in more detail. In fact, a separate docu file for Preferences may be more appropriate
than inlining it in the user manual.
But this would belong more to #100.

What is the center's opinion on that?

- Josef

Re: issue-#105 background task processing while mouse tracki

Posted: Thu Mar 17, 2016 10:12 am
by Robert
Josef Templ wrote:I think it would be a good idea to add a Help button to the Preferences dialog and ...
What is the center's opinion on that?
I think it would be a good idea to add a "Docu" (or Help) button to most (if not all) Forms; eg the Heap Spy or the Analyzer Options.
But I don't think this is a priority that should delay version 1.7.

Re: issue-#105 background task processing while mouse tracki

Posted: Thu Mar 17, 2016 3:11 pm
by Josef Templ
I added a separate file Host/Docu/Prefs.odc and a Help button in the Preferences dialog.
In this case a separate file is particularly justified because the dialog is in subsystem Host
and now the corresponding docu is also in subsystem Host.
@Ivan: In the user manual a link to this file should be inserted.

For the changes see http://redmine.blackboxframework.org/pr ... 517d15f058.
For seeing and testing the dialog a download is required.

I am not doing this for all dialogs.

- Josef

Re: issue-#105 background task processing while mouse tracki

Posted: Thu Mar 17, 2016 4:28 pm
by Robert
Very minor typo: "period" is spelt "periode".

Re: issue-#105 background task processing while mouse tracki

Posted: Fri Mar 18, 2016 7:03 am
by Josef Templ
thanks, fixed.
I also added a link to the command line options and documented the OK button.

see difss in http://redmine.blackboxframework.org/pr ... 1610c375cb.

- Josef