Skip to content

Using mouse to highlight URL results in clicking the link when mouse is released. #516

@Donald42

Description

@Donald42

Current behavior

  1. Open the terminal
  2. Cat a file that contains a URL so it appears as a clickable link
  3. Highlight the URL using a click-drag approach (i.e., start just past the right side of the URL, click, then begin highlighting to the left)
  4. Note that the cursor remains a "finger" the entire time.
  5. When you reach the beginning of the URL, release the mouse button
  6. The link will activate and open in the default browser.

Expected behavior

  1. Open the terminal
  2. Cat a file that contains a URL so it appears as a clickable link
  3. Highlight the URL using a click-drag approach (i.e., start just past the right side of the URL, click, then begin highlighting to the left)
  4. The cursor should change to an I-beam selector
  5. When you reach the beginning of the URL, release the mouse button
  6. The URL is highlighted, but no click event is processed

The current behavior can be avoided by:

  1. Highlighting past the left border of the window so the cursor turns back into an arrow.
  2. Initially positioning the mouse cursor to the right of the URL link and triple-clicking to select the entire line.

Ideally, there would also be a simple setting to completely disable clickable URLs, as mentioned in issue #463, but using click-drag selection should still prevent a click event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions