Skip to content

Conversation

@chipgw
Copy link

@chipgw chipgw commented Dec 24, 2025

Holding control while dragging text to copy it was being blocked by link handling stopping the propogation of the mouse event; solution: don't handle link clicks when selection_drag_state is Dragging.

Issue found & fix tested on Linux (since the modifier key on mac is apparently different, the issue likely doesn't occur there, but I'm assuming it does apply to Windows).

I didn't see an issue open for it, and since I fixed it myself I'm unsure whether it needs one or if the PR is enough.

Release Notes:

  • Fix ctrl+drag/drop to duplicate selected text on Linux & Windows

Was being blocked by link handling; solution: don't handle link clicks
when selection_drag_state is Dragging
@cla-bot
Copy link

cla-bot bot commented Dec 24, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @chipgw on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@chipgw
Copy link
Author

chipgw commented Dec 24, 2025

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 24, 2025
@cla-bot
Copy link

cla-bot bot commented Dec 24, 2025

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant