Implement macOS cold start fix in GUI_App to store URL for post-initi… #526
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…alization handling, ensuring consistent behavior with Windows.
This pull request addresses an issue with opening URLs on macOS during a cold start in the
GUI_Appclass. The update ensures that URLs opened before the application is fully initialized are handled consistently with Windows, preventing the model from being cleared unintentionally.macOS cold start handling improvements:
GUI_App::MacOpenURLinsrc/slic3r/GUI/GUI_App.cppto store the URL ininit_params->input_filesif the application is not yet post-initialized, ensuring the model is not cleared and the URL is properly processed after initialization. This aligns macOS behavior with Windows and prevents loss of the model to be loaded from the URL.