imabdk/Toast-Notification-Script

Feature? - Open Software Center in foreground

kheldorn opened this issue · 0 comments

Not sure if this actually feasible or even doable but we have the following problem:

I've defined the following setting in the XML:

<Option Name="Action1" Value="softwarecenter:SoftwareID=ScopeId_968C5854-F7DB-48D1-B4AA-C4DCEAE28031/Application_2360a124-41a9-4d27-a400-41e0a628ad32" />

But upon clicking ActionButton1 the Software Center opens behind other windows. In the Alt-Tab menu it is listed in last place. This is kinda suboptimal because it hides the windows from the user's eyes.
Even worse is when you have a fullscreen RDP connection open. In that case the toast notification pops up nicely in front of the fullscreen RDP window but upon clicking the ActionButton1 the Software Center windows is moved to the background and the user gets confused about where the window went.

Would it somehow be possible to make the Software Center open in the foreground/be the window on top?

The Microsoft documentation https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax#buttons seems to suggest that you can do something like that.