Comments (11)
I will investigate it soon. I think the problem is in using the wrong screen size method.
from toastnotifications.
I am experiencing the same. Any resolution?
from toastnotifications.
Both monitors has the same resolution but the resolution is 125%.
from toastnotifications.
I tried it on system with two displays, window 10, resolutiion 100% and 100%, 100% and 125%, 125% and 125% and positions was correct. Need more informations about problem.
http://i.imgur.com/U3DDetY.png
from toastnotifications.
there is reproduced from my side.
the "shift" effect become bigger when window moved to right side of monitor.
if main window placed near left side then it looks ok.
i will investigate.
from toastnotifications.
I cannot reproduce this problem on two displays. I moved window on various location on displays and I created messages - without shift. What version of windows do you use?
from toastnotifications.
Hi, this bug exist, this is related with dpi and calculations between windows pixels + wpf virtual pixels and dpi. And to be honest I have no idea how to fix that, I spend a lot of time on that problem. Its related to #33
This should happen only with WindowPositionProvider
from toastnotifications.
.net framework 4.6.2 has this update, which may help with problem with DPI:
"Per-monitor DPI To support the recent proliferation of high-DPI and hybrid-DPI environments for WPF apps, WPF in the .NET Framework 4.6.2 enables per-monitor awareness. See the samples and developer guide on GitHub for more information about how to enable your WPF app to become per-monitor DPI aware."
ToastNotification can be compiled to .net framework 4.6.2. May be help.
from toastnotifications.
Hey,
Unfortunatelly it's not an option to upgrade ToastNotifications to .NET 4.6.2, because there are already existing projects (especialy mine :) ) which uses this library, and they cannot upgrade .NET framework because of some restrictions.
I think there must be a way to do these calculations, maybe there is a way to extract formula from .NET 4.6.2 :)
Thanks for help & Best regards
from toastnotifications.
I might have found a solution, please check #57
from toastnotifications.
@ZmorzynskiK fixed that, in my test it worked in different dpi and resolutions. and mixed configurations on two displays, dragging window from one to another.
Thank you for help, this is released in nuget v2.2.5
from toastnotifications.
Related Issues (20)
- width HOT 1
- Post an Update to Nuget?
- window positions "top center" is missing
- Please update the nuget to be compliant with NET CORE 3.1 HOT 2
- wpf app crashes when toast notification is launched HOT 1
- Cannot find resource named 'SuccessIcon'. Resource names are case sensitive. HOT 1
- Change font of message
- can show the notification in desktop not the application mainwindow? HOT 1
- Toasts not remove from 'Application.Current.Windows' after hide action
- Can I show some notifications with TimeAndCountBasedLifetimeSupervisorand CountBasedLifetimeSupervisor?
- Height HOT 1
- Changing 'NotifierConfiguration' at Run time? HOT 1
- Object reference not set to an instance of an object HOT 6
- Does not display on Server 2016 with Open-Shell installed
- Strong Named
- 'Application' does not contain a definition for 'Current'
- Overlapping issue
- Please update the nuget to be compliant with .NET 6 HOT 2
- MessageTemplate
- Is it possible for you to create a Notification Center?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toastnotifications.