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

Window cannot be closed after user clicking on its content #57437

Closed
Chaosus opened this issue Jan 30, 2022 · 4 comments
Closed

Window cannot be closed after user clicking on its content #57437

Chaosus opened this issue Jan 30, 2022 · 4 comments

Comments

@Chaosus
Copy link
Member

Chaosus commented Jan 30, 2022

Godot version

78e3e65

System information

Windows 10

Issue description

window_bug

I think it may be reported but cannot find where.

Steps to reproduce

  • Open any sub-window in the editor (Single Window Mode should be disabled)
  • Click on the content
  • Note that it cannot be closed after that

Minimal reproduction project

No need - too easy to reproduce

@bruvzg
Copy link
Member

bruvzg commented Jan 31, 2022

I can't reproduce it, child windows seems to be closing fine (Windows 11, 21H2).

It might depend on window open animation speed. Probably WINDOW_EVENT_CLOSE_REQUEST sent from WM_CLOSE is not processed correctly, but I do not have any idea why this can happen.

@Calinou
Copy link
Member

Calinou commented Jan 31, 2022

It might depend on window open animation speed. Probably WINDOW_EVENT_CLOSE_REQUEST sent from WM_CLOSE is not processed correctly, but I do not have any idea why this can happen.

If anyone wants to test, window open/close animations can be disabled in Windows' accessibility settings.

@Chaosus Chaosus closed this as completed Feb 26, 2022
@Chaosus Chaosus reopened this Feb 26, 2022
@Chaosus
Copy link
Member Author

Chaosus commented Feb 26, 2022

After #58490 it still happening but only after double-clicking on control inside window

@akien-mga
Copy link
Member

I'm pretty sure this was fixed a while ago.

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

No branches or pull requests

4 participants