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

Can't drag items from FileSystem module to floating script window #96454

Closed
PIZZA-ALERT opened this issue Sep 2, 2024 · 1 comment
Closed

Comments

@PIZZA-ALERT
Copy link

PIZZA-ALERT commented Sep 2, 2024

Tested versions

  • Reproducible in Godot 4.3.stable
  • Unsure of other versions

System information

Windows 11 23H2

Issue description

A quick way to reference an item from the FileSystem in a script is to click+drag it from the FileSystem module into the script editor. Holding Ctrl during this produces a pre-formatted result as well. It's an awesome feature.

Unfortunately, if the script editor has been set to floating by clicking the "make the script editor floating" button at the top-right of the script editor, this click+drag function (with or without Ctrl) does not work. It seems to not even be able to register in the 2nd window that you're trying to drag something in.
image

I have multiple monitors, and using the floating script editor is a great way for me to see everything at once. Having the functionality in either floating or not floating should be a thing!

Steps to reproduce

  1. Open a project with multiple scenes, files, etc. ("items") in the res:// folder.
  2. View a script in the Script Editor screen.
  3. Locate an item in the FileSystem module, typically either found on the lower-left or bottom of your Godot window.
    image
  4. Click-and-drag this item into the script, with or without Ctrl. Observe that something appeared in your script and how seamless that was.
    image
  5. Click the "Make the script editor floating" button at the top-right of the script editor. A second window of the script editor should appear.
    image
  6. Somehow make it so you can see both the original window and the new script window (easier with multiple monitors, but splitting down the middle of a 16:9 monitor should be fine).
  7. Repeat steps 3 and 4, but into the script editor 2nd window. Or at least, attempt to. Notice how it doesn't work.

Minimal reproduction project (MRP)

Basic process, any project will do.

@AThousandShips
Copy link
Member

Thank you for your report, this has already been fixed in the latest version and a fix will be added to 4.3.1, to confirm you can test using 4.4.dev1

Consolidating in the original report for the same problem:

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 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

2 participants