8000 macOS: recover UI after sleep using NSWorkspace wake notifications by Farcimin · Pull Request #284 · feather-wallet/feather · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@Farcimin
Copy link

Problem

On macOS after a long sleep, Feather may hang with a spinning cursor when clicked from the tray and never show a window. Force quit + relaunch is required.

Repro

  1. Launch Feather on macOS.
  2. Put the system to sleep for a long period.
  3. Wake the system and click the Feather tray icon.
  4. The app becomes unresponsive; no window appears.

Fix

Subscribe to native macOS sleep/wake notifications (NSWorkspaceWillSleep/DidWake) via a small Objective-C++ observer and trigger UI recovery on wake. This avoids heuristics and ensures recovery runs only on actual wake events.

Notes

  • macOS-only; no changes to other platforms.
  • Workaround for tray/UI not resuming correctly after sleep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet
4569

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0