12.1.2
Added 6
- Add TextInputOptions.HintLocales
- Implement VerticalContentAlignment for DatePicker and TimePicker
- Add :empty pseudoclass for ContentControl
- Add Content attribute to ContentPresenter
- Support TextInputOptions.IsSensitive and ContentType Pin on Android
- Implement VoiceOver support on iOS
Changed 5
- Preserve current Animation progress if SpeedRatio or PlaybackDirection changes
- Propagate Popup.IsHitTestVisible to IPopupImpl to skip hit-testing popups on the OS level if available
- Don't build the selected text just to check whether a selection exists
- Enable picking .app-packages as a folder on macOS
- Select a KMS-capable DRM card automatically on Linux
Fixed 9
- Fix GeometryBuilder.DrawRoundedCornersRectangle for Rect
- Fix Vulkan image layout in GPU interop
- Fix ServerCompositionDrawingSurface orphaning GPU snapshots when an update is processed after Dispose
- Fix Loaded event processing after a handler throws
- Keep transform playback in sync when hidden
- Fix vector geometry anti-aliasing regression by making stencil buffers opt-in
- Fix AccessKeyHandler when no descendant control has focus
- Ensure that ActualThemeVariant always has a proper value
- Fix init order of SetupWithClassicDesktopLifetime
From Avalonia
What's Changed
Enhancements
- Core – Preserve current
Animationprogress ifSpeedRatioorPlaybackDirectionchanges by @timiimit-tam in https://github.com/AvaloniaUI/Avalonia/pull/19830 - Core – Add
TextInputOptions.HintLocalesby @kerams in https://github.com/AvaloniaUI/Avalonia/pull/21528 - Controls – Implement
VerticalContentAlignmentforDatePickerandTimePickerby @JoaoMSSCruz in https://github.com/AvaloniaUI/Avalonia/pull/21464 - Controls – Add
:emptypseudoclass forContentControlby @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21829 - Controls – Propagate
Popup.IsHitTestVisibletoIPopupImplto skip hit-testing popups on the OS level if available by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/21916 - Controls – Add
Contentattribute toContentPresenterby @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21997 - Controls – Don't build the selected text just to check whether a selection exists by @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/22100
- macOS – Enable picking
.app-packages as a folder by @jakobhellermann in https://github.com/AvaloniaUI/Avalonia/pull/21925 - Linux – Select a KMS-capable DRM card automatically by @Illustar0 in https://github.com/AvaloniaUI/Avalonia/pull/21923
- Android – Support
TextInputOptions.IsSensitiveandContentTypePin by @dariostrm in https://github.com/AvaloniaUI/Avalonia/pull/22110 - iOS – Implement VoiceOver support by @IsaMorphic in https://github.com/AvaloniaUI/Avalonia/pull/18016
Fixes
- Core – Fix
GeometryBuilder.DrawRoundedCornersRectangleforRectby @robloo in https://github.com/AvaloniaUI/Avalonia/pull/21482 - Core – Fix Vulkan image layout in GPU interop by @nateglasser in https://github.com/AvaloniaUI/Avalonia/pull/21787
- Core – Fix
ServerCompositionDrawingSurfaceorphaning GPU snapshots when an update is processed afterDisposeby @ddunham121 in https://github.com/AvaloniaUI/Avalonia/pull/21876 - Core – Fix
Loadedevent processing after a handler throws by @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/21877 - Core – Keep transform playback in sync when hidden by @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/21896
- Core – Fix vector geometry anti-aliasing regression by making stencil buffers opt-in by @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/21899
- Core – Fix
AccessKeyHandlerwhen no descendant control has focus by @AutumnYuanc in https://github.com/AvaloniaUI/Avalonia/pull/21920 - Core – Ensure that
ActualThemeVariantalways has a proper value by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21930 - Core – Fix init order of
SetupWithClassicDesktopLifetimeby @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21954 - Core – Raise
TopLevel.Closedfrom managedDisposepaths by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/22045 - Core – Ignore default ignorable codepoints in font fallback by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/22059
- Core – Justify word gaps that fall on a run boundary by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/22065
- Core – Snap a right-to-left buffer split to the cluster boundary by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/22066
- Core – Do not shape the space after fallback text with the fallback font by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/22067
- Core – Use effective capturer (which can be recognizer) for
PlatformCaptureby @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/22076 - Core – Short-circuit the binding chain on a null-conditional operator by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/22082
- Core – Fix dispatcher frame capturing wrong dispatcher by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/22086
- Core – Fix memory leak when binding to observables by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/22097
- Core – Fix data validation errors not showing for
OneWayToSourcebindings by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/22103 - Core – Fix focus being locked when restoring focus to a control that's detached from the visual tree by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/22113
- Core – Fix infinite loop when a text run shapes to no glyphs by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/22119
- Controls – Fix
SelectableTextBlockselection for centered and right-aligned text by @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21369 - Controls – Use large scroll events for
ScrollBar'sScrollToHomeandScrollToEndby @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21748 - Controls – Hide cached focused items in
VirtualizingStackPanelby @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/21835 - Controls – Set the
LogicalParentof theTableViewColumnby @OleRoss in https://github.com/AvaloniaUI/Avalonia/pull/21840 - Controls – Disconnect template descendants hosted inside
Viewboxwhen the template changes by @NathanDrake2406 in https://github.com/AvaloniaUI/Avalonia/pull/21879 - Controls – Fix
SelectableTextBlockselection when text content changes by @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21894 - Controls – Fix
TreeViewItem.BringIntoViewby @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21918 - Controls – Use
ItemTemplateforComboBox's selection box for controls by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21937 - Controls – Fix
WrapPanellayout jitter withLineSpacingby @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21942 - Controls – Fix tooltip flickering by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21965
- Controls – Fix
VirtualizingStackPaneloffset when scrolling to variable-sized items by @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/21975 - Controls – Update
TabbedPage.xamlcolor resources by @smaicas in https://github.com/AvaloniaUI/Avalonia/pull/21994 - Controls – Fix multiple
ScrollContentPresenter.BringDescendantIntoViewcalls by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/22001 - Controls – Fix icon not rendered for
CalendarDatePickerin some cases by @timunie in https://github.com/AvaloniaUI/Avalonia/pull/22012 - Controls – Fix
VirtualizingStackPanelScrollToEndwith variable-sized items by @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/22014 - Controls – Fix
TextBlockellipsis not showing withTextWrappingandMaxLinesby @puk06 in https://github.com/AvaloniaUI/Avalonia/pull/22017 - Controls – Show the
RefreshContainerrefresh indicator when refresh is triggered programmatically by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/22020 - Controls – Fix
DatePickerandTimePickerseparator alignment withVerticalContentAlignmentby @zrt2399 in https://github.com/AvaloniaUI/Avalonia/pull/22023 - Controls – Invalidate image measure when
DrawingImagesource invalidates by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/22028 - Controls – Fix light dismiss behavior when opened from the
ContextMenuby @Linlccc in https://github.com/AvaloniaUI/Avalonia/pull/22037 - Controls – Handle clipboard exceptions in
TextBox/SelectableTextBlockby @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/22052 - Controls – Revert "Stop
HotKeyManagerfrom triggering on hidden controls" by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/22071 - Controls – Fix auto-sized
VirtualizingStackPanelnot rendering by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/22081 - Controls – Fix crash when changing source during
SelectionChangedby @grokys in https://github.com/AvaloniaUI/Avalonia/pull/22102 - Windows – Drop dead
WM_POINTERDEVICEINRANGE/WM_POINTERDEVICEOUTOFRANGEhandling by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/22046 - Windows – Fix pointer capture cancellation by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/22054
- Windows – Fix hidden
TrayIconappearing after icon updates by @Linlccc in https://github.com/AvaloniaUI/Avalonia/pull/22125 - macOS – Keep window creation on-screen during display reconfiguration by @brianwphamSF in https://github.com/AvaloniaUI/Avalonia/pull/21543
- macOS – Fix
NSTextInputClientrange handling and null dereference issues by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/21885 - macOS – Open a submenu when its parent menu item is clicked by @AntonZelinsky in https://github.com/AvaloniaUI/Avalonia/pull/21890
- macOS – Fix
keyDownevent handling for input methods by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/21906 - macOS – Use
NSTrackingInVisibleRectfor mouse movement tracking by @drasticactions in https://github.com/AvaloniaUI/Avalonia/pull/21996 - macOS – Prevent title bar flash on fullscreen exit by @Illustar0 in https://github.com/AvaloniaUI/Avalonia/pull/22101
- X11 – Fix
AVALONIA_SCREEN_SCALE_FACTORShandling by @lindexi in https://github.com/AvaloniaUI/Avalonia/pull/22129 - Wayland – Handle (0,0) surface size by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/21863
- Linux – Fix wrong escaping on
xdg-openby @ReinaS-64892 in https://github.com/AvaloniaUI/Avalonia/pull/21936 - Linux – Free native DRM resources after enumeration by @Illustar0 in https://github.com/AvaloniaUI/Avalonia/pull/21924
- Android – Fix multiline
TextBoxcaret staying on previous line after autocorrect + Enter by @Zeljko-Predjeskovic in https://github.com/AvaloniaUI/Avalonia/pull/21900 - Android – Fix
TryGetFileFromPathAsync/TryGetFolderFromPathAsyncreturning null forcontent://URI by @lfeng1420 in https://github.com/AvaloniaUI/Avalonia/pull/21986 - Android – Unregister automation peers when their control leaves the visual tree by @ronnycohen in https://github.com/AvaloniaUI/Avalonia/pull/22024
- Android – Fix crash on a stale accessibility virtual view id by @ronnycohen in https://github.com/AvaloniaUI/Avalonia/pull/22122
- Android – Don't walk an
InteropAutomationPeerduring accessibility traversal by @ronnycohen in https://github.com/AvaloniaUI/Avalonia/pull/22123 - iOS – Fix issue with creating files under app container Documents directory by @KijongHan in https://github.com/AvaloniaUI/Avalonia/pull/22031
- Browser – Fix
BrowserDispatcherImplnever setting_signaledflag by @appel1 in https://github.com/AvaloniaUI/Avalonia/pull/22093
Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.1.1...12.1.2