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

Godot 4 Mouse get locked after clicking an editable field in the editor #72187

Closed
Reports1874 opened this issue Jan 27, 2023 · 7 comments
Closed

Comments

@Reports1874
Copy link

Godot version

4.0.beta16

System information

Debian GNU/Linux 11 (bullseye) x86_64

Issue description

The issue seems a bit random sometimes, but I have found that whenever I try to edit a field in the editor (position, scale, etc) after editing another one, the mouse get locked and I can't do anything until I press ESC or I click again.

Currently using beta16, but noticed it on earlier betas as well.

Steps to reproduce

The easiest way to reproduce the issue, but not the only one:
Edit one field, press ESC and click another field.

Short video demostration (24s):
https://youtu.be/6iNe30KnLhQ

Minimal reproduction project

N/A

@Sauermann
Copy link
Contributor

Unable to replicate this on Windows.

The edited EditorSpinSlider doesn't receive the Left-MouseButton-Up event and so it assumes that mouse movements are meant to start dragging, so that MOUSE_MODE_CAPTURED is activated in EditorSpinSlider::gui_input.
Bisecting shows that this got introduced in #70052.

@ghost
Copy link

ghost commented Jan 29, 2023

Hi, I can confirm this. I'm using Beta 16 on kubuntu 22.04.

In my case I had opened a PBR material. Had just changed the albedo where I added a noise texture and went to expand the emission section. Instead of expanding the emission it expanded Anisotropy. From then on all left clicks, even on the main menu items, kept flipping Anisotropy section. I got left click control back when I did a Projects save all with ctrl shift s.

It also appears to be random, I can't yet make it happen again.

@Calinou
Copy link
Member

Calinou commented Jan 30, 2023

Related to #72012.

@Reports1874
Copy link
Author

@Juuliuus It may got fixed in beta 17, I can't reproduce the issue anymore. Can you confirm?

@ghost
Copy link

ghost commented Feb 4, 2023

@Reports1874 I am also on 17 now, I reproduced my steps as best I could from my description. I also tried a variety of other things and I can not make it happen again.

@YuriSizov
Copy link
Contributor

Bisecting shows that this got introduced in #70052.

fyi @bruvzg

@bruvzg
Copy link
Member

bruvzg commented Feb 5, 2023

This should be already fixed.

@github-project-automation github-project-automation bot moved this from To Assess to Done in 4.x Priority Issues Feb 5, 2023
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

6 participants