Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen saver doesn't start #2

Closed
tetsuo13 opened this issue May 4, 2020 · 1 comment
Closed

Screen saver doesn't start #2

tetsuo13 opened this issue May 4, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tetsuo13
Copy link
Owner

tetsuo13 commented May 4, 2020

Scenario: I installed the screen saver weeks ago. It has been running as expected until several days ago. Windows is configured to start the screen saver after 10 minutes of inactivity. At the 10 minute mark, the entire screen quickly flickers and the screen saver never starts. This behavior repeats every 10 minutes of inactivity.

This behavior can be attributed to the bug described in dotnet/runtime#3778 in which the temporary directory where the screen saver library is extracted to is automatically deleted by the periodic Windows cleanup routines. Once Windows clears the temporary directory, the screen saver will never run again.

Event Viewer will have an entry similar to this:

Source: .NET Runtime
Event ID: 1023
Description: A .NET Core application failed.
Application: PIWIGO~1.SCR
Path: C:\WINDOWS\system32\PIWIGO~1.SCR
Message: The application to execute does not exist: 'C:\Users\Andrei\AppData\Local\Temp\.net\PIWIGO~1.SCR\o1o5oh4v.eic\PiwigoScreenSaver.dll'.

According to dotnet/core-setup#9013 this is slated to be fixed in .NET Core 3.1.4 at which point all that should be required is to update the SDK, build, and release.

As a workaround until then, deleting the C:\Users\%USERNAME%\AppData\Local\Temp\.net\PIWIGO~1.SCR directory should be safe enough.

@tetsuo13 tetsuo13 added the bug Something isn't working label May 4, 2020
@tetsuo13 tetsuo13 self-assigned this May 4, 2020
@tetsuo13
Copy link
Owner Author

tetsuo13 commented Jun 3, 2020

Published 1.2.1 built with netcore 3.1.4.

@tetsuo13 tetsuo13 closed this as completed Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant