Skip to content

fix(mac): stop the toolbar update loop at launch - #65

Merged
502Proxy merged 1 commit into
mainfrom
fix/launch-toolbar-loop
Oct 28, 2026
Merged

502Proxy merged 1 commit into
mainfrom
fix/launch-toolbar-loop

Conversation

@502Proxy

Copy link
Copy Markdown
Owner

Closes #64

What changes and why?

Die App hing auf main beim Start. Der Stack vom Mac zeigt eine SwiftUI-Update-Schleife um die Fenster-Toolbar (ToolbarStorage.merge → scenesDidChange → …).

Tritt vermutlich nur mit abgelaufener Stud.IP-Sitzung auf (Banner sichtbar), deshalb war die CI davon nicht betroffen.

Checklist

  • Linked issue, labels and milestone set
  • scripts/qa.sh passes locally (SwiftLint + tests): CI läuft
  • New logic has tests in StudyAppTests: reine View-Struktur
  • UI tried in the app (light and dark): bitte lokal starten und prüfen, ob die App startet
  • Data model changes: keine
  • User-visible change: keine (gleiche Darstellung)
  • Docs in docs/ updated where behaviour changed: nicht nötig

Generated by Claude Code

The expired-session banner sat in a top safe-area inset under the window
toolbar, and the study timer had its own toolbar modifier. Together they
made SwiftUI merge and rebuild the toolbar endlessly, so the app hung at
launch. The banner now sits above the content and the window has one
toolbar.
Refs #64

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TmmqmKmX8VDSfoPbzTS1ew
@502Proxy 502Proxy added this to the 1.12 milestone Oct 28, 2026 — with Claude
@502Proxy 502Proxy added the bug Something does not work as intended label Oct 28, 2026 — with Claude

Copy link
Copy Markdown
Owner Author

Dieser Ansatz (Banner/Toolbar) hat den Hänger auf dem Mac nicht behoben. Die Ursache ist die MenuBarExtra-Szene, auf dem Mac mit probe/no-menubar bestätigt. Der Fix ist #66, dieser PR kann geschlossen werden.


Generated by Claude Code

@502Proxy
502Proxy merged commit 33298d3 into main Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something does not work as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(mac): App hängt beim Start mit dem Menüleisten-Symbol

2 participants