p9p + OSX + Bluetooth mouse - 9term window scrolling out of control

342 views
Skip to first unread message

Steve Simon

unread,
Aug 25, 2026, 9:57:25 AMAug 25
to plan9port-dev

Hi,

I have a USB mouse attached to OSX (a magic mouse or a 3rd party Beatus mouse),
all works well but if I leave a 9term window too quickly after typing a command it scolls continuously, selecting old window contents.

The fix seems to be to return to the scolling window, and hit return several times and click the mouse at the prompt.

I assume it misses the mouse up event before the mouse leaves the window, and a fix might be forcing a mouse-up when the cursor leaves a window (does that break something else?).

Interestingly this never happens with a wired mouse.

Anyone else seen this, and more importantly, anyone have any thoughts on where to dig around to try and fix it?

-Steve

Russ Cox

unread,
Aug 26, 2026, 7:20:55 AMAug 26
to quin...@gmail.com, plan9port-dev
Hi Steve,

I asked Claude to look for your bug, and it suggested a fix, which I have applied and pushed to GitHub. It seems plausible at least and doesn't seem to have broken anything. Please try it and see if it fixes the behavior you were seeing.


Best,
Russ


--

---
You received this message because you are subscribed to the Google Groups "plan9port-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plan9port-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/plan9port-dev/e133fd61-1678-44a0-a4a6-a568ddc63c5an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages