workgroupengineering
6134cd0448
Apply XamlX PR #92 override the Content attribute for a base class ( #12824 )
3 years ago
Julien Lebosquain
b9c8e71981
Ensure GlyphRunImpl has consistent bounds ( #12765 )
* Add GlyphRun InkBounds failing test
* Ensure GlyphRunImpl has consistent bounds
3 years ago
Tim
341dcce179
fix: DataGrid scroll should behave the same as ScrollViewer ( #12787 )
if the user holds [Shift], we need to swap e.Delta (e.g. on Windows) if not already done by the OS (e.g. using Mac).
3 years ago
Julien Lebosquain
aee40789aa
Win32+Angle: reuse the first created D3D11 display
3 years ago
Daniil Pavliuchyk
46af64c9b3
Remove not needed field
3 years ago
Daniil Pavliuchyk
030d7c2f3b
Fix previewer security issue
3 years ago
Julien Lebosquain
c977ce540e
Fix property analyzer exception
3 years ago
Vladyslav Lubenskyi
266f5ede87
Rename CleanUp -> Cleanup
3 years ago
Vladyslav Lubenskyi
2c671a9a49
Erase _handle on when cleaning up
Co-authored-by: Anna Dolbina <1564418+anna-dolbina@users.noreply.github.com>
3 years ago
Vladyslav Lubenskyi
f011f28b2a
Clean up the focus proxy window
3 years ago
Vladyslav Lubenskyi
00ae1fac92
Revert a visibility change
3 years ago
Vladyslav Lubenskyi
e70b7b230f
Remove more whitespace changes
3 years ago
Vladyslav Lubenskyi
e4bd589795
Fix naming in X11Window
3 years ago
Vladyslav Lubenskyi
8696bd2117
Reformat X11FocusProxy.cs
3 years ago
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
Steven Kirk
23a676dbdd
Dispose path effect.
3 years ago
Steven Kirk
568613d21d
Added polyfil of System.HashCode.
3 years ago
Steven Kirk
4e011d4fed
Refactor creating a stroked path.
- Move the logic into `SKPathHelper.CreateStrokedPath`; called from `PathHelper` and `GetWidenedGeometry`
- Use a pen hash code to check if we're up-to-date in `PathHelper` and include the dash style in that
3 years ago
Benedikt Stebner
8953db23e4
Make DrawingGroup.RenderOptions internal
3 years ago
Benedikt Stebner
b465af28c5
Introduce DrawingContext Push/PopRenderOptions
3 years ago
Max Katz
0f85a4603d
Make WindowNotificationManager(TopLevel) ctor nullable as it was before
3 years ago
Max Katz
66c42ac8ec
Update Host attachment behavior once again
3 years ago
Max Katz
4bd5c96ea9
Make Notification properties open and some bindable
3 years ago
NLNet
51003c2f3e
Fix the scrollbar attaching to wrong scrollviewer, like scrollviewer outer a datagrid.
3 years ago
affederaffe
cc9cc71e23
Use Tmds.DBus.SourceGenerator 0.0.10:
- Fix global menu
- Optimize byte[] variants (e.g icons)
3 years ago
Steven Kirk
47edb343fb
Only include dash style when widening bounds.
Otherwise we'd be changing the behavior of an existing API (`StrokeContains`) which should be discussed first.
3 years ago
Steven Kirk
2ec917d665
Dispose of the PathCache.
3 years ago
Emmanuel Hansen
cc91baa964
add missing doc
3 years ago
Emmanuel Hansen
91126ec6f4
add win32 platform options to select process dpi awareness
3 years ago
Bill Henning
b6e3cc095b
Fix popups in Windows being offset incorrectly by a workaround for another issue.
3 years ago
Tim
bfeeb10adf
improved help text
3 years ago
Tim
3f0769a1f4
Uncomment code that was commented by accident
3 years ago
Tim
e83ebc2bb3
Handle merge conflicts comming from current master
3 years ago
Tim
7477aa7330
Revert more breaking changes
3 years ago
Tim
eadf63ce45
Revert breaking change
3 years ago
Tim
540bade45a
Improve WinodwNotificationManager
- Allow usage from XAML
- Allow any Visual as Host, so it can be used inside UserControl for example
- Allow adding style classes for NotificationCards
3 years ago
Tim
7514d7085c
Added an option to specify classes
3 years ago
Tim
eabaa776cc
feat: Customize Notifications
3 years ago
Steven Kirk
45e5d25ccf
Implemented Geometry.GetWidenedGeometry.
3 years ago
Bill Henning
5919aa836d
Updated Transition to use direct properties via use of new TransitionBase class.
3 years ago
jona
90d7e937a8
Fix OnOpenGlInit getting called twice
3 years ago
Emmanuel Hansen
089d326d16
remove hardcoded popup constraint adjustment
3 years ago
affederaffe
d40ce406fc
Fix vala-panel global menu
3 years ago
affederaffe
43aff2d680
Fix inconsistent naming
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