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

ToastNotifications doesn't work with DPI aware applications #33

Closed
Lakritzator opened this issue May 23, 2017 · 2 comments
Closed

ToastNotifications doesn't work with DPI aware applications #33

Lakritzator opened this issue May 23, 2017 · 2 comments

Comments

@Lakritzator
Copy link

With Windows 10, my display is 1920x1080, DPI settings is at 125%

Your IPositionProvider gives for GetHeight 864, and for a popup GetPosition returns 1275,6;-10
(864*1,25 = 1080!!! )

My IPositionProvider gives for GetHeight 1030 (1080-taskbar height, also tried 1080) and for the popup GetPosition returns 1660,-60

With Windows 7 I have the same Display size, and the same values coming from my IPositionProvider, but everything works. (there is no DPI Awareness there)

I am guessing that if I change my DPI settings from 125% to 100%, logout & in, everything works.
As it's pretty much impossible to unaware my DPI Aware application, I will need to find a fix.
Or I will need to find another solution as ToastNotifcations.

Anyway I just wanted to create this ticket right now, so it's known to other developers.
And than we see how we continue.

@rafallopatka
Copy link
Owner

It looks like pull request created by @ZmorzynskiK fixed that, in my test it works for WPF windows.

Thank you for help, this is released in nuget v2.2.5

@Lakritzator
Copy link
Author

Hey, that is great news, I will try it out and will only report back if I find that it doesn't work.
Thanks!

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

No branches or pull requests

2 participants