-
Notifications
You must be signed in to change notification settings - Fork 168
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
Stacking Notifications #40
Comments
Every Notifier produces its own window in which notifications are displayed. |
I do not think WPF windows support Z-indexing, but you could maybe do something like If you do not want to add this to the official repo, where should I eventually start to make my own fix? :) |
https://github.com/raflop/ToastNotifications/blob/master-v2/Docs/Configuration.md
There is an option to set Notifier to show topmost.
I'm not sure if forcing activate or focus will be good in every application, because this may introduce errors or bad behaviour and irritates users.
Example: User is typing / filling some form, in backgroud some event happens and notification is shown, because will be moved to notification window, user would be forced to stop typing and switch focus to main window.
You can try to add this behaviour on your fork, and create pull request if you get something working, I could test it and include in library if this will be working in some predictable and safe way.
DisplaySupervisor and Notifications window are places where you should start looking.
|
I will look into it. Thanks for your help! :) |
In application with one notifier in Window is all ok, if TopMost option is false - window deactivation / activation hide and show notifications, and move them if Window is moved. |
Setting the topmost property to true on the notifier I wanted ontop worked for my use, so no worries :) |
Great to hear that
|
Is it possible to control the Z index of several Notifiers? I have experienced that if I use more than one notifier in my application (with different settings like liftime etc.) they tend to stack on top of each other. Is there any way I can control this?
The text was updated successfully, but these errors were encountered: