Bug 429656

Summary: WSL2: Custom icons break notification and cause it to say "SnoreToast // New Notification" without the real title or message content [specifically in linux filesystem, works fine in mounted volumes]
Product: [Frameworks and Libraries] Snoretoast Reporter: jd <kde>
Component: generalAssignee: Hannah von Reth <vonreth>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: top notification, with no p flag, bottom notification WITH p flag, both triggered from wsl2 linux filesystem

Description jd 2020-11-25 20:01:19 UTC
Created attachment 133651 [details]
top notification, with no p flag, bottom notification WITH p flag, both triggered from wsl2 linux filesystem

SUMMARY
Hello, I believe I've discovered an issue with SnoreToast when executing it within a WSL2 context. 
Specifically, if the "-p" flag is used, the notification simply says "SnoreToast//New Notification" rather than the text sent with the "-t" and "-m" flags

if it is executed with a WSL mounted volume (i.e. /mnt/c) it works fine
however if it is executed directly within WSL's Linux Filesystem (i.e. /root/) the issue is exhibited.
note: dropping the "-p" flag allows the text to be rendered fine from the linux fs

i've outlined some additional info here: https://github.com/mikaelbr/node-notifier/issues/354#issuecomment-733912802

fwiw, I am running Ubuntu-18.04 in my WSL2 context

please let me know if there is anything I can do to help resolve this issue, thank you

STEPS TO REPRODUCE
1. install Ubuntu-18.04 in WSL 2 within Windows
2. try and trigger a notification from within /root/ directory (with and without -p flag, observe results)
3. try and trigger a notification from within /mnt/c/ directory (with and without -p flag, observe results)

OBSERVED RESULT
No icon or small default icon
title overrides / defaults to: Snore Toast
message overrides / defaults to: New Notification
No error message is given as to why the notification failed to handle the provided image

EXPECTED RESULT
at least an error message as to why the image couldn't be loaded
at best, ability to handle images from within the linux filesystem the same way they work from the /mnt/ mounted volumes

SOFTWARE/OS VERSIONS
Windows: windows 10 19041.630
macOS: --
Linux/KDE Plasma: ubuntu-18.04 INSIDE WSL2 on windows
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION