Search found 262 matches

by Josef Templ
Mon Dec 02, 2019 6:49 pm
Forum: Common questions
Topic: Mouse Scroll Bug
Replies: 9
Views: 14634

Re: Mouse Scroll Bug

Did someone from oberoncore ever look at this bug?
Is it true that it is only related to wine? So far, I was not ale to
produce it under Windows.

- Josef
by Josef Templ
Sun Dec 01, 2019 2:41 pm
Forum: Common questions
Topic: Mouse Scroll Bug
Replies: 9
Views: 14634

Re: Mouse Scroll Bug

It seems to be a clipping/updating problem under wine. You can also produce pixel garbage if lines := 1. It looks like the problem occurs when the screen update is not yet finished when the next scroll event arrives, or something like that. Try scrolling multiple lines with a single mouse wheel turn...
by Josef Templ
Thu Nov 28, 2019 5:22 pm
Forum: Common questions
Topic: Mouse Scroll Bug
Replies: 9
Views: 14634

Re: Mouse Scroll Bug

I have no idea what may cause such a behavior.

- Josef
by Josef Templ
Thu Nov 28, 2019 5:20 pm
Forum: BlackBox Framework
Topic: Issue with BlackBox v1.6 + OPENBUGS integration on WIN10
Replies: 5
Views: 13699

Re: Issue with BlackBox v1.6 + OPENBUGS integration on WIN10

it seems that you are loading incompatible versions of some modules. If you have the sources, recompile them all. BlackBox 1.6 is a pretty old version, by the way, but it is the latest from oberon microsystems. Newer versions are available from the BlackBox Framework Center at http://blackboxframewo...
by Josef Templ
Thu Nov 28, 2019 5:13 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26846

Re: Crash when using coroutines

by setting a smaller stack size (Coroutines.SetStackSize) it should be possible to start a larger number of coroutines. golang starts with a size of only 4KB and increases that on demand. With the native Windows fibers being used for BlackBox coroutines the minimum stack size is somewhere at 64 KB, ...
by Josef Templ
Tue Nov 26, 2019 5:29 am
Forum: News
Topic: BlackBox 1.7.2 - Release candidate
Replies: 14
Views: 23561

Re: BlackBox 1.7.2 - Release candidate

@Ivan: can you please describe the issue with the multiLine Field Update?
The coding looks quite tricky, I mean the coding of the old code.
Therefore it is not obvious to me what the fix is all about.

- Josef
by Josef Templ
Mon Nov 25, 2019 7:39 pm
Forum: Common questions
Topic: Mouse Scroll Bug
Replies: 9
Views: 14634

Re: Mouse Scroll Bug

Does it mean that WinApi.SystemParametersInfoW is not supprted under wine?

What is the value in "lines" after calling it?
It should be 3 (the Windows default) or may be some user configured value.

What if you set lines := 3; under wine without calling WinApi.SystemParametersInfoW?

- Josef
by Josef Templ
Sat Nov 23, 2019 6:51 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26846

Re: Crash when using coroutines

@X512 Please have a look at http://blackboxframework.org/unstable/issue-%23197/blackbox-1.7.3-a1.1120.zip for the fix as you proposed. The list of changes is in https://redmine.blackboxframework.org/projects/blackbox/repository/revisions/93acb1d2fc68882b5f8382a78b3bbad0a8f88ab6/diff/ . Thanks again ...
by Josef Templ
Mon Nov 18, 2019 10:41 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26846

Re: Crash when using coroutines

I think I do understand now what is going on. In Kernel.ExecFinalizer there is an extra check for finalizing objects of unloaded modules. IF (fin # NIL) & (f.blk.tag.mod.refcnt >= 0) THEN fin(S.VAL(ANYPTR, S.ADR(f.blk.last))) END; If your test module A is unloaded, then the finalizer of the coro...
by Josef Templ
Mon Nov 18, 2019 8:58 pm
Forum: Bug
Topic: Crash when using coroutines
Replies: 11
Views: 26846

Re: Crash when using coroutines

Thanks, this makes it a lot clearer, however, coroutines always come as pairs (Coroutines.Coroutine, Kernel.Coroutine) where Coroutines.Coroutine.impl points to the lower-level Kernel.Coroutine object. There should never be a dangling pointer because .impl is a tracked pointer. Whenever a Coroutines...