Hello! When attempting to drag a plugin widget, if you call :Destroy()
in a :WindowFocusReleased()
connection, studio crashes.
Expected Behavior
Successful window drag, as window focus is not technically lost (that I know of, unless the window’s contents are what is being looked for?).
Actual Behavior:
Studio crashes upon dragging a plugin widget and calling :Destroy()
on said widget simultaneously in a :WindowFocusReleased()
event connection. Possibly through other means, but this is what I’ve come across thus far.
Issue Details
Issue Area: Studio
Issue Relating to: Plugins
Impact: Moderate (specific action required to trigger)
Frequency: Specific Action
Date First Experienced: November 14th, 2023
Date Last Experienced: November 14th, 2023
Footage
The tested plugin used was the following, setup for this bug’s replication:
PluginBugTest.rbxm (68.4 KB)
All that is required to replicate this issue is trigger the widget by adding a string
attribute to any instance & setting the value field to /enums
. Then simply drag the widget.
Edit: Missed a piece of crucial code to this bug & reuploaded the file, my apologies. To confirm this is the issue, removing the WindowFocusReleased()
connection at line 191 stops this from occurring.