Betta_Fish
da56ffff99
[Grid] Fix inner size calculation when Row/ColumnDefinition is not set but spacing is set ( #19227 )
* fix: avoid negative values when calculating combinedRowSpacing/combinedColumnSpacing
* add tests
1 year ago
Emmanuel Hansen
ad34029c1b
Use captured element if available as source for tap gestures ( #19222 )
* update mouse test to better simulate clicks on captured controls
* add tap failing test
* use captured element if available as source for tap gestures
1 year ago
Emmanuel Hansen
4ca154ed31
remove textbox holding handler in text selection handle ( #19186 )
1 year ago
kerams
19b2aeb119
Fix multiline selection crash ( #19337 )
1 year ago
Vadym Artemchuk
d5f490cf2f
explicit dispose skia objects ( #19100 )
1 year ago
Nikita Tsukanov
a53ab7a3fe
Stopgap fix for ( #19302 )
https://github.com/AvaloniaUI/Avalonia/issues/19291
1 year ago
Emmanuel Hansen
a7c20b4dd7
made mobile textbox contextmenu transient ( #19182 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Emmanuel Hansen
7c3fb302f0
Revert 15603, add InputPaneActivationRequested in TextInputMethodClient ( #19225 )
* revert 15603, add InputPaneActivationRequested in TextInputMethodClient
* forward ShowInputPanel call to RaiseInputPaneActivationRequested
1 year ago
Ahmed Elsayed
3dff273a9c
fix: Selecting multiple lines in RTL textbox ( #19093 )
* Reverse text runs for RTL flow direction
* Optimize text run traversal.
* Remove unused LINQ directive from TextLineImpl.cs
* Add RTL newline handling test in TextLineTests
* Add RTL newline handling tests for text formatting.
1 year ago
Egor Rudakov
d96561cf36
Fix random NRE inside `Compositor.CommitCore()` callback. ( #19173 )
* Prevent ContinueWith from scheduling some of rendering callbacks into UI thread. (#19170 fix)
* Add _pendingBatch null check
1 year ago
Max Katz
025bbcc73f
Add OpenGlControlBase documentation ( #19188 )
1 year ago
walterlv
60f0f69617
Avoid memory leak by clearing the shared array pool of LightweightObservableBase ( #19167 )
1 year ago
Nikita Tsukanov
b8263d823c
Properly check if operation is pending when executing/aborting ( #19132 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Jins
08fc78add1
Fixed bug failing to match the focus state in ComboBox ( #19147 )
Co-authored-by: Jins <devjins@163.com>
1 year ago
Tim Miller
a1d5d17ea5
[Avalonia.Native] Replace manual input tracking with NSEvent ( #19101 )
1 year ago
Benedikt Stebner
4f3af7e0fb
Fix TextLineIImpl.GetTextBounds for clustered trailing zero width characters ( #19208 ) ( #19251 )
* Make sure we only apply the cluster offset if we are inside the current cluster
* Better naming
* Guard coveredLength against invalid values
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
1 year ago
Benedikt Stebner
9b3d1e1966
Properly handle in cluster ShapedBuffer split ( #19090 )
* Properly handle in cluster ShapedBuffer split
* Allow ShapedBuffer split for empty text length
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
yoyo
64f61e3e57
fix: reverse TickBar when Slider direction is reversed ( #19096 )
1 year ago
Emmanuel Hansen
4938899673
Android - Reset android input method focus and connection state when text input focus is removed ( #19083 )
* reset android input method focus and connection state when text input focus is removed
* addresses comment
1 year ago
Tim Miller
85bdbff3c6
[Avalonia.Native] Add shouldResize value to SetWindowState, don't resize on Window move ( #19088 )
* [Avalonia.Native] Add shouldResize value to SetWindowState, don't resize on Window move
* Handle Window move as well
* Wrap around Switch
1 year ago
Emmanuel Hansen
c8c53277db
revert changes preventing status bar theme from being updated ( #19076 )
1 year ago
Paillat Laszlo
574f6a50dc
changed MenuItem Icon to properly set :icon pseudo class as long as value is not null ( #19075 )
1 year ago
Emmanuel Hansen
f1ec89b17a
fix oversight with display edge to edge detection for android 16 ( #19067 )
1 year ago
Tom Edwards
c2142c62bb
Corrected PointerPointProperties inline documentation ( #19062 )
Made PointerEventArgs.Properties public, to better support pattern matching
1 year ago
Tim Miller
69fae6907f
[Avalonia.Native] Respect info.plist values for setActivationPolicy ( #19066 )
* [Avalonia.Native] Respect info.plist values
* Only set setActivationPolicy if it's different from the users default
1 year ago
Emmanuel Hansen
81c1887ab6
android: better api level detection for display edge to edge and ignore system bar color changes if on api level 35 ( #19034 )
* android: better api level detection for display edge to edge and ignore system bar color changes if on api level 35
* allow fully transparent nav bars when display edge to edge is forced
1 year ago
Julien Lebosquain
cfe0a1e646
Extend dirty rect when UseLayoutRounding=false ( #18511 )
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
1 year ago
Whiletru3
9d37265fe7
Fix for #19035 On macOS, the SuggestedStartLocation is not set if the FileTypeChoices Is not null ( #19036 )
1 year ago
Emmanuel Hansen
c02b2b8a20
Fix insets on android 15 ( #18844 )
* fix insets on android 15
* add api diff
* fix nit
1 year ago
Max Katz
b6b62f44e2
More IDL uint fixes ( #18993 )
* Update win32.idl
* Update dcomp.idl
1 year ago
Julien Lebosquain
b4d766abd3
Fix LostFocus not raised on macOS ( #18990 )
1 year ago
Julien Lebosquain
68e1be6a27
Fix DirectX signatures ( #18991 )
1 year ago
Compunet
639cb4a10b
fix: ensure proper StringBuilderCache release ( #18985 )
1 year ago
Max Katz
f113e4f279
Bump Angle version ( #18982 )
1 year ago
Shaojun Li
377ba761e1
Fix infinite animation memory leak. ( #18980 )
1 year ago
Julien Lebosquain
2d135e541e
Fix BindingEvaluator.ClearDataContext ( #18964 )
* Add failing test for BindingEvaluator.ClearDataContext
* Fix BindingEvaluator.ClearDataContext
1 year ago
Max Katz
795510610b
Don't expect WasmRuntimeAssetsLocation to be always set ( #18947 )
* Try to gracefully fallback when WasmRuntimeAssetsLocation is unset
* Fix RenderWorker trimming annotations
* Avoid reflection binding here
---------
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
1 year ago
Compunet
d05393d3aa
Reuse single HarfBuzz buffer in TextShaperImpl ( #18892 )
1 year ago
Tom Edwards
2e63f5f3b2
Fixed RectangleGeometry not cloning its radius properties ( #18934 )
1 year ago
Tom Edwards
45b370f0b0
Fixed transitions with delay but no duration completing instantly ( #18929 )
1 year ago
Tim Miller
190baf1eab
Remove Keyboard Theme Override ( #18922 )
1 year ago
Emmanuel Hansen
07abb482f4
remove win32 dialog dpi hack ( #18923 )
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
1 year ago
Tom Edwards
be149cbd31
Fixed focus not being cleared when a parent of the focused element is hidden ( #18916 )
Enabled the relevant test
1 year ago
Rastislav Svoboda
f07db02a28
fix TextBox multiline selection with up/down keys till start/end of text ( #18746 )
* fix: TextBox multiline selection with up/down keys till start/end of text
* refactor to preserve public API of TextPresenter
* refactor and cleanup
1 year ago
Nikita Tsukanov
90416f3639
Fixed rare soft-"freezes" with OnRender(c) { ...; InvalidateVisual(); } pattern ( #18901 )
1 year ago
東雲なの
db93045ea4
Update SkiaSharp and HarfBuzzSharp version to support LA64 and RV64 ( #18571 )
* SkiaSharp.props:Update it to support LoongArch64 and RISC-V 64
https://github.com/mono/SkiaSharp/pull/3198
https://github.com/mono/SkiaSharp/pull/3192
https://github.com/mono/SkiaSharp/pull/3200
https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/3.119.0-preview.1.2
* HarfBuzzSharp.props:Support LoongArch64 and RISC-V64
https://github.com/mono/SkiaSharp/pull/3198
https://github.com/mono/SkiaSharp/pull/3192
https://github.com/mono/SkiaSharp/pull/3200
https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/8.3.1.1-preview.1.2
* Update SkiaSharp.props
* Update HarfBuzzSharp.props
---------
Co-authored-by: Maxwell Katz <maxkatz6@outlook.com>
1 year ago
Maxwell Katz
7c42850635
Improve pen secondary button handling on list box ( #18766 )
* Only start ScrollGesture when left click pressed, also `GetCurrentPoint(null)` behaves the same as root visual
* Allow right-click pen to select items on press
* Add context menus to even items on ListBox page for testing
* Avoid global static in UpdateSelectionFromPointerEvent
* Revert "Avoid global static in UpdateSelectionFromPointerEvent"
This reverts commit 2562d73e83 .
* Add comment to UpdateSelectionFromPointerEvent
* Use fully mocked rendering for list box test
* Add pen selection tests
* TouchTestHelper should use correct inputs
1 year ago
H0tCh0colat3
927aee9925
[Issue 18806] Prevent children of UniformGrid from having negative dimensions when row/col spacing exceeds available space ( #18832 )
* Add UniformGrid test cases for scenarios where row/column spacing takes more than available space
* Constrain child size to non-negative when performing arrange in UniformGrid
1 year ago
Emmanuel Hansen
933e1bc2c4
Fix caret handles not updating to the latest caret points ( #18794 )
* fix caret handles not updating to the latest caret points
* Update TextSelectionCanvas.cs
1 year ago
realybin
a8fc93c445
Fix incorrect CandidateWindow position when using Pinyin IMEs in Windows ( #18759 )
1 year ago