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

Attempting to drag unfocused game window only focuses window, not drag #99937

Closed
Goldenlion5648 opened this issue Dec 2, 2024 · 3 comments
Closed

Comments

@Goldenlion5648
Copy link
Contributor

Tested versions

Godot v4.3.stable.official [77dcf97]

System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (NVIDIA; 31.0.15.5123) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

When starting a game, then un-focusing the game window, and attempting to reposition the window while it is unfocused, the window does not get dragged. It only refocuses, and requires clicking again to start dragging. This is not the case for other windows programs (i.e. file explorer)

Steps to reproduce

  1. Start the engine (or a game)
  2. Click outside the engine or game window so that it is not focused
  3. Attempt to reposition the window by dragging the window's titlebar
  4. (Notice the window does not get dragged only focused)
  5. Upon clicking and dragging again, the window will be able to be repositioned (this step is not wanted, but is the current behavior)

Minimal reproduction project (MRP)

N/A

@tetrapod00
Copy link
Contributor

Very likely a duplicate of #95577, which has an open PR to fix #95606.

Can you try to reproduce this in 4.2.2 (with a fresh project)?

There were also several other issues related to focus on Windows that have been fixed during 4.4. Can you test the last 4.4 dev version and see if this still happens?

@Goldenlion5648
Copy link
Contributor Author

It does not happen in 4.2.2. In 4.4dev5, the issue still occurs

@tetrapod00
Copy link
Contributor

Seems like a duplicate, then. Consolidating into #95577. Thanks for reporting!

@tetrapod00 tetrapod00 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
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

3 participants