Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression(gtk): Pressing Ctrl when mouse is over a hyperlink does not detect the link until cursor is moved #5191

Closed
gpanders opened this issue Jan 17, 2025 · 3 comments · Fixed by #5420
Labels
Milestone

Comments

@gpanders
Copy link
Member

gpanders commented Jan 17, 2025

Same as #2114, but GTK only. That issue was resolved but has since regressed.

Bisected to ed81b62.

Steps to reproduce

  1. echo 'https://example.com'
  2. Hover the mouse over the https://example.com text and press and hold the Control key.

Expected behavior

The cursor should immediately change to the "pointer" shape, the link should be highlighted, and the URL preview should appear in the lower left corner of the window.

Actual behavior

Nothing happens until the mouse is moved by at least one cell (at which point all of the above does happen).

@edmondop
Copy link

I have realized in my case that without tmux I only need control, and within tmux I need shift+control. I have shell-integration set to detect, so I would have expected the same behavior

Can anyone point me to the right docs ?

@edmondop
Copy link

I have realized in my case that without tmux I only need control, and within tmux I need shift+control. I have shell-integration set to detect, so I would have expected the same behavior

Can anyone point me to the right docs ?

Found this #1040

@mitchellh worth maybe adding something to the readme?

@gpanders
Copy link
Member Author

@edmondop That's unrelated to this issue. Please open a discussion if you have usage questions or want to suggest other changes.

@mitchellh mitchellh added this to the 1.1.0 milestone Jan 23, 2025
mitchellh added a commit that referenced this issue Jan 29, 2025

Verified

This commit was signed with the committer’s verified signature.
mitchellh Mitchell Hashimoto
Fixes #5191
mitchellh added a commit that referenced this issue Jan 29, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…5420)

Fixes #5191
liby pushed a commit to liby/ghostty that referenced this issue Feb 11, 2025

Verified

This commit was signed with the committer’s verified signature.
liby Bryan Lee
rockorager pushed a commit to rockorager/ghostty that referenced this issue Feb 12, 2025

Verified

This commit was signed with the committer’s verified signature.
rockorager Tim Culverhouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants