https://bugs.kde.org/show_bug.cgi?id=409123

            Bug ID: 409123
           Summary: Notification does not show
           Product: Snoretoast
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: vonr...@kde.org
          Reporter: dan...@safing.io
  Target Milestone: ---

SUMMARY

The Notification does not show, also, there is no debug output.
I'm sorry for the vague report, it's all I have at this point.

STEPS TO REPRODUCE

1. Download SnoreToast nightly (commit
4240c64dc51ea71b00a603c96f84e9cd0c53874b)
2. Run the Installer
3. Run `SnoreToast.exe -t Hello -m World`

Alternatively:

1. Download sources (commit 4240c64dc51ea71b00a603c96f84e9cd0c53874b)
2. Compile with MSVC 19.21.27702.2 (cmake, nmake)
3. Run `SnoreToast.exe -t Hello -m World`

OBSERVED RESULT

No Notification is shown.
While the nightly version reports a return code of 0, the locally compiled
version reports an error code of 5.

Also, no log output in DebugView++.

EXPECTED RESULT

Notification is shown.
Optionally, log output in DebugView++.

SOFTWARE/OS VERSIONS
Windows: Version 10.0.17763 Build 17763

ADDITIONAL INFORMATION

An older (beginning of June 2019) locally compiled version gave this log
output:

```
 "Y:\\Notifications\\SnoreToast.exe" v 0.5.99 
         long __cdecl LinkHelper::tryCreateShortcut(const class
std::filesystem::path &,const class std::filesystem::path &,const class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct
std::char_traits<wchar_t>,class std::allocator<wchar_t> > &) 
                 Path: 
"C:\\Users\\dee\\AppData\\Roaming\\Microsoft\\Windows\\Start
Menu\\Programs\\SnoreToast\\0.5.99\\SnoreToast.lnk"  already exists, skip
creation of shortcut
 "Y:\\Notifications\\SnoreToast.exe" v 0.5.99 
         void __cdecl SnoreToasts::printXML(void) 
                 ------------------------
                         <toast
launch="action=clicked;notificationId=1828;version=0.5.99;"><visual><binding
template="ToastText02"><text id="1">Hello</text><text
id="2">World</text></binding></visual><audio
src="ms-winsoundevent:Notification.Default" silent="false"/></toast> 
                 ------------------------
 "Y:\\Notifications\\SnoreToast.exe" v 0.5.99 
         long __cdecl SnoreToasts::createToast(void) 
                 Error: -2147023728 Element not found. Error: -2147023728
Element not found.
 "Y:\\Notifications\\SnoreToast.exe" v 0.5.99 
         long __cdecl SnoreToasts::createToast(void) 
                 Error: -2147023728 Element not found. Error: -2147023728
Element not found.
 "Y:\\Notifications\\SnoreToast.exe" v 0.5.99 
         long __cdecl SnoreToasts::displayToast(const class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct
std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class
std::filesystem::path &) 
                 Error: -2147023728 Element not found. Error: -2147023728
Element not found.
```

Also, I just realized that nothing ever happens, no matter what parameters I
give, I have the feeling they are being completely ignored. I'll open a
seperate issue for that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to