anytype-ts
anytype-ts copied to clipboard
Multiple Windows Become Empty/Unresponsive After App Running in Background (macOS)
Have you read a contributing guide?
- [x] I have read CONTRIBUTING.md
- [x] I have searched the existing issues and didn't find any that were similar
- [x] I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
Current Behavior Multiple AnyType windows become empty or unresponsive after the app has been running in the background for an extended period. After Mac sleep or after leaving AnyType in background while working in other apps (30+ minutes), only one window (or sometimes none) retains its content and remains usable. When attempting to open new windows, they appear but remain completely empty/blank (see attached video). The only solution is a complete restart of AnyType. This differs from Issue #1314 as the windows initially work fine but become blank after sleep/background time, not immediately upon opening.
Expected Behavior
All windows should remain functional and display their content after Mac sleep or background time, ready to continue work without requiring app restart.
Steps To Reproduce
Open AnyType and create 2-3 separate windows with different content Scenario A: Put Mac to sleep, then wake it up OR Scenario B: Leave AnyType running in background while working in other apps for 30+ minutes Return to AnyType windows Observe that windows are empty/blank or unresponsive
Environment
- OS: macOS Tahoe 26
- Version: 0.50.5
- Hardware: Apple Silicon M4
Anything else?
Related to Issue #1314 but different trigger/scenario. Problem Severity: This bug has been significantly worse since version 0.50.x and is critical for productivity, as AnyType does not support tabs - multiple windows are the ONLY way to work with several pages simultaneously. Key Differences from #1314:
#1314: Black screen appears immediately when opening new window This issue: Windows work fine initially, become empty only after Mac sleep or extended background time Suggests Window State Restoration or background process suspension issue
Additional Observations:
Occurs both after Mac sleep/wake AND after simply backgrounding AnyType Cannot find "App Nap" option in Finder → Get Info to test that potential fix Issue worsened significantly since version 0.50
Impact: Makes multi-window workflows unusable. Constant restarts disrupt productivity and risk data loss if users don't remember which windows had unsaved content. Technical Note: May be related to how Electron handles window state persistence on macOS when app is backgrounded or system sleeps. Consider investigating BrowserWindow state management and restoration logic.
Attachments: [Video demonstrating empty windows after background/sleep]