You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A calendar event without a title could crash the bar #226
The calendar provider uses EKEvent.title as a non-optional String. If EventKit returns an event with no title, StableBar crashes.
Steps to reproduce
Not known. It would need an event whose title EventKit returns as nil.
Expected
An event without a title shows with an empty title, or a placeholder.
Environment
Found by reading the code on current main. No reporter environment.
Evidence
Read on main at 4160f7f and the macOS SDK. Not reproduced: it's unknown whether EventKit returns nil for real events.
EKCalendarItem.h declares @property(nonatomic, copy, null_unspecified) NSString *title;, so Swift imports it as String!, and each use below unwraps it.
Sources/StableBar/NativeMetrics.swift:100: "title": event.title in a [String: String] literal. meetingFields builds both the next meeting's fields and every row of lists.today (line 85), so one untitled event today is enough.
Activity
stablebar-releases commentedon Oct 23, 2026
🎉 This issue has been resolved in version 0.6.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀