Todd Volkert
835c7fab45
Fix FocusManager constructor ( #75894 )
...
The FocusManager constructor was registering global event handlers
on the shared RawKeyboard instance and the global pointer router.
This posed a few problems: (1) there was no way to unregister these
handlers, and (2) instantiating a second FocusManager would overwrite
the existing focus manager's RawKeyboard handler. This was manifesting
in unexpected ways, such as the fact that constructing a second
BuildOwner (for a parallel tree, for instance) was obliterating the
event handler for the main BuildOwner's focus manager, thus messing
with focus.
This change separates those global event registrations into a
dedicated method, registerGlobalHandlers(), and overrides dispose()
to properly unregister those handlers.
2021-02-12 17:19:20 -08:00
..
2021-01-25 20:52:30 -08:00
2020-12-23 17:14:04 -08:00
2021-01-27 14:54:46 -08:00
2020-12-23 17:44:02 -08:00
2021-01-05 12:24:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-05 16:02:44 -06:00
2020-12-23 17:39:03 -08:00
2021-01-23 10:02:30 +08:00
2020-12-23 17:44:02 -08:00
2020-11-02 13:28:05 -08:00
2021-01-05 12:24:03 -08:00
2021-01-08 15:44:47 -08:00
2021-02-10 16:03:48 -08:00
2020-12-16 09:33:03 -08:00
2021-01-20 15:34:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-22 21:44:13 -08:00
2021-01-20 16:29:01 -08:00
2020-12-23 17:44:02 -08:00
2021-02-10 16:01:06 -08:00
2020-12-02 11:42:38 -08:00
2021-02-01 14:41:04 -08:00
2020-12-16 10:57:56 -08:00
2021-02-12 17:19:20 -08:00
2021-02-12 14:46:39 -08:00
2021-01-27 15:58:08 -08:00
2021-01-15 17:04:03 -08:00
2021-02-12 17:19:20 -08:00
2021-02-03 16:11:02 -08:00
2021-01-05 12:24:03 -08:00
2021-02-04 10:36:03 -08:00
2021-01-05 12:24:03 -08:00
2020-10-27 06:57:03 -07:00
2020-10-30 15:43:03 -07:00
2021-02-03 15:11:05 -08:00
2021-01-14 17:16:04 -08:00
2021-01-05 12:24:03 -08:00
2020-12-22 10:14:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-20 11:57:37 -08:00
2021-01-25 18:59:05 -08:00
2021-01-05 12:24:03 -08:00
2021-01-25 15:04:47 -08:00
2021-01-25 11:34:04 -08:00
2021-01-06 16:15:05 -08:00
2021-01-05 12:24:03 -08:00
2021-02-10 00:56:02 -08:00
2021-02-10 01:01:04 -08:00
2020-12-22 10:14:03 -08:00
2021-01-05 12:24:03 -08:00
2020-11-20 17:24:58 -08:00
2021-01-05 12:24:03 -08:00
2020-12-23 17:39:03 -08:00
2021-01-05 12:24:03 -08:00
2020-11-02 13:28:05 -08:00
2021-01-05 12:24:03 -08:00
2020-11-02 13:28:05 -08:00
2020-12-11 10:23:23 -08:00
2020-11-19 17:48:04 -08:00
2021-01-05 12:24:03 -08:00
2021-01-27 21:39:06 -08:00
2020-12-31 10:00:55 +08:00
2020-12-11 13:39:36 -08:00
2020-11-04 16:00:28 -08:00
2021-01-22 16:20:44 -08:00
2020-11-09 15:26:29 -08:00
2021-01-05 12:24:03 -08:00
2021-01-07 15:44:13 -08:00
2020-12-16 10:57:56 -08:00
2021-01-05 12:24:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-26 17:18:40 -08:00
2021-01-22 16:34:06 -08:00
2021-01-19 15:44:03 -08:00
2020-11-02 13:28:05 -08:00
2021-01-19 15:45:36 -08:00
2020-12-23 17:39:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-05 12:24:03 -08:00
2021-01-05 12:24:03 -08:00
2021-02-09 09:36:07 -08:00
2021-01-05 12:24:03 -08:00
2020-12-22 10:14:03 -08:00
2021-01-13 11:14:14 -08:00
2021-01-20 13:18:25 -08:00
2021-01-05 12:24:03 -08:00
2020-11-02 13:28:05 -08:00
2020-11-02 13:28:05 -08:00
2020-11-02 13:28:05 -08:00
2021-01-05 12:24:03 -08:00
2020-12-23 17:39:03 -08:00
2020-11-16 11:07:37 -08:00
2021-02-08 16:14:15 -08:00
2020-11-02 13:28:05 -08:00
2020-11-02 13:28:05 -08:00
2021-01-28 18:24:08 -08:00
2020-12-23 17:19:04 -08:00