Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window moves around when I resize it #17756

Open
tster123 opened this issue Dec 12, 2024 · 3 comments
Open

Window moves around when I resize it #17756

tster123 opened this issue Dec 12, 2024 · 3 comments
Labels

Comments

@tster123
Copy link

tster123 commented Dec 12, 2024

Describe the bug

When I resize an Avalonia Window it moves around and doesn't resize properly (it does resize, but due to the movement the sizing jumps as well)

To Reproduce

  1. start with the Avalonia Control Gallery app (Windows Desktop). No code changes.
  2. Resize it.

Here is a video of the behavior: https://tsterpublic.blob.core.windows.net/public/Avalonia-WIndow-Resize-Bug.mp4

Expected behavior

Behave like any other Window.

Avalonia version

11.2.2

OS

Windows

Additional context

Windows 10

C:\repos\Avalonia [master]> git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
C:\repos\Avalonia [master]> git rev-parse HEAD
4c428d073d28afc1196aff7c60168db62754ef05
C:\repos\Avalonia [master]> git log -n 1
commit 4c428d073d28afc1196aff7c60168db62754ef05 (HEAD -> master, origin/master, origin/HEAD)
Author: Benedikt Stebner <[email protected]>
Date:   Mon Dec 9 07:52:07 2024 +0100
<snip>
@tster123 tster123 added the bug label Dec 12, 2024
@tster123
Copy link
Author

BTW, I should note that this also happens in the application I have, but since it repros in the control gallery, I used that so that you don't have to worry about any of my code :)

@timunie
Copy link
Contributor

timunie commented Dec 12, 2024

Never even seen that 🫣

@tster123
Copy link
Author

Playing around with this some more, this seems specific to my 7680x2160 resolution ultra-wide. When I put the window on my regular 4K monitors I don't get this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants