CoreTextServicesManager.GetForCurrentView() throws exceotion in WinUI3 for Desktop preview 4
See original GitHub issueWhen running the following code
var manager = CoreTextServicesManager.GetForCurrentView();
The following exception is thrown
System.Runtime.InteropServices.COMException: ‘The application called an interface that was marshalled for a different thread. (0x8001010E (RPC_E_WRONG_THREAD))’
The calling thread is the ui thread. Looks like a bug.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:16 (3 by maintainers)
Top Results From Across the Web
NavigationView gives an exception when it's the only thing ...
I'm using the new Project Reunion 0.5/WinUI3 Preview 5. And after my upgrade from Preview 4, I started to get this error: Exception...
Read more >Windows UI Library 3 - Project Reunion 0.5 Preview ...
This preview of WinUI 3 works with both desktop/Win32 and UWP apps, and includes Visual Studio project templates to help get started building ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The exception is no longer thrown, but the TextUpdating event is not raised for English keyboard. is this expected?
Ah, thanks @arivoir – turns out this is only working in insider Windows builds, unfortunately all the shipping versions of Windows are failing in the way you’ve mentioned. We’ll add this to the list. Sorry for the oversight and thanks for letting us know.