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

Context Menu stops capturing mouse input after some unknown trigger #61758

Closed
cridenour opened this issue Jun 6, 2022 · 8 comments
Closed

Context Menu stops capturing mouse input after some unknown trigger #61758

cridenour opened this issue Jun 6, 2022 · 8 comments

Comments

@cridenour
Copy link
Contributor

Godot version

4.0-alpha9 (however others have reported since alpha7)

System information

Windows 10

Issue description

At some point in a work session, the editor will spawn context menus and dropdown menus that do not respond to mouse input. Keyboard navigation continues to work. Restarting the editor / reloading the current project will fix.

Steps to reproduce

  1. Use the editor using alpha9 (potentially since alpha7). Potential triggers could be other pop ups, editing text fields, etc.
  2. At some point, the context menus, dropdowns and even the Collision Mask component will stop capturing mouse clicks.

Minimal reproduction project

No response

@KoBeWi
Copy link
Member

KoBeWi commented Jun 6, 2022

I noticed that too, but it's quite rare. Happens after using the editor for some time.

@nijbuu
Copy link

nijbuu commented Jun 21, 2022

Noticed this too after working with SkeletonIK. Also after waking up from window hibernate.

@RedMser
Copy link
Contributor

RedMser commented Aug 20, 2022

Still present in latest master. Workaround is to enable single-window mode, for anyone who's having this issue.

I also don't need to restart Godot to fix it, since most of the time it fixes itself by closing and re-opening the same menu (this at least works for the "select resource" dropdown menu, or the "scene/project" menu at the top).

@KoBeWi
Copy link
Member

KoBeWi commented Dec 19, 2022

This is still happening, or at least partially. Sometimes a popup is unresponsive, but it works again when you close and reopen it. It's quite rare and mostly harmless.

@Zylann
Copy link
Contributor

Zylann commented Mar 24, 2023

I am porting my plugin to Godot 4.0.1, and I noticed a similar issue after doing some specific actions.

I have an importer dialog, which popups some child dialogs to let the user pick images, then the user can click "OK", which triggers a filesystem scan() to trigger reimport of generated resources, then another window pops up saying "Complete!".
After this happens, ALL popup menus of the editor stopped responding to mouse clicks. They popup, they hover, but clicking does nothing, and rather the event goes to what's behind them.

The issue mysteriously goes away after doing the same process again, but it's quite random.
I could not see any error occur in the editor output.

It seems the issue already starts happening once I opened a child dialog a few times from an existing dialog.
Those dialogs also have a tendency to randomly be un-movable and un-resizable.

@someThrowAway1900
Copy link

someThrowAway1900 commented May 18, 2023

Godot_v4.0.3-rc2_win64.exe

I don't know if this issue is related to the popup size/location with relation to the size/location of the godot main window? The videos below were taken on a secondary monitor at 1920x1080. I normally have godot running on my main monitor (3440x1440), but only on the right half of the screen. The issue happens often enough that I switched to single window mode instead.

In the below videos (with single window mode off), I have made the godot window as small as possible, and moved godot to each corner of the screen.

  1. Issue does not happen when godot is at the top left of the monitor, but does at the bottom left
    https://github.com/godotengine/godot/assets/132544925/9e719372-f4cb-4a21-a401-36e354a38134

  2. Bottom right of screen (issue)
    https://github.com/godotengine/godot/assets/132544925/2e51fc1b-5b86-4ce7-8d35-0bd5d2322662

  3. Top right of screen (issue)
    https://github.com/godotengine/godot/assets/132544925/f6756440-7a32-48b4-bd9f-2538e0bd4f24

  4. Top right (issue) and then back to top left (no issue)
    https://github.com/godotengine/godot/assets/132544925/5b975a18-9db4-487d-8c69-3f92c3015e19

@akien-mga akien-mga modified the milestones: 4.1, 4.2 Jun 22, 2023
@phkeese
Copy link

phkeese commented Jul 21, 2023

I have the same problem in v4.0.3.stable.mono.official [5222a99]

@KoBeWi
Copy link
Member

KoBeWi commented Nov 14, 2023

I haven't seen this bug for a long time, probably fixed in 4.2.

@KoBeWi KoBeWi closed this as completed Nov 14, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in 4.x Priority Issues Nov 14, 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

10 participants