Ryujinx-uplift/Ryujinx.Ava/Ui/Controls
Ac_K a1ddaa2736
ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885)
* ui: Only wait on _exitEvent when MainLoop is active under GTK

This fixes a dispose issue under Horizon/GTK, we don't check if the ApplicationClient is null so it throw NCE. We don't check if the main loop is active and waiting an event which is set in the main loop... So that could lead to a freeze.

Everything works fine in GTK now.

Related issue: https://github.com/Ryujinx/Ryujinx/issues/3873

As a side note, same kind of issue appear in Avalonia UI too. Firmware's popup doesn't show anything and the emulator just freeze.

* TSRBerry's change

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Fix Avalonia crashing/freezing

* Add Avalonia OpenGL fixes

* Fix firmware popup on windows

* Fixes everything

* Add _initialized bool to VulkanRenderer and OpenGL Window

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-11-24 15:08:27 +01:00
..
ApplicationOpenedEventArgs.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
AvaloniaGlxContext.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
AvaloniaWglContext.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
BitmapArrayValueConverter.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
ButtonKeyAssigner.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
ContentDialogHelper.cs Avalonia: Use overlay dialog for controller applet (#3777) 2022-10-23 11:15:45 +02:00
EmbeddedWindow.cs Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
GameGridView.axaml Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
GameGridView.axaml.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
GameListView.axaml Avalonia: Another Cleanup (#3494) 2022-07-29 00:41:34 +02:00
GameListView.axaml.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
Glyph.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
GlyphValueConverter.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
HotKeyControl.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
IGlContextExtension.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
InputDialog.axaml UI: Some Avalonia cleanup (#3358) 2022-06-23 15:59:02 -03:00
InputDialog.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
KeyValueConverter.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
MiniCommand.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
NavigationDialogHost.axaml Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
NavigationDialogHost.axaml.cs Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
OffscreenTextBox.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
OpenGLEmbeddedWindow.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
OpenToolkitBindingsContext.cs UI - Avalonia Part 2 (#3351) 2022-07-05 20:06:31 +02:00
ProfileImageSelectionDialog.axaml Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
ProfileImageSelectionDialog.axaml.cs Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
RendererHost.axaml Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
RendererHost.axaml.cs Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
RenderTimer.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
SPBOpenGLContext.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
UpdateWaitWindow.axaml UI: Some Avalonia cleanup (#3358) 2022-06-23 15:59:02 -03:00
UpdateWaitWindow.axaml.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
UserEditor.axaml Avalonia: Cleanup UserEditor a bit (#3492) 2022-07-28 14:16:23 -03:00
UserEditor.axaml.cs Avalonia: Cleanup UserEditor a bit (#3492) 2022-07-28 14:16:23 -03:00
UserErrorDialog.cs Avalonia - Use content dialog for user profile manager (#3455) 2022-07-24 14:38:38 -03:00
UserResult.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00
UserSelector.axaml Avalonia: Cleanup UserEditor a bit (#3492) 2022-07-28 14:16:23 -03:00
UserSelector.axaml.cs Avalonia: Cleanup UserEditor a bit (#3492) 2022-07-28 14:16:23 -03:00
VulkanEmbeddedWindow.cs Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
Win32NativeInterop.cs Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00