Menu

#1614 Editing Godley table - double characters

StuartMill
closed
rc.4 (14)
4normal
2023-06-04
2023-05-22
No

I'm getting double characters when directly editing a cell (not opening the table to make edits). So if I type 0.123 the cell displays 00..112233. Backspaces are also doubled so if I backspace the 3 both 3s are deleted.
Work around is to open the godley table to do edits.

Related

Bugs: #1614

Discussion

  • JAMES SAULNIER

    JAMES SAULNIER - 2023-05-22

    Initial condition cells give double characters. Flow cells give triple characters.

     
    • Steve Keen

      Steve Keen - 2023-05-23

      This appears similar to a Heisenbug I've experienced where I put a * on the
      canvas and get 2 (and sometimes 3) of them.

       
  • High Performance Coder

    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?

     
  • JAMES SAULNIER

    JAMES SAULNIER - 2023-05-23

    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
  • High Performance Coder

    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?

     
  • JAMES SAULNIER

    JAMES SAULNIER - 2023-05-24

    movie

     
    • JAMES SAULNIER

      JAMES SAULNIER - 2023-05-24

      movie of repeating * on canvas

       
  • JAMES SAULNIER

    JAMES SAULNIER - 2023-05-26

    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.

     
  • High Performance Coder

    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.

     
    • Steve Keen

      Steve Keen - 2023-06-02

      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:

      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.

      [tickets:#1614] https://sourceforge.net/p/minsky/tickets/1614/ Editing
      Godley table - double characters

      Status: open
      Milestone: StuartMill
      Labels: rc.4
      Created: Mon May 22, 2023 09:16 PM UTC by JAMES SAULNIER
      Last Updated: Fri May 26, 2023 09:00 PM UTC
      Owner: nobody

      I'm getting double characters when directly editing a cell (not opening
      the table to make edits). So if I type 0.123 the cell displays 00..112233.
      Backspaces are also doubled so if I backspace the 3 both 3s are deleted.
      Work around is to open the godley table to do edits.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/minsky/tickets/1614/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1614

  • High Performance Coder

    • status: open --> closed
    • assigned_to: High Performance Coder
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB