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

Double/triple click in LineEdit not working as expected #46259

Closed
asmaloney opened this issue Feb 20, 2021 · 1 comment · Fixed by #46524
Closed

Double/triple click in LineEdit not working as expected #46259

asmaloney opened this issue Feb 20, 2021 · 1 comment · Fixed by #46524

Comments

@asmaloney
Copy link
Contributor

Godot version:

3.2 branch (f15f5b4)

OS/device including version:

macOS 10.14.6

Issue description:

When double-clicking in a LineEdit, I would expect it to select by word. Instead it selects the entire contents of the LineEdit. I would expect triple click to select the entire contents. (This is the way applications on macOS generally work as well.)

TextEdit and the script editor work properly - line edits are not consistent with them which is confusing (and frustrating).

Steps to reproduce:

  1. Select any node with an exported var that shows up as a line edit in the inspector.
  2. Change the contents to "Foo bar blat".
  3. Double-click on "bar" == the entire contents are selected instead of just "bar".
@Calinou
Copy link
Member

Calinou commented Feb 20, 2021

I can confirm this on commit ecf432a (3.2 branch) on Linux.

Minimal reproduction project: test_line_edit.zip

simplescreenrecorder-2021-02-20_19.03.33.mp4

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.

3 participants