Skip to content

Conversation

Psycast
Copy link
Collaborator

@Psycast Psycast commented Sep 2, 2025

DRAFT:

image

Adds a second button next to the find button to directly select a file, getting it's relative path back.

Draft due to issue when the Open File Dialog window causes the button / GuiManager to not stop capturing mouse input and re-opening the dialog window when closed via "Cancel", this can be avoid by calling GuiManager::stopCapturingMouse(GuiManager::getMouseCapture()); directly after the Dialog window is used to called, but might not be the best approach.

This fixes #201.

- Paths are relative from simfile directory.
- Add new folder icon for button.

HACK: Stop Capture Mouse is directly called to avoid a softlock when clicking cancel in the file dialog window, causing it to re-open when AV is clicked again.

This is caused by the File Dialog window capturing the Mouse Release event and the button not knowing it was released.
@Psycast Psycast changed the base branch from release to beta September 2, 2025 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant