And one passing test to confirm that it works when virtualization is enabled.
Co-Authored-By: Jan Kristian Bjerke <956218+jankrib@users.noreply.github.com>
* add hold size to platform settings, reduce hold size
* use class handler for control hold event
* improve holding interaction with textbox
* remove GetHoldSize method
* inprove touch input pointer over detection
* improve hold support in textbox
* fix tests
* remove selection updates on hold
* make pointer event args for holding event internal
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* Trigger CI/CD
* Bugfix: CanResize unused when Width/Height is set
2 problems in X11Window.cs
- In UpdateSizeHints: max and min sizes were set
regardless of _canResize, if preResize is not null
- In Resize, many things are set without checking for _canResize
Added the check for _canResize, which stops the resizing if not forced
(e.g. when a dialog needs a startup size)
Make setting varying max and min exclusively when _canResize is false
---------
Co-authored-by: stepan_govorko <stepan.govorko@jetbrains.com>
* Stop tooltip timer on pointer pressed to avoid hanging tooltips in some cases (i.e. when modal window is opened)
* Hiding tooltip on click
---------
Co-authored-by: Herman Kirshin <herman.kirshin@jetbrains.com>
* Fix HeadlessUnitTestSession creation race condition
* Bind Compositor/MediaContext to a fixed UI thread
* Fix dead lock in AvaloniaTestCase
* Rename Compositor.UIThreadDispatcher to Dispatcher
* fix focus loss issue with autocomplete box
* close dropdown when focus actually moves within the autocompletebox's focus scope
* make GetFocusScope internal for now
* remove GetFocusScope from focus manager
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* TabItem: dispose _ownerSubscriptions when item is detached from visual tree
* TabItem: update of TabStripPlacement moved to TabControl
* TabControl: iterate over ItemsPresenterPart's children instead of calling ContainerFromIndex
* TabItem: SubscribeToOwnerProperties marked as obsolete
---------
Co-authored-by: Dmitry Zhelnin <d.zhelnin@of-group.ru>
* Physical key handling for Windows
* Physical key handling for macOS
* Physical key handling for X11
* Physical keys: cleanup unused keys
* Key symbols: ensure consistent behavior between platforms
* Fix dead key symbol for Windows
* Physical key handling for browser
* Physical keys: use new overloads where possible
* Key symbol for VNC
* Physical key handling in previewer
* Key symbol for forwarded X11 IME key
* Key symbol for Android
* Obsolete old RawKeyEventArgs ctor
* Fix key symbols for macOS with modifiers
* Adjust PhysicalKey members naming
* Use explicit std::hash for AvnKey/AvnPhysicalKey
Should hopefully satisfy the older compiler on the CI server
* Headless: added KeyPressQwerty
---------
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
* implement tizen platform, resolve#6110
* Fix enum types of touch event
* Fix issue of touch tracking.
* #6110 fix ui thread lock
* #6110 send keypad from tizen window
* #6110 fix touch update
* #6110 add text editor for input fields
* #6110 Hide text field
* #6110 Fix issue of text selection and backspace
* #6110 support multi and single line for input
* #6110 temporary set multiline true by default.
* #6110 fix issue of build with latest version and make it compatible
* #6110 by pass double input when softkeyboard showing.
* #6110 adding support for clipboard.
* #6110 add permission helper to tizen platform
* #6110 Implementation of storage provider for tizen
* #6110 send text for key character from hard keyboard
* #6110 Complete the input implementation. soft and hard keyboard
* #6110 remove ElmSharp
* Update Permissions.cs
* #6110 remove open folder for tizen
* #6110 fix the issue of keyboard frezee for tizen
* #6110 add workload to build tizen
* #6110 try to setup tizen workloads for windows
* #6110 change tizen workload install to powershell
* #6110 skip api diff check when package not exists
* #6110 try to fix linux pipeline
* #6110 implement tizen native view
* #6110 add dev analyzer and trimming
* #6110 Migrate to GLES and remove framebuffer
* #6110 Temporary solution to make GL work
* #6110 WIP and add comments
* #6110 optimise gles rendering and timing.
* #6110 fix dependency issue of tizen HarfBuzzSharp
* #6110 patch a fix for clipboard issue
* #6110 Support tizen sdk for old proj type, WIP
* #6110 wip setup app
* #6110 support only net6 for tizen
* #6110 resolve comments
---------
Co-authored-by: Kangho Hur <rookiejava+github@gmail.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* Added guards for compositor reentrancy and exposed batch lifetime events
* Use manual continue with since our tests are using some borked sync context
* fix: Avalonia.Generators not found
if you put SourceGenerators.props in a project with path are like this:"C:\GitHub\Avalonia\sample\mobile\android\ANoteSample\ANoteSample.csproj", the Compiler is not able to found `Avalonia.Generators`
* test: Add test #10046 Xaml Compiler error when code-behind class contains a DllImport method
* fix: Xaml Compiler error when code-behind class contains a DllImport method
* fix: Address Review
* fix: ValidateApiDiff has thrown an exception
* Introduce IGlyphTypeface2 and expose TryGetStream
* Move IGlyphTypeface to its own file
* Always copy the font data to a MemoryStream
* Update IGlyphTypeface.cs