Skip to content

Script editor diagnostic tooltip text can be selected but not copied. #124053

Description

@shiva-kar

Tested versions

  • Reproducible in Godot 4.8.dev (current master)/ previous dev releases

System information

Windows

Issue description

The diagnostic text displayed in the script editor hover tooltip can currently be selected with the mouse.

This appears to be unintended behavior. As discussed in [#123310](#123310 (review)), the diagnostic text in the tooltip should not be selectable. Since the tooltips does not work with shortcuts like Ctrl+C that closes the tooltip and there currently isn't a menu, selecting the text is not expected to be part of the interface.

Expected behavior

The diagnostic text should not be selectable. The tooltip should only provide the diagnostic information.

Screen.Recording.2026-10-01.105849.mp4

Steps to reproduce

  1. Open a GDScript file containing a warning or error.
  2. Hover over the warning or error to display the diagnostic tooltip.
  3. Click and drag across the diagnostic text.
  4. The text can be selected.

Minimal reproduction project (MRP)

N/A

The issue can be reproduced in the script editor without a project-specific setup.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions