Vladyslav Lubenskyi
597fdf63bb
Revert whitespace changes to simplify review
3 years ago
Vladyslav Lubenskyi
e0f3e8515f
Adjust X11Window to the name changes in X11FrameProxy
3 years ago
Vladyslav Lubenskyi
edb1a7ff30
Fix variable naming
3 years ago
Vladyslav Lubenskyi
1213ba7e8e
Use the focus proxy window in X11
In this changeset, we set the input focus (XSetInputFocus) to
an invisible auxiliary window instead of setting it to
the main window.
The intent is to make it possible to correctly switch the focus
between the Avalonia window and an embedded window. Here's how
XEmbed specification puts it:
> [...] if the mouse pointer is within the embedded window,
the outer toolkit doesn't see any key events, even if the logical
keyboard focus is [] within the outer toolkits toplevel window.
[...] The topmost toolkit is required to keep the X input focus
on one of its own windows without any embedded children. Keeping
the focus on such a window ensures that key events are always
delivered to the outer toolkit and thus can be forwarded easily [...].
Source: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html
In the case of DotNetBrowser, we will directly switch the focus back to
the proxy window, when the logical focus passes from the embedded
Chromium to the host Avalonia window.
3 years ago
Emmanuel Hansen
50987b384a
adjust popup working area with toplevel's safe area padding
3 years ago
Emmanuel Hansen
f81b4546f8
remove debug code
3 years ago
Emmanuel Hansen
d77bbea807
removed testing property
3 years ago
Emmanuel Hansen
4b68553068
remove redundant capture lost call
3 years ago
Emmanuel Hansen
c3d524d80d
ensure gestures receive capture lost event
3 years ago
David BRIARD
3c974b09c7
Updated Inter font to fix vertical stretching issue and for lighter typefaces
3 years ago
zhangxi
79e4d9b1e0
Polyline points remove defalut value
3 years ago
zhangxi
039b19f585
fix polygon/polyline load fail points within the template:
Optimization fixed code
3 years ago
Max Katz
d07e59bc5e
Implement CVDisplayLink based timer on macOS
3 years ago
zhangxi
10c92fe4a8
fix polygon/polyline load fail points within the template
3 years ago
Julien Lebosquain
495e2bb973
Revert Inline breaking change
3 years ago
Bill Henning
28cfe178b0
Fix for AccessText underlines being very blurry since they didn't align to pixels.
3 years ago
yankun
10f9f133d9
Update Rotate3DTransition.cs to fix flickering on backwards navigation
3 years ago
Steven Kirk
f8ea38c90e
Fix property name.
3 years ago
Steven Kirk
a48e4e7cdc
Fix comment.
3 years ago
Steven Kirk
03ff228a6d
Preserve container themes set locally.
3 years ago
Steven Kirk
f347eaf711
Accept base TargetType in ItemContainerTheme
3 years ago
Steven Kirk
754bdd4220
Handle changing ItemContainerTheme properly.
Previously only handled the case where the `ItemContainerTheme` was changing from null -> non-null.
Fixes #12620
3 years ago
Bill Henning
16ab9c595c
Fix for TextBlock.TextDecorations not inheriting down to inlines.
3 years ago
Benedikt Stebner
f3625f0ee1
Fix TextTrimming in combination with TextWrapping
3 years ago
Benedikt Stebner
b0691681cb
Allow setting a LineHeight that is smaller than the default
3 years ago
Nikita Tsukanov
96da4f0699
When calculating geometry bounds take into account parameters that affect geometry bounds
3 years ago
Max Katz
1f0d189502
Revert "Clipboard image" ( #12599 )
3 years ago
Dan Walmsley
15290a3240
win32: make setting ShowInTaskbar = true on an owned window that is already shown, not remove the ownership
This makes us consistent with WPF.
3 years ago
Benedikt Stebner
795d131014
Update DrawingContextImpl.cs
3 years ago
Bill Henning
3dd62bf533
Updated ToggleSplitButton.IsCheckedProperty definition to be on a single line.
3 years ago
Bill Henning
41bef0e991
Fix for TextBox not accounting for space between ScrollViewer and TextPresenter when calculating MaxLines-based height
3 years ago
Benedikt Stebner
4b5c680a26
Introduce RenderOptions.RequiresFullOpacityHandling
3 years ago
Bill Henning
09250ec9c4
Updated ToggleSplitButton.IsChecked to bind TwoWay by default, same as ToggleButton.
3 years ago
stepan_govorko
fa6939aa39
The unneeded public access modifier was removed from the RenderedVisuals property in the ICompositionTargetDebugEvents interface.
3 years ago
Bill Henning
d64502e2e7
Fix for Track not arranging after IsDirectionReversed property changed.
3 years ago
stepan_govorko
77dc35bf46
Introduced counting of rendered visuals in ServerCompositionVisual and added relevant unit tests in CompositorInvalidationClippingTests. The new tests ensure that visuals that are not in dirty rect are rendered correctly with different ClipToBounds and Clip geometry parameters.
3 years ago
stepan_govorko
815545dfcd
Consider Clip.Bounds in clipping calculation in ServerCompositionVisual;
In addition, the ServerCompositionVisual now tracks changes to the clip property, allowing for re-calculation when the clip is altered.
3 years ago
Dan Walmsley
839de5966b
remove all traces of old api diff.
3 years ago
adirh
74a5e13d2e
Trigger devops build again
3 years ago
Rudakov Egor
7b6ae071d7
Set PreserveSig to true for OleGetClipboard
3 years ago
Flithor
2dbe0d717e
Update Fluent.xaml
3 years ago
Flithor
ea946b2b7c
Update Fluent.xaml
3 years ago
adirh
1d48468537
Added check for when control already attached to visual tree
3 years ago
adirh
11971a0431
Fixed memory leaks in ContextMenu.cs
3 years ago
Martijn Sneijders
89dd49488e
ToggleSwitch: fix toggle on single touch tap on the knob part
3 years ago
Nikita Tsukanov
8328cc79e2
Unwrap win32 data object
3 years ago
Giuseppe Lippolis
8720fc9c27
fix: AvaloniaVS can not resolve resource relative path in Previewer
3 years ago
flexxxxer
628455ec3d
To Avalonia.Controls.TopLevel.HandleClosed method body was added Avalonia.Controls.TopLevel.StopRendering method call
3 years ago
flexxxxer
ca2ca4ee9f
Revert "fix: try 1"
This reverts commit adcaf6a317 .
3 years ago
flexxxxer
adcaf6a317
fix: try 1
3 years ago