Editing Godley table - double characters
System dynamics program with additional features for economics
Brought to you by:
hpcoder,
profstevekeen
Initial condition cells give double characters. Flow cells give triple characters.
This appears similar to a Heisenbug I've experienced where I put a * on the
canvas and get 2 (and sometimes 3) of them.
It does sound similar, though I've never been able to reproduce, on any platform.
Can you somehow check it is not a too fast autorepeat?
On windows 10,
1) I set repeat key setting to maximum, 20s,2s,2s, and that had no affect (it did in the windows test field).
2) I also tried "ignore all repeat keystrokes"
Neither of these fixed the repeated characters.
I'm now getting 3 characters in the initialization cells most of the time. There is a larger delay between when the third character appears compared to when the second appears.
Last edit: JAMES SAULNIER 2023-05-23
Just trying this (rc.4) on Win 10 (22H2). Things work normally for me. I don't get repeated keys. It took me a while to find the key repeat setting, eventually finding them, in the old control panel. I have things set at the second fastest repeat delay and fastest repeat rate.
Not sure where to go from here.
Can you tell me if this happens anywhere else on the canvas (eg typing * as Steve suggests above, giving multiple multiply operations)?
Not sure if a movie would help (its not like I don't believe you :).
Are you using a standard PS/2 keyboard or something else?
I made a recording, but I'm getting a file too large error when posting so I'll work on that.
I'm using a Microsoft Surface Pro 3 and the keyboard is called Type Cover. Microsoft specs don't say much. https://www.microsoft.com/en-us/d/surface-pro-type-cover/91v4vtmhxwpm?activetab=pivot:techspecstab#tab1fd3c780c-57a1-4df4-ba7f-92291db815c5
I am getting double multiplication with * as Steve reported on canvas.
I'll attach model in case it's of use.
movie
movie of repeating * on canvas
Today I'm not getting any repeating characters in Godley edit mode or * on canvas.
Only things I have done of significance are:
Same basic file, but with a couple of days worth of edits.
I do a Save As every so often.
I may have closed and reopen Minsky two days ago.
I was developing a model for John Troughton, which if nothing else is a good dog-fooding exercise. And I triggered this bug! It turns out to occur when you switch to one of the other tabs and then back to the wiring tab. Each time you do this, the number of repeats per key press increases.
Clearly, when reinitialising the canvas window, it is inserting a key press event handler, and instead of replacing the current one, it just adds it to the event handler list.
Now for a solution - shouldn't be too long.
Whew! That was causing havoc in a class I gave last night too. A mysterious
but now comprehensible bug.
On Fri, Jun 2, 2023 at 1:24 AM High Performance Coder hpcoder@users.sourceforge.net wrote:
Related
Bugs:
#1614