-
Notifications
You must be signed in to change notification settings - Fork 86
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
visual studio preview mouse postion not correct #342
Comments
can you try latest nightly? I think there were some PR to fix it recently, see AvaloniaUI/Avalonia#11749 and AvaloniaUI/Avalonia#11755 Instructions: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed |
thanks for your quick relay, i am trying nightly build, will give feed back later |
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.999-cibuild0036521-beta" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.999-cibuild0036521-beta" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.999-cibuild0036521-beta" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.999-cibuild0036521-beta" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.999-cibuild0036521-beta" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.0" />
</ItemGroup> tried the latest nightly build, no changes |
my screen is 3840*2160 |
after i change the dpi scale from 150% to 100%, the issue is gone |
I think AvaloniaVS mishandles screen scaling + zoom (zoom only is ok). I'll have a look at it since I'm deep in the previewer internals lately :) |
So we probably should move this issue over to the plugin. |
Describe the bug
visual studio preview mouse postion not correct
To Reproduce
any new avalonia project with 11.rc.1.1
Screenshots
![avalonia vs preview mouse position](https://private-user-images.githubusercontent.com/743845/245810473-31c4e8d1-579c-42a0-b8c1-95966dd079c7.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3MTY4NDIsIm5iZiI6MTczOTcxNjU0MiwicGF0aCI6Ii83NDM4NDUvMjQ1ODEwNDczLTMxYzRlOGQxLTU3OWMtNDJhMC1iOGMxLTk1OTY2ZGQwNzljNy5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQxNDM1NDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NGZlMDQ2Y2RmNmFlODM4MGM4NWY3ODFhNDE2NjAxM2Q4ODlhM2IyMWZlYjEwNmUwMmVlMjUxOTJlMjE1ZjhkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Z33h-5NjRswiMSgVd6M0WuuZgmZtQ4vRTnaaAGV9S0w)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: