Junkui Zhang and Kenny
fbb402ef12
windows: Remove the use of DispatcherQueue and fix FileSaveDialog unresponsive issue ( #17946 )
...
Closes #17069 , closes #12410
With the help of @kennykerr (Creator of C++/WinRT and the crate
`windows-rs`, Engineer on the Windows team at Microsoft) and @riverar
(Windows Development expert), we discovered that this bug only occurs
when an IME with a candidate window, such as Microsoft Pinyin IME, is
active. In this case, the `FileSaveDialog` becomes unresponsive—while
the dialog itself appears to be functioning, it doesn't accept any mouse
or keyboard input.
After a period of debugging and testing, I found that this issue only
arises when using `DispatcherQueue` to dispatch runnables on the UI
thread. After @kennykerr’s further investigation, Kenny identified that
this is a bug with `DispatcherQueue`, and he recommended to avoid using
`DispatcherQueue`. Given the uncertainty about whether Microsoft will
address this bug in the foreseeable future, I have removed the use of
`DispatcherQueue`.
Co-authored-by: Kenny <kenny@kennykerr.ca >
Release Notes:
- N/A
---------
Co-authored-by: Kenny <kenny@kennykerr.ca >
2024-09-17 15:45:08 -07:00
..
2024-09-13 21:12:29 -04:00
2024-09-06 11:58:39 +02:00
2024-09-13 17:44:16 -04:00
2024-09-17 14:13:37 -06:00
2024-09-17 08:47:08 -06:00
2024-09-04 14:32:20 -04:00
2024-09-16 21:55:32 -06:00
2024-09-17 16:28:09 -04:00
2024-09-06 11:58:39 +02:00
2024-09-16 16:20:17 -06:00
2024-09-16 16:20:17 -06:00
2024-08-29 18:09:06 +02:00
2024-09-17 21:50:37 +02:00
2024-07-10 17:36:22 +02:00
2024-09-17 15:08:14 -04:00
2024-09-16 16:20:17 -06:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-14 17:00:37 -04:00
2024-09-16 20:57:58 -06:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-17 14:48:05 +02:00
2024-08-26 11:43:13 -04:00
2024-09-17 15:08:14 -04:00
2024-09-17 12:44:33 -07:00
2024-09-17 08:47:08 -06:00
2024-09-13 14:49:50 -04:00
2024-09-16 17:10:57 -07:00
2024-09-12 14:46:08 -04:00
2024-09-13 13:17:49 -04:00
2024-09-06 11:58:39 +02:00
2024-09-07 02:36:55 +02:00
2024-07-29 14:21:41 +02:00
2024-09-13 13:17:49 -04:00
2024-08-13 23:06:07 -07:00
2024-09-13 13:17:49 -04:00
2024-07-23 15:01:05 -07:00
2024-09-12 14:46:08 -04:00
2024-09-10 13:41:06 -04:00
2024-09-17 15:45:08 -07:00
2024-09-13 17:44:16 -04:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-17 12:44:33 -07:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-17 21:49:12 +02:00
2024-09-16 18:47:25 -04:00
2024-09-10 15:51:01 -04:00
2024-09-16 17:10:57 -07:00
2024-09-17 18:32:22 -04:00
2024-09-06 11:58:39 +02:00
2024-07-26 21:10:56 -04:00
2024-09-11 12:56:39 -04:00
2024-09-16 12:22:39 -06:00
2024-09-16 17:10:57 -07:00
2024-08-28 22:12:49 -07:00
2024-07-15 17:04:15 -06:00
2024-09-17 13:49:52 -04:00
2024-09-17 15:37:56 -07:00
2024-08-13 01:43:19 +02:00
2024-09-05 11:05:57 -04:00
2024-09-13 16:23:55 -04:00
2024-09-16 17:10:57 -07:00
2024-09-16 17:10:57 -07:00
2024-09-17 13:51:11 -04:00
2024-09-17 15:08:14 -04:00
2024-07-13 21:59:14 +03:00
2024-09-17 15:37:56 -07:00
2024-09-16 08:12:24 -03:00
2024-09-16 16:20:17 -06:00
2024-09-17 14:13:37 -06:00
2024-09-13 21:12:29 -04:00
2024-09-13 17:05:34 -03:00
2024-09-06 11:58:39 +02:00
2024-09-17 14:13:37 -06:00
2024-09-17 15:37:56 -07:00
2024-09-17 12:51:31 -04:00
2024-09-10 11:16:27 -04:00
2024-09-06 11:58:39 +02:00
2024-09-16 14:50:30 -07:00
2024-09-07 19:58:28 -04:00
2024-09-17 12:44:33 -07:00
2024-09-06 11:58:39 +02:00
2024-09-16 17:10:57 -07:00
2024-09-06 11:58:39 +02:00
2024-07-22 00:57:34 +02:00
2024-09-06 15:47:17 +02:00
2024-09-06 11:58:39 +02:00
2024-08-20 14:27:33 -04:00
2024-09-06 11:58:39 +02:00
2024-09-13 17:44:16 -04:00
2024-09-06 11:58:39 +02:00
2024-09-17 16:04:33 +02:00
2024-09-06 11:58:39 +02:00
2024-09-17 14:48:05 +02:00
2024-09-06 11:58:39 +02:00
2024-09-16 17:10:57 -07:00
2024-08-21 20:24:35 -04:00
2024-09-17 21:50:37 +02:00
2024-09-17 12:51:31 -04:00
2024-09-06 11:58:39 +02:00
2024-09-17 13:26:34 -04:00
2024-09-07 02:36:55 +02:00
2024-07-24 16:25:52 -04:00
2024-09-06 11:58:39 +02:00
2024-09-13 11:51:14 -07:00
2024-09-17 15:08:14 -04:00
2024-07-08 17:05:30 -04:00
2024-09-13 16:45:16 -04:00
2024-09-17 11:19:07 -04:00
2024-09-06 11:58:39 +02:00
2024-09-16 17:10:57 -07:00
2024-09-16 08:29:46 -04:00
2024-09-16 12:00:49 -04:00
2024-09-16 14:50:30 -07:00
2024-09-17 15:08:14 -04:00
2024-08-26 01:01:46 +03:00