issue-#105 background task processing while mouse tracking

Merged to the master branch
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

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

Post 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?"
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post 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.
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post 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.
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

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

Post 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.
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

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

Post by Robert »

Very minor typo: "period" is spelt "periode".
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
Post Reply