View Issue Details

IDProjectCategoryView StatusLast Update
0004912SUMoNew Featurepublic2018-05-27 10:34
ReporterMrAndreasAssigned ToKyle_Katarn 
PrioritynormalSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version5.6.5 
Target VersionFixed in Version 
Summary0004912: Notification Centre Notification when out-of-date software is detected
DescriptionWhen SUMo performs a background scan at start-up and it detects out-dated software, there should be an option to display a Notification Centre notification to bring this to the user's attention. Clicking the notification should open SUMo with the list sorted so that the the most out-of-dated software is on top of the list.

As an option, there should be a setting that only displays a notification if there has been changes since the last user-approved state. This would require the need to snapshot the current user versions against the current latest version and store them as a snapshot. These values could be displayed as two additional columns in SUMo.
TagsNo tags attached.

Relationships

related to 0003988 acknowledgedKyle_Katarn pop-up notification 

Activities

MrAndreas

2018-05-13 09:49

reporter   ~0002911

See related: 0004913

Kyle_Katarn

2018-05-13 18:22

administrator   ~0002914

Good idea. I'm looking for source code sample in D7 to do the job...

MrAndreas

2018-05-17 08:49

reporter   ~0002916

Microsoft appear to be keeping the API to themselves and only providing an interface via UWA apps. One of the comments on the following page, however, provides a link to a GitHub repository that appears to expose the API (or at least parts of it). Using the headers this can be converted to a suitable Delphi interface. Note that the Notification Centre used to be called Action Centre.

https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/08/toast-notification-and-action-center-overview-for-windows-10/


The GitHub repository...

https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/DesktopToasts


According to this article the Action Centre API is published and available in their SDK...

https://mspoweruser.com/developers-heres-a-developers-guide-to-the-action-center-on-windows-10/


Some UWA instructions that most likely won't be of much help for use with Delphi...

https://developer.microsoft.com/en-us/windows/projects/campaigns/windows-dev-essentials-action-center-notifications-and-toast?ocid=wdevessntlsq3fy17_intreferral_dmc_null_null_cledevessntlslst_polish&utm_campaign=wdevessntlsq3fy17&utm_medium=internal_referral&utm_source=dmc&utm_content=cledevessntlslst_polish

Kyle_Katarn

2018-05-17 20:58

administrator   ~0002917

Looks like not possible in D7... i'll keep on investigating !

MrAndreas

2018-05-17 22:17

reporter   ~0002918

I could write a simple Delphi wrapper for it if needed. I have done so for other Windows APIs that have had no native Delphi support. It's not very difficult, it just takes a bit of time and requires access to the headers, but if Microsoft has included it in their SDK, then all the information that's required is there.

Kyle_Katarn

2018-05-17 23:13

administrator   ~0002919

That would be great !

MrAndreas

2018-05-27 09:11

reporter   ~0002937

The latest documentation on "toast notifications" as Microsoft now calls them.

https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl

Hopefully this name sticks, third time lucky as they say.

Here's some historical thread on some of the issues people have been having...

https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/10/16/quickstart-handling-toast-activations-from-win32-apps-in-windows-10/

MrAndreas

2018-05-27 09:31

reporter   ~0002938

This may also be of interest...

https://stackoverflow.com/questions/49661880/toast-notifications-do-not-work-when-application-packaged-into-appx-package

However, the best link is still the docs one, i.e., the following one...

https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl

Note the link to GitHub and other resources at the end of the article.

Kyle_Katarn

2018-05-27 10:34

administrator   ~0002939

What an overcomplicated design...

Issue History

Date Modified Username Field Change
2018-05-13 09:42 MrAndreas New Issue
2018-05-13 09:49 MrAndreas Note Added: 0002911
2018-05-13 18:21 Kyle_Katarn Assigned To => Kyle_Katarn
2018-05-13 18:21 Kyle_Katarn Status new => acknowledged
2018-05-13 18:22 Kyle_Katarn Note Added: 0002914
2018-05-13 18:22 Kyle_Katarn Target Version => 5.6.x
2018-05-13 18:23 Kyle_Katarn Relationship added related to 0003988
2018-05-17 08:49 MrAndreas Note Added: 0002916
2018-05-17 20:58 Kyle_Katarn Note Added: 0002917
2018-05-17 22:17 MrAndreas Note Added: 0002918
2018-05-17 23:13 Kyle_Katarn Note Added: 0002919
2018-05-27 09:11 MrAndreas Note Added: 0002937
2018-05-27 09:31 MrAndreas Note Added: 0002938
2018-05-27 10:34 Kyle_Katarn Note Added: 0002939
2018-05-27 10:34 Kyle_Katarn Target Version 5.6.x =>