godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.37k stars 19.23k forks source link

Accidental frame selection when opening a spritesheet #88442

Open cristicismas opened 4 months ago

cristicismas commented 4 months ago

Tested versions

System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.5123) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

The problem is that one of the frames in a spritesheet is automatically selected when opening the respective spritesheet file using double-click, when trying to set the frames in an AnimatedSprite2D.

image image image

The selected frame is the one that was under the cursor when I double-clicked. As you can see in the last screenshot, a frame is already selected without any input from me, other than the initial double-click on the file that I wanted to open.

I expect the file to simply open without selecting any frame for me, just like when you open the spritesheet using the "open" button, which works fine.

Steps to reproduce

Minimal reproduction project (MRP)

Godot Spritesheet Bug Report.zip

Janosoft commented 3 months ago

Same here... By now I had to do a single click on the file and then a click on open... Better than deselect the frame under the cursor