Tom Edwards

Results 36 issues of Tom Edwards

The win32 method [`GetSystemMetrics`](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getsystemmetrics) is called [in a few places](https://github.com/search?q=repo%3AAvaloniaUI/Avalonia%20GetSystemMetrics&type=code) to query the OS for pixel values. However, this method is not DPI aware. The value it returns are scaled...

bug
os-windows

**Describe the bug** Something about having a tooltip is preventing `Slider` from releasing mouse capture, when the mouse button is released while outside the Avalonia window. **To Reproduce** 1. Open...

bug
help-wanted

**Describe the bug** The `SelectedValue` system does not function when a `TabControl` contains items defined in XAML, through either `Items` or `ItemsSource`. It's common in our WPF codebase to have...

bug

Paste the following XAML into any window: ``` xaml ``` Then execute the following code in its constructor: ``` C# InitializeComponent(); Debug.Assert(MyPanel != null); ``` The assertion will fail. ##...

bug
area-xaml

Copy this XAML into any window and run: ``` xaml ``` You will see something like this: ![image](https://github.com/AvaloniaUI/Avalonia/assets/109803929/cc2c89c0-407f-4d2d-9966-ba1b0f6146ec) The `ComboBox` which was created as a direct child has kept its...

bug
priority

Create an "arena" at the start of a change to child controls, and copy the current state of the child collection into it before beginning iteration over that `Span`. Fixes...

Create this button in a window: ``` C# var button = new Button { Content = "Click me", ClickMode = ClickMode.Press, Margin = new(100), }; button.Click += delegate { new...

bug

`OnDetachedFromLogicalTreeCore` enumerates children of the current control, but doesn't account for the collection of children changing during enumeration. ## To Reproduce 1. Start Control Gallery 2. Switch to the TabControl...

bug

Provides XamlX functionality for AvaloniaUI/Avalonia/issues/9026. A little bit of extra work will be required in the Avalonia repository after this PR to cover all generated types.

### Describe the bug When `DispatcherTimer` elapses, it enqueues a callback on the UI thread. But other code can execute on the UI thread before that callback is executed. This...

bug