Skip to content

WinNUT incorrectly displays a "Not Connected" notification on Resume #145

Open
@yoyoma2

Description

@yoyoma2
  • Searched to see if this issue exists
  • Completed below form
  • Attached debug log file
  • Copy output in File -> UPS Variable

**WinNUT Version: ** v2.2.8719.24624
**Windows OS Version: ** Windows 10 Pro 22H2

Describe the bug
When Windows 10 resumes from hibernation, WinNUT notifications falsely show that it connected then disconnected. It appears that this is a false alarm as WinNUT seems to be connected. The logs below show that the disconnection happens first and the connection happens later albeit the timestamp is identical which may explain the misordered notifications.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Win10 to hibernate and wait for it to happen
  2. Come back hours later and wake up Windows
  3. Look at Windows notifications in the image (most recent notification is at the top):

Expected behavior
The "Connected" notification should appear last since it happened last. Ideally the "Not Connected" notification should appear much earlier when the sleep state is initiated. If I manually shutdown Windows, the "Not Connected" notification is tagged with the time the shutdown was initiated.

Screenshots
WinNUTbug

Additional context
I tried to hibernate manually and immediately resume and that didn't reproduce the problem. I guess the long hibernating time leaves the sockets in a different state than the manual immediate hibernate/resume.

WinNUT-Client-2024-03-28.log
upsvars.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions