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-02-03 16:11:02 -08:00
2021-01-25 20:52:30 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-01-27 14:54:46 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-01-27 20:20:44 +01:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 16:01:06 -08:00
2021-02-10 17:21:03 -08:00
2021-02-10 17:21:03 -08:00
2021-02-01 14:41:04 -08:00
2021-01-20 13:18:25 -08:00
2021-01-12 17:19:03 -08:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-02-12 14:46:39 -08:00
2021-01-27 15:58:08 -08:00
2021-01-27 20:20:44 +01:00
2021-02-12 17:19:20 -08:00
2021-01-27 20:20:44 +01:00
2021-02-01 12:46:05 -08:00
2021-02-03 16:11:02 -08:00
2021-02-03 15:11:05 -08:00
2021-01-27 20:20:44 +01:00
2021-02-03 15:11:05 -08:00
2021-02-12 17:19:20 -08:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-01-25 18:54:05 -08:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-01-08 15:44:47 -08:00
2021-02-10 00:56:02 -08:00
2021-02-10 01:01:04 -08:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-02-03 16:11:02 -08:00
2021-01-25 18:54:10 -08:00
2021-02-09 10:31:03 -08:00
2021-01-25 11:34:04 -08:00
2021-01-22 16:20:44 -08:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-02-03 16:11:02 -08:00
2021-02-03 16:11:02 -08:00
2021-01-19 15:44:03 -08:00
2021-01-27 20:20:44 +01:00
2021-02-03 16:11:02 -08:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-01-05 16:02:44 -06:00
2021-01-27 20:20:44 +01:00
2021-02-12 14:16:51 -08:00
2021-02-03 16:11:02 -08:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-02-09 09:36:07 -08:00
2021-02-03 16:11:02 -08:00
2021-01-27 20:20:44 +01:00
2021-01-13 11:14:14 -08:00
2021-01-27 20:20:44 +01:00
2021-01-27 20:20:44 +01:00
2021-02-08 16:14:15 -08:00
2021-02-03 16:11:02 -08:00
2021-02-03 16:11:02 -08:00
2021-01-27 20:20:44 +01:00