Emmanuel Hansen
5a1476375f
Set IsKeyboardFocusWithin to false when control is detached from visual tree ( #19369 )
* add failing IsKeyboardFocusWithin test for popup
* Set IsKeyboardWithin to false when detached from visual tree
6 months ago
Tim Miller
3da7aa4840
[iOS] Enable Pointer/Trackpad scrolling ( #19342 )
* [iOS] Enable Pointer/Trackpad scrolling
* Cleanup
* Update comments, make sure StopMomentumScrolling is called when momentum stops
* Wrap RawMouseWheel Invoke call with null check
* Replace check
6 months ago
Vladislav Pozdniakov
92d9737f99
Fixes/osx thick titlebar pointer events streaming, (tabs interface) #15696 ( #19320 )
* Added failing test for OSXThickTitleBar drag events outside thick title area
* MacOS. Added event tracking loop for drag events started in thick titlebar (NSToolbar)
* Review fix: forward events to AppKit during tracking loop (#19320 )
6 months ago
Handsome08
59e4daa358
Fix X11Screen info update incorrectly when screen changed. ( #19262 )
6 months ago
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
6 months 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
6 months ago
Emmanuel Hansen
4ca154ed31
remove textbox holding handler in text selection handle ( #19186 )
6 months ago
kerams
19b2aeb119
Fix multiline selection crash ( #19337 )
6 months ago
Vadym Artemchuk
d5f490cf2f
explicit dispose skia objects ( #19100 )
7 months ago
Nikita Tsukanov
a53ab7a3fe
Stopgap fix for ( #19302 )
https://github.com/AvaloniaUI/Avalonia/issues/19291
7 months ago
Emmanuel Hansen
a7c20b4dd7
made mobile textbox contextmenu transient ( #19182 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
7 months ago
Emmanuel Hansen
7c3fb302f0
Revert 15603, add InputPaneActivationRequested in TextInputMethodClient ( #19225 )
* revert 15603, add InputPaneActivationRequested in TextInputMethodClient
* forward ShowInputPanel call to RaiseInputPaneActivationRequested
7 months 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.
7 months 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
7 months ago
Max Katz
025bbcc73f
Add OpenGlControlBase documentation ( #19188 )
7 months ago
walterlv
60f0f69617
Avoid memory leak by clearing the shared array pool of LightweightObservableBase ( #19167 )
7 months ago
Nikita Tsukanov
b8263d823c
Properly check if operation is pending when executing/aborting ( #19132 )
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
7 months ago
Jins
08fc78add1
Fixed bug failing to match the focus state in ComboBox ( #19147 )
Co-authored-by: Jins <devjins@163.com>
7 months ago
Tim Miller
a1d5d17ea5
[Avalonia.Native] Replace manual input tracking with NSEvent ( #19101 )
8 months 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>
7 months 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>
8 months ago
yoyo
64f61e3e57
fix: reverse TickBar when Slider direction is reversed ( #19096 )
8 months 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
8 months 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
8 months ago
Emmanuel Hansen
c8c53277db
revert changes preventing status bar theme from being updated ( #19076 )
8 months ago
Paillat Laszlo
574f6a50dc
changed MenuItem Icon to properly set :icon pseudo class as long as value is not null ( #19075 )
8 months ago
Emmanuel Hansen
f1ec89b17a
fix oversight with display edge to edge detection for android 16 ( #19067 )
8 months ago
Tom Edwards
c2142c62bb
Corrected PointerPointProperties inline documentation ( #19062 )
Made PointerEventArgs.Properties public, to better support pattern matching
8 months 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
8 months 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
8 months ago
Julien Lebosquain
cfe0a1e646
Extend dirty rect when UseLayoutRounding=false ( #18511 )
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
8 months ago
Whiletru3
9d37265fe7
Fix for #19035 On macOS, the SuggestedStartLocation is not set if the FileTypeChoices Is not null ( #19036 )
8 months ago
Emmanuel Hansen
c02b2b8a20
Fix insets on android 15 ( #18844 )
* fix insets on android 15
* add api diff
* fix nit
8 months ago
Max Katz
b6b62f44e2
More IDL uint fixes ( #18993 )
* Update win32.idl
* Update dcomp.idl
8 months ago
Julien Lebosquain
b4d766abd3
Fix LostFocus not raised on macOS ( #18990 )
8 months ago
Julien Lebosquain
68e1be6a27
Fix DirectX signatures ( #18991 )
8 months ago
Compunet
639cb4a10b
fix: ensure proper StringBuilderCache release ( #18985 )
8 months ago
Max Katz
f113e4f279
Bump Angle version ( #18982 )
8 months ago
Shaojun Li
377ba761e1
Fix infinite animation memory leak. ( #18980 )
8 months ago
Julien Lebosquain
2d135e541e
Fix BindingEvaluator.ClearDataContext ( #18964 )
* Add failing test for BindingEvaluator.ClearDataContext
* Fix BindingEvaluator.ClearDataContext
8 months 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>
8 months ago
Compunet
d05393d3aa
Reuse single HarfBuzz buffer in TextShaperImpl ( #18892 )
8 months ago
Tom Edwards
2e63f5f3b2
Fixed RectangleGeometry not cloning its radius properties ( #18934 )
8 months ago
Tom Edwards
45b370f0b0
Fixed transitions with delay but no duration completing instantly ( #18929 )
8 months ago
Tim Miller
190baf1eab
Remove Keyboard Theme Override ( #18922 )
9 months ago
Emmanuel Hansen
07abb482f4
remove win32 dialog dpi hack ( #18923 )
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
9 months ago
Tom Edwards
be149cbd31
Fixed focus not being cleared when a parent of the focused element is hidden ( #18916 )
Enabled the relevant test
9 months 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
9 months ago
Nikita Tsukanov
90416f3639
Fixed rare soft-"freezes" with OnRender(c) { ...; InvalidateVisual(); } pattern ( #18901 )
9 months 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>
9 months ago