Skip to content

A calendar event without a title could crash the bar #226

Closed

Description

@Seb-GRAF

What happens

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.

Diagnosis

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 22, 2026
  2. stablebar-releases commented on Oct 23, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.6.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions