marimo icon indicating copy to clipboard operation
marimo copied to clipboard

cursor location sometimes locked and not consistent with display

Open ggggggggg opened this issue 1 year ago • 2 comments

Describe the bug

I used the mouse to click on a place I wanted to type, then typed and the cursor jumped to a different location and entered my character. I then deleted that, click the mouse to move where I want to type, and typed again. The cursor jumped back. This state persisted until I did "restart kernel".

Environment

{ "marimo": "0.7.17", "OS": "Windows", "OS Version": "10", "Processor": "Intel64 Family 6 Model 85 Stepping 4, GenuineIntel", "Python Version": "3.10.11", "Binaries": { "Browser": "126.0.6478.127", "Node": "--" }, "Requirements": { "click": "8.1.7", "importlib-resources": "missing", "jedi": "0.19.0", "markdown": "3.6", "pymdown-extensions": "10.8.1", "pygments": "2.16.1", "tomlkit": "0.12.5", "uvicorn": "0.30.1", "starlette": "0.37.2", "websockets": "12.0", "typing-extensions": "4.7.1", "ruff": "0.5.5" } }

Code to reproduce

I haven't been able to consistently reproduce it, but it has happened to me multiple times across a few days.

ggggggggg avatar Aug 06 '24 19:08 ggggggggg

Thanks. We've heard this from several users now. We'll try to repro and fix.

akshayka avatar Aug 06 '24 19:08 akshayka

An example of this issue raised by another user on Discord:

"Got an error at the end of a notebook, when I start typing, it somehow jumps back a character or two to inside the previous )"' character"

https://github.com/user-attachments/assets/3f6e442c-3e78-4868-849c-1f9024ffe7c9

akshayka avatar Aug 06 '24 19:08 akshayka

@ggggggggg is this still happening. we've had many upgrades to the underlying library so it may have been fixed

mscolnick avatar Feb 13 '25 22:02 mscolnick

I have not seen this in quite a while. It may well be fixed. On Thu, Feb 13, 2025 at 3:17 PM Myles Scolnick @.***> wrote:

@ggggggggg https://github.com/ggggggggg is this still happening. we've had many upgrades to the underlying library so it may have been fixed

— Reply to this email directly, view it on GitHub https://github.com/marimo-team/marimo/issues/1964#issuecomment-2657825377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHTXAKKNTMJHOMO6DBBLJL2PUKWJAVCNFSM6AAAAABMC6FSTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXHAZDKMZXG4 . You are receiving this because you were mentioned.Message ID: @.***> [image: mscolnick]mscolnick left a comment (marimo-team/marimo#1964) https://github.com/marimo-team/marimo/issues/1964#issuecomment-2657825377

@ggggggggg https://github.com/ggggggggg is this still happening. we've had many upgrades to the underlying library so it may have been fixed

— Reply to this email directly, view it on GitHub https://github.com/marimo-team/marimo/issues/1964#issuecomment-2657825377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHTXAKKNTMJHOMO6DBBLJL2PUKWJAVCNFSM6AAAAABMC6FSTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXHAZDKMZXG4 . You are receiving this because you were mentioned.Message ID: @.***>

ggggggggg avatar Feb 13 '25 23:02 ggggggggg

Going to close, but we can always re-open if it surfaces.

mscolnick avatar Feb 14 '25 00:02 mscolnick