Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Skia macOS picker implementations to avoid calling NSOpenPanel.runModal / NSSavePanel.runModal reentrantly from within pointer/click handling, which can crash input processing and corrupt native return state.
Changes:
- Always dispatch file/folder/save picker native
runModalcalls viaNativeDispatcher.Main.Enqueue(even when already on the main thread). - Normalize the async pattern across macOS picker extensions using
TaskCompletionSource+ cancellation registration. - Add inline rationale/comments referencing the reentrancy crash scenario.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Uno.UI.Runtime.Skia.MacOS/Storage/Pickers/MacOSFileOpenPickerExtension.cs | Always enqueues native open-panel calls (single + multiple) to avoid reentrant runModal during pointer handling. |
| src/Uno.UI.Runtime.Skia.MacOS/Storage/Pickers/MacOSFileSavePickerExtension.cs | Always enqueues native save-panel call to avoid reentrant runModal during pointer handling. |
| src/Uno.UI.Runtime.Skia.MacOS/Storage/Pickers/MacOSFolderPickerExtension.cs | Always enqueues native folder-picker open-panel call to avoid reentrant runModal during pointer handling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
19ec8ed to
5bd72f7
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23117/wasm-skia-net9/index.html |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23117/wasm-skia-net9/index.html |
|
@morning4coffe-dev can you validate and approve please? |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23117/wasm-skia-net9/index.html |
GitHub Issue: closes #23071
PR Type:
What is the current behavior? 🤔
What is the new behavior? 🚀
PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️