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

Select all text in LineEdit draws selection rect bigger then LineEdit #104257

Closed
Giganzo opened this issue Mar 17, 2025 · 1 comment · Fixed by #104356
Closed

Select all text in LineEdit draws selection rect bigger then LineEdit #104257

Giganzo opened this issue Mar 17, 2025 · 1 comment · Fixed by #104356
Milestone

Comments

@Giganzo
Copy link
Contributor

Giganzo commented Mar 17, 2025

Tested versions

Godot v4.4.stable

System information

Fedora Linux 41 (KDE Plasma) on Wayland - X11 display driver, Multi-window

Issue description

Using Ctrl + A to select text in a LineEdit with text longer then the LineEdit, that is scrolled to not be at the end or start of the line, makes the selection rect be bigger then the LineEdit.

Image

When at the start of the line:

Image

Steps to reproduce

Write some long text in the Scene tree filter

Long text A.. Long text B.. Long text C.. Long text D..

Move caret so text is not at the start or end.
Ctrl + A to select text

Minimal reproduction project (MRP)

N/A

@Aryombre
Copy link
Contributor

Can confirm on current 4.5 build, but I think the issue is related to the size of the container that contains LineEdit.
Here is a gif
Image

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

Successfully merging a pull request may close this issue.

4 participants