sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
807 stars 39 forks source link

Program hangs when waking from sleep #6323

Open liijit opened 7 months ago

liijit commented 7 months ago

Description of the bug

I haven't pin pointed exactly whats causing it but it often happens whenever I wake my device from sleep state. Not sure if this happened prior build 4170.

Steps to reproduce

Hard to say if someone can replicate my environment

  1. Start Sublime Text
  2. Open up < 10 projects
  3. AFK and return back within an hour

Expected behavior

Focusing on the window from sleep mode should be almost immediate

Actual behavior

iirc this clip shows waking from sleep from the previous night. Maybe < 8 hours. I'm able to use the program once it stabilises. It eventually returns to 800mb, this is with 10~ opened projects

https://github.com/sublimehq/sublime_text/assets/5007796/8b774d54-f720-47d8-89da-f11c44a339ee

Probably Build: 4170

Maybe I could work with build 4169 and see if it occurs there and report back?

Sublime Text build number

4170-73

Operating system & version

macOS 14.3.1

(Linux) Desktop environment and/or window manager

No response

Additional information

Apple M1, 8GB RAM

OpenGL context information

No response

BenjaminSchaaf commented 7 months ago

Can you use Activity Monitor to sample the process and post the result here?

liijit commented 7 months ago

Sure, I'll post back when it happens next