issue-#105 background task processing while mouse tracking
Posted: Fri Feb 19, 2016 1:54 pm
This issue (http://redmine.blackboxframework.org/issues/105) is about improving
the responsiveness of BlackBox when used as a server.
It is proposed that background tasks are called even while tracking the mouse.
Technically, this is simple because all mouse tracking loops eventually call HostPorts.Rider.Input
where the background tasks can be activated.
here are the changes: http://redmine.blackboxframework.org/pr ... 115335d51f.
HOWEVER, this issue seems to have a long history.
There is a change line entry in HostPorts (BB1.6!) right at the beginning of the changes list:
- 20060325, mc, Rider.Input changed for the benefit of background task response.
(mc is Marco Ciot, I guess.)
This line says that the change has been done in 2006.
Since it is not in BB 1.6 it must have been removed later.
The import list still contains 'Services' which also indicates that background task execution
has been available once but removed later.
Why has it been removed?
There is another related change comment line in CPC 1.7 HostPorts. This line
is about the reinvention of this feature.
- 20080524, Alexander Iljin, Rider.Input updated to allow Services.Actions call it.
@Helmut: do you know any details about this issue and its history?
Does anybody know mc? Can we contact him?
When I saw this issue the first time I thought, wow, this is a dangerous feature.
A background task could in some way have side effects that interacts with the mouse tracking loop.
However, in practice it seems to work well. There may be exceptions, though, and may be these were the
reason for removing this feature again.
- Josef
the responsiveness of BlackBox when used as a server.
It is proposed that background tasks are called even while tracking the mouse.
Technically, this is simple because all mouse tracking loops eventually call HostPorts.Rider.Input
where the background tasks can be activated.
here are the changes: http://redmine.blackboxframework.org/pr ... 115335d51f.
HOWEVER, this issue seems to have a long history.
There is a change line entry in HostPorts (BB1.6!) right at the beginning of the changes list:
- 20060325, mc, Rider.Input changed for the benefit of background task response.
(mc is Marco Ciot, I guess.)
This line says that the change has been done in 2006.
Since it is not in BB 1.6 it must have been removed later.
The import list still contains 'Services' which also indicates that background task execution
has been available once but removed later.
Why has it been removed?
There is another related change comment line in CPC 1.7 HostPorts. This line
is about the reinvention of this feature.
- 20080524, Alexander Iljin, Rider.Input updated to allow Services.Actions call it.
@Helmut: do you know any details about this issue and its history?
Does anybody know mc? Can we contact him?
When I saw this issue the first time I thought, wow, this is a dangerous feature.
A background task could in some way have side effects that interacts with the mouse tracking loop.
However, in practice it seems to work well. There may be exceptions, though, and may be these were the
reason for removing this feature again.
- Josef