Bug 429656 - 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]
Summary: WSL2: Custom icons break notification and cause it to say "SnoreToast // New ...
Status: REPORTED
Alias: None
Product: Snoretoast
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-25 20:01 UTC by jd
Modified: 2020-11-25 20:01 UTC (History)
0 users

See Also:
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 (29.89 KB, image/png)
2020-11-25 20:01 UTC, jd
Details

Note You need to log in before you can comment on or make changes to this bug.
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