atomic-tweetdeck icon indicating copy to clipboard operation
atomic-tweetdeck copied to clipboard

Poor recovery from system sleep

Open zauberparacelsus opened this issue 3 years ago • 3 comments

I put my computer into sleep mode every night. When I resume from sleep mode in the morning, atomic-tweetdeck recovers poorly, often with missing UI elements (the left sidebar and the top menu bar). If I use the Reload function, this usually does not fix it and sometimes makes it worse, forcing me to Quit and the restart atomic-tweetdeck in order for things to render properly.

zauberparacelsus avatar Feb 06 '21 15:02 zauberparacelsus

Your problem sounds like an Electron issue or a hardware issue. I don't have any fancy code inside the app, as I stated in the readme, it's just a regular web window just like a tab in Chrome.

From Chrome and Electron app does not start after sleep and wake : hackintosh:

I'm having a rather strange issue, after my mac goes to sleep and wake back up. All the Chrome and chromium app (Electron apps, Slack, VSCode, Discord etc) stops working Safari and other apps still works. Chrome will hang on launch and display a white screen.

Another, electron/electron/issues/2357:

I have application, it's work under electron. If i keep application opened for sometime (3-4 hours), i see white screen and nothing happened.

If you want to try a different Electron version, try this:

git clone https://github.com/dogancelik/atomic-tweetdeck
cd atomic-tweetdeck
npm install electron@11
# or any other version: npm install [email protected]
npm run start

dogancelik avatar Feb 06 '21 22:02 dogancelik

@dogancelik You do realize the solution to the problem is inside the issue you're linking to right? And it's a solution you have to implement in your "Not-fancy-code" ? :P

fjeddy avatar Feb 09 '21 04:02 fjeddy

Okay I added the code and released v0.16.1, I hope this helps.

You can see uncaught exceptions of the main process in the terminal, and of the browser window in DevTools by pressing F12.

dogancelik avatar Feb 09 '21 08:02 dogancelik