Repository navigation
Selecting text with mouse on the left pane actually selects text on the right pane #14901
Issue DescriptionWhen I have two or more panes open, Ghostty intermittently selects text from the wrong pane when I'm using click-dragging with my mouse to select text. I've attached a video of what happens. I used the latest Ghostty 1.4.0 release to repro, but it happened already on Ghostty 1.3.0 and 1.3.1. I was originally hopeful that issue #11319 would've fixed this, but alas, it didn't. ghostty_pane_text_select.mp4Expected BehaviorI'd expect text to be selected in the active (f.ex. left pane, in my example). Actual BehaviorText is sometimes (seemingly at random?) selected from the right pane. (Right pane in this example, but it can happen the other way round too, and it happens with more complex pane setups.) Reproduction Steps
Re: step 3. Speculating a bit.. I think it takes some fast clicking on the left pane to trigger this, so most likely at double click on the left pane. Or maybe even triple clicking. If I slow down and intentionally click only once to activate the pane, and then pause, and start selecting text, I can't seem to trigger the bug. FWIW, I used this prompt: Ghostty LogsNo response Ghostty VersionOS Version InformationmacOS 26.7.1 Minimal Ghostty Configuration<happens with a completely empty config file>Additional Relevant ConfigurationNo response I acknowledge that:
|
Replies: 2 comments
|
BTW I have a more exact repro:
I'll try to dig into the source code to understand why this happens. Seems like a clear bug. |
You fixed it yourself: #15190