Steven Kirk
4f4f291b2d
Move mac-specific tests to a separate file.
And tidy stuff up a bit.
4 years ago
Steven Kirk
8b9e675bd4
Refactor PlatformFact.
To make it inclusive rather than exclusive.
4 years ago
Steven Kirk
8c3424baa4
Refactor OSX window tests a bit.
Try not to rely on `_session.ResetApp();` because restoring the application state in the tests tends to show up more errors (which this change has done: https://github.com/AvaloniaUI/Avalonia/issues/8335#issuecomment-1162804733 )
4 years ago
Steven Kirk
860fcc524d
Refactor how we show windows.
Trying to make it a little less hacky. Only tested on Win32 so far.
4 years ago
Dan Walmsley
76e98ca5ae
Merge remote-tracking branch 'origin/master' into feature/window-integration-tests
4 years ago
Dan Walmsley
ba9cb03696
Merge pull request #8258 from AvaloniaUI/fixes/osx-keyboard-input
OSX: fix call to virtual method from ctor.
4 years ago
Dan Walmsley
e2dbf68b02
fix call to virtual method from ctor.
4 years ago
Dan Walmsley
5cb8244fdf
Merge branch 'master' into feature/window-integration-tests
4 years ago
Dan Walmsley
5145e13ea9
Merge pull request #8257 from AvaloniaUI/fixes/osx-toolbar-hint
Fixes/osx toolbar hint
4 years ago
Dan Walmsley
6e916c21e5
fix transition to fullscreen mode.
4 years ago
Dan Walmsley
11595184d5
fix traffic light setting.
4 years ago
Dan Walmsley
809f459233
fix osx thick titlebar setting.
4 years ago
Dan Walmsley
6a848a389f
dont re-initialise nswindow on show.
4 years ago
Dan Walmsley
fccf8ec9cd
Merge pull request #8255 from AvaloniaUI/fixes/osx-extended-wants-chrome-hint
OSX: fix logic for deciding if chrome buttons should be shown or not in ex…
4 years ago
Dan Walmsley
bd0d81d6af
fix logic for deciding if chrome buttons should be shown or not in extended mode.
4 years ago
Max Katz
478c4f3884
Merge pull request #8251 from Oxc3/bug/wasm-keyboard-event-failing-android
RazorViewTopLevel will now test keys first on Code, then Key as a backup
4 years ago
Max Katz
6ad03a7aca
Merge branch 'master' into bug/wasm-keyboard-event-failing-android
4 years ago
Oxc3
a6d1e74b4f
RazorViewTopLevel will now test keys first on Code, then Key as a backup
This is an android specific hack. the chrome browser event sends an empty string on Code property so this will test both Code and Key properties to match to an Avalonia key. If the user is on a sane system then Code will be used to Key match, else it will failover to try and match with Key.
4 years ago
Dan Walmsley
38283337f6
Merge pull request #8250 from AvaloniaUI/fixes/osx-modal-over-fullscreen-mode-window
osx: fix crash when modal dialog is opened over fullscreen parent.
4 years ago
Dan Walmsley
9e03c05713
osx: fix crash when modal dialog is opened over fullscreen parent.
4 years ago
Dan Walmsley
a0af269d36
reset app after most tests, add test for fullscreen mode with modal osx.
4 years ago
Dan Walmsley
827692fa27
add test for osx modal dialog window order when clicking resize grip of parent.
4 years ago
Max Katz
76fa3c56a0
Merge pull request #8217 from affederaffe/feature/xdg-desktop-portal-file-chooser
Add xdg-desktop-portal file chooser
4 years ago
Dan Walmsley
54dc396795
Merge branch 'master' into feature/window-integration-tests
4 years ago
affederaffe
90a81a9548
Merge branch 'master' into feature/xdg-desktop-portal-file-chooser
4 years ago
Dan Walmsley
e932223c94
Merge pull request #8249 from AvaloniaUI/fixes/osx-crash-on-main-window-close
prevent segfault when closing app with child windows open.
4 years ago
Dan Walmsley
643fe6675e
prevent segfault when closing app with child windows open.
4 years ago
Dan Walmsley
aae2696d49
Merge pull request #8247 from AvaloniaUI/feature/nested-styles-inline
Remove the need for <Style.Children> around nested styles.
4 years ago
Dan Walmsley
225cf94c34
Merge branch 'master' into feature/nested-styles-inline
4 years ago
Dan Walmsley
84a7d31f18
Merge pull request #8248 from AvaloniaUI/fixes/prevent-parent-resizing-when-modal-opened
[OSX] dont allow disabled windows to resize.
4 years ago
Steven Kirk
5520706a95
Fix formatting.
4 years ago
Steven Kirk
902703fbed
Allow nested styles inline in parent style XAML.
Removes the need to enclose nested styles in a `<Style.Children>` element in XAML.
4 years ago
Max Katz
01d65347ec
Merge pull request #8246 from AvaloniaUI/fixes/flyout-not-opening-more-than-once
re-set popup.Parent if its no longer set.
4 years ago
Dan Walmsley
97cb3a68f0
Add unit test.
4 years ago
Dan Walmsley
90287bbe0c
re-set popup.Parent if its no longer set.
4 years ago
Dan Walmsley
81f6f7c346
Merge remote-tracking branch 'origin/master' into feature/window-integration-tests
4 years ago
Dan Walmsley
1917def959
full set of window tests for osx.
4 years ago
Max Katz
56ef3adf06
Merge pull request #8242 from Oxc3/feature/web-copy-paste-text
added ClipboardImpl with hooks to navigator.clipboard.readtext and na…
4 years ago
Max Katz
7f3bf01dc0
Merge branch 'master' into feature/web-copy-paste-text
4 years ago
Oxc3
595b62197c
Update ClipboardImpl.cs
added text clearing on ClearAsync
4 years ago
Oxc3
9cc69eec22
added ClipboardImpl with hooks to navigator.clipboard.readtext and naviagot.clipboard.writeText so Avalonia web can TextBox copy-paste works
4 years ago
Dan Walmsley
a70dadea18
simplify test.
4 years ago
Dan Walmsley
a7713dcda9
add a unit test for child window order osx.
4 years ago
Dan Walmsley
b7397a7cdf
add a11y identifiers for windows.
4 years ago
Dan Walmsley
0d6e3a55f0
add test to show that osx chrome buttons are disabled when modal dialog is opened.
4 years ago
Dan Walmsley
27a4e026bb
Merge branch 'master' into feature/window-integration-tests
4 years ago
Dan Walmsley
cea6bc27a0
Merge pull request #8238 from AvaloniaUI/fixes/disable-parent-chrome-buttons-when-modal-is-shown
OSX: Disable parent chrome buttons when modal is shown
4 years ago
Dan Walmsley
2f1ada6892
Merge pull request #8239 from AvaloniaUI/fixes/osx-shadow-invalidation
OSX Shadow invalidation when window sized
4 years ago
Dan Walmsley
f05af9c1ea
Merge branch 'master' into feature/window-integration-tests
4 years ago
Dan Walmsley
72d97c8750
Merge pull request #8211 from AvaloniaUI/fixes/osx-dialog-keep-on-top-when-deactivated
[OSX] dialogs stay ontop of main window when another app is displayed.
4 years ago