godotengine / godotengine/godot

Can't undo immediately after creating if CreateDialog was on another screen

Open
#115,341 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug topic:editor topic:input
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.5.1
4.6

### System information

W10

### Issue description

https://github.com/user-attachments/assets/86817d16-fa1c-480a-86b7-323917d875a0

Looks like mouse button is not released properly? Clicking anywhere fixes it. And does not happen if the dialog is on the same screen as the editor.

### Steps to reproduce

0. Have 2+ screens
1. Press Ctrl+A to open create dialog for node
2. Make sure it's on a different screen than the editor
3. Double click a node
4. Press Ctrl+Z
5. "Can't undo while mouse buttons are pressed."

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Godot editor workflow with two screens: open CreateDialog using Ctrl+A, place it on another screen, double-click a node, and press Ctrl+Z. Trace the editor's mouse-button state handling around CreateDialog and undo; done means undo works immediately without clicking elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, godot
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.