Open nikeee opened 3 years ago
Maybe we can replace the flyout with Windows' native notifications, just like we've replaced a lot of stuff with the TaskDialog.
This would eliminate the upload progress. Maybe thats a thing of the past anyway (see #94).
Pointers:
Seems weird that the package has UWP in its name, but seems to work with Winforms, too (and doesn't pull in UWP stuff).
Useful information for the hero image: https://stackoverflow.com/questions/46689877/uwp-toast-notifications-image-from-bitmap
Most likely, we'd have to use this tem dir for the hero image: https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata.temporaryfolder?view=winrt-22000
Is this available in Win32 apps? If so, it would be nice if we migrate all temp folders to this path (except the settings and plugins).
Info regarding appdata: https://docs.microsoft.com/en-us/windows/apps/design/app-settings/store-and-retrieve-app-data
We're shelving the native notifications for now. They solve the DPI problem for us, but they seem pretty weird to use. Some features only seem to be available for appx-packaged applications, which we aren't and don't seem to be in the near future.
I'm against using native Windows notifications (or at least make them configurable) for one simple reason: if you turn them off in the system settings you wouldn't get any feedback.
IMO e. g. progress reporting and other flyouts in HS are not "proper" notifications like I as an end-user understand "notifications".
Speaking against what I just wrote: the builtin Windows 11 screenshot tool it uses the native Windows notifications.
I also don't see this coming in the near future. Maybe some day.
It looks buggy.