Bug 424503 - Snoretoast does not display a notification when the process is running with the system token.
Summary: Snoretoast does not display a notification when the process is running with t...
Status: RESOLVED WORKSFORME
Alias: None
Product: Snoretoast
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 13:37 UTC by Esteban Garcia
Modified: 2022-11-11 05:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban Garcia 2020-07-21 13:37:45 UTC
SUMMARY
Snoretoast version 0.7.0 does not display a notification when the process is running with the system token.

STEPS TO REPRODUCE
1. Download PsExec from here https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
2. Open a terminal and execute PsExec with the -i (interactive) and -s (system token) parameters to open a new cmd in the user context with the system token ".\PsExec.exe -i -s cmd.exe"
3. In the new cmd.exe execute Snoretoast

OBSERVED RESULT
The notification does not appear. 

EXPECTED RESULT
The notification should appear.


SOFTWARE/OS VERSIONS
Windows: 8 and 10

ADDITIONAL INFORMATION
I have a windows service, the service creates a child process with the system token but running in the user context, from this child process we are able to record the screen and move the mouse but when tried to display a notification with Snoretoast, the notification never appears, I have replicated the behavior with PsExec.
Comment 1 Justin Zobel 2022-10-12 03:49:57 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Hannah von Reth 2022-10-12 07:02:40 UTC
SnoreToast emits notifications on the user account it is logged in with.
Why should it work in system wide scope.
Comment 3 Bug Janitor Service 2022-10-27 05:04:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-11-11 05:21:07 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!