Skip to content

Duplicate OpenFileDialogs When Opening Files From Script Editor #2

Description

@Genpretz

Duplicate OpenFileDialog Windows

Problem

  • Sometimes when opening a lua script using the Script Editor, if you select the file and choose to open it, the file will load and at the same time a second OpenFileDialog window will pop up despite you not clicking on the open button or being anywhere near it.

Probable Cause?

  • It seems like if you use the Open File button in the lower right corner of the OpenFileDialog window that this issue doesn't occur. It only seems to occur if you double click on the filename in the file explorer part of the window. It seems like the speed at which you click on the file has an effect and the faster you double click the more likely it is for this issue to occur.

Potential Fix?

  • I don't understand why this would bring up another OpenFileDialog? I would maybe expect for the file to open in another window/program because the speed at which it was clicked allowed it to open in the ScriptEditor and also in its default program as defined by the file type, but instead it loads like it should but just also opens another OpenFileDialog for the Script Editor?

(I've personally been aware of it this issue for a while now. I got no idea so far about what to do about this. Luckily it's pretty insignificant so I'll try to get around to figuring it out sometime.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions