Linux/GTK: Shift+drag selection works once, then stops (stuck mouse state with tmux + mouse-reporting TUI) #14484
Replies: 5 comments
|
Update: this was not a Ghostty bug — config error on my side. After further investigation, the root cause was my local Ghostty configuration, not a Ghostty defect:
I apologize for the false report. Per the CONTRIBUTING guide, this falls into the "environmental problems / configuration errors" category. Feel free to close this discussion as "not a Ghostty bug". Note: the related macOS report (#10974) may still describe a genuine mouse-state issue — my report was the Linux/GTK variant, but on Linux the cause turned out to be the scrollbar widget, not the mouse-state code. |
|
Follow-up: the missing scrollbar is a real remaining issue. The
So on Linux/GTK, users must choose between having a scrollbar and having Likely mechanism: when a mouse-down lands on the GTK scrollbar widget but the Request: either
Until then, |
|
Can you replicate this with a source built from |
|
Note: tmux is not a factor in this issue. For isolation purposes — this reproduces independently of tmux:
To reproduce without tmux: open a fresh Ghostity window running plain zsh, keep |
|
!denounce meatproxying |
Uh oh!
There was an error while loading. Please reload this page.
Environment
set -g mouse onmouse-shift-capture = never,copy-on-select = clipboardDescription
With a mouse-reporting TUI app running inside tmux, the first Shift+drag text
selection works. After that, Shift+drag stops selecting entirely — the selection
cannot be reactivated. Plain drags (captured by tmux) keep working.
Expected Behavior
Every Shift+drag should start a fresh native text selection.
Actual Behavior
via
copy-on-select).appears stuck.
Steps to Reproduce
Additional Context
mouse state with AI CLI TUIs): Discussion #10974 —
"Mouse text selection becomes erratic in all panes when Claude Code CLI is
running in one pane". This report is the Linux/GTK variant.
mouse-shift-capture = neverwas required to make the first Shift+dragwork at all (with
true, Shift is forwarded to the app via the mouse protocoland no native selection happens).
whether this works on Linux/GTK.
Ghostty Version Info
All reactions