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

Fails to use input method when renaming nodes #60372

Closed
timothyqiu opened this issue Apr 19, 2022 · 7 comments
Closed

Fails to use input method when renaming nodes #60372

timothyqiu opened this issue Apr 19, 2022 · 7 comments

Comments

@timothyqiu
Copy link
Member

timothyqiu commented Apr 19, 2022

Godot version

1d21779

System information

Arch Linux, GLES 3, Mesa Intel(R) UHD Graphics (CML GT2)

Busquad edit: also presented on Windows (#62476)

Issue description

This happens since alpha4. Cannot reproduce on 3.x.

When renaming nodes in the Scene dock:

  • Sometimes, I can't even switch input method on (Ctrl-Space produces a space).
  • When input method is on:
    • The IME window sometimes flickers: Everytime I press a key, it shows for a brief moment and seems immediately canceled.
    • The IME window sometimes don't appear at all. All key presses goes directly into the LineEdit.

IME works fine in other LineEdits in the editor interface. Renaming animation/library in the Animation Library editor have the same issue. Maybe it's a Tree issue?

Steps to reproduce

  1. Create a Node.
  2. Double click to rename it.
  3. Try to switch IME on (e.g. CTRL-SPACE for fcitx5).
  4. Type something when IME is on.

Minimal reproduction project

No response

@timothyqiu timothyqiu added this to the 4.0 milestone Apr 19, 2022
@timothyqiu
Copy link
Member Author

Bisected and this behavior is introduced since #58490

CC @bruvzg

@bruvzg bruvzg self-assigned this Apr 19, 2022
@KoBeWi
Copy link
Member

KoBeWi commented Jun 20, 2022

Not sure if related, but #58490 still has unresolved review comment that is still relevant: #58490 (review)

@timothyqiu
Copy link
Member Author

I tried the fix that review comment suggests, this issue is still there.

BTW, I also found that the issue is not reproducible when using single window mode.

@Rindbee
Copy link
Contributor

Rindbee commented Jun 28, 2022

Presumably I enabled Share the same input method among all applications in IBus Preferences, so this bug affects me less.

1

For me, it behaves like the picture above most of the time.

After the problem occurs, click on an external program, and then continue, it is normal.

@akien-mga
Copy link
Member

Is this still reproducible in the latest 4.0 betas?

@timothyqiu
Copy link
Member Author

Still reproducible in 4.0.beta11.

@bruvzg
Copy link
Member

bruvzg commented Feb 22, 2023

Should be fixed by #70052

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

No branches or pull requests

5 participants