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

Altus needs to be closed and reopened when resuming PC from suspension mode #120

Open
maicol07 opened this issue Jan 21, 2021 · 14 comments
Open
Labels
bug Something isn't working

Comments

@maicol07
Copy link
Contributor

maicol07 commented Jan 21, 2021

Describe the bug
Altus needs to be closed and reopened when resuming PC from suspension mode

To Reproduce
Steps to reproduce the behavior:

  1. Open Altus and minimize in taskbar
  2. Suspend the PC
  3. Resume PC
  4. After login to Windows, Altus is bugged and you need to close it from app bar and reopen it from taskbar icon

Expected behavior
Should stay close in taskbar

Information:
Altus v4.0.0-beta2

Windows 10

@maicol07 maicol07 added the bug Something isn't working label Jan 21, 2021
@amanharwara
Copy link
Owner

Can you tell me what you mean by "Suspend the PC"?

I tried to reproduce this first by locking Windows then unlocking it and second by clicking "Sleep" in the start menu and then re-starting. But I couldn't reproduce this neither of the times.

Would it be possible to send a screen recording of when Altus is bugged and what you do after that? You can use ScreenToGif to record it, in case you don't know how to.

@maicol07
Copy link
Contributor Author

I think that this is an electron issue since also Discord has this issue.

Basically, when Windows wakes up from sleep/suspension the electron app freezes and no action can be done except reopening the app from the taskbar which unfreezes it.

Reference: node-usb/node-usb#220

@amanharwara
Copy link
Owner

Huh, that's a weird bug. I wasn't able to reproduce it, though.

@maicol07
Copy link
Contributor Author

It does this sometimes, not all the times I wake up Windows

@amanharwara
Copy link
Owner

Do you reckon it only happens after a certain amount of time in Sleep mode or is it random?

@maicol07
Copy link
Contributor Author

Mmmm... I don't remember how time was passed... next time it will show up again I'll write here

@maicol07
Copy link
Contributor Author

maicol07 commented Jan 21, 2021

Found another related bug. I've updated Intel UHD Graphics drivers and I have this issue but now the Altus (and Discord) window turned black (the black app in the background is Discord):
immagine

Like the original, reopening the Electron app from the taskbar fixes it.

@amanharwara
Copy link
Owner

Probably a bug with Electron itself.

@amanharwara
Copy link
Owner

Have you checked to see whether this still happens?

@maicol07
Copy link
Contributor Author

Yes. This bug also happens when attaching a second screen

@amanharwara
Copy link
Owner

Is it Altus only or other Electron apps as well?

@maicol07
Copy link
Contributor Author

No. Even Discord has the same issue

@amanharwara
Copy link
Owner

@maicol07 Does this issue still occur? (Test with latest version if you can)

@maicol07
Copy link
Contributor Author

I don't know. I'm not using Altus anymore since the new WhatsApp Beta app is out. I'll keep this open to see if someone else has this issue

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

2 participants