You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mouse is shown when title changes with mouse-hide-while-typing enabled #3345
When setting the option mouse-hide-while-typing to true anytime the title changes for any reason the mouse is shown again.
For example: open Neovim, set the title option with :set title and then open a split to a different file. When switching between these to windows with Ctrl + w + w the mouse is shown again.
I did some digging and found that commenting out thisself.showMouse() call fixes this specific issue.
Activity
mitchellh commentedon Dec 27, 2024
Unconfirmed but seems simple enough to test. Probably a GTK oddity that we can fix.
jnichols0 commentedon Dec 29, 2024
Related issue: #1419, looks like it was resolved acknowledging this issue remains.
lucascool12 commentedon Dec 29, 2024
Ok I did some further debugging, and it seems that gtk (or something somewhere) calls
gtkMouseMotionwith the exact same mouse position.As such the following code fixes this issue. This seems like a pretty good solution I think.
For GTK runtime, don't call cursorPosCallback if cursor pos didn't ac…
fix(macOS): filter phantom mouse events that defeat mouse-hide-while-…
fix(macOS): filter phantom mouse events that defeat mouse-hide-while-…
Sync with upstream ghostty-org/ghostty (7 cmux patches on latest)
fix(macOS): filter phantom mouse events that defeat mouse-hide-while-…
fix(macOS): filter phantom mouse events that defeat mouse-hide-while-…