-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Description
Describe the bug
In the screenshot new Window() is called in background (created but not shown) after 5 seconds, then the IME candidate window just won't follow the cursor.
If you switch to other windows and switch back, the candidate window starts moving again:

However for situations where the main window must always have focus, This is unacceptable.
To Reproduce
Simply create a window via
Window window = null!;
private async void Window_Loaded(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
{
await Task.Delay(5000);
Dispatcher.UIThread.Post(() =>
{
window = new Window();
});
}
Then after 5 seconds, IME candidate window will not move at all as you type.
Expected behavior
IME candidate window should behave as normal.
Avalonia version
11.3.x and 12.0.0-rc1
OS
Windows
Additional context
Reactions are currently unavailable