Dimillian / Dimillian/IceCubesApp

Bug: Application crashes on Mac after reading a notification and minimizing window

Open
#2,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

Description

Environment:

  • OS: macOS Tahoe 26.4 (25E246)
  • IceCubesApp version: 2.1.3

Description

IceCubes crashes each time I get and read a new notification, after I minimize the application window. Steps to reproduce:

  1. Go to Chronology view
  2. Wait until a new notification appears
  3. Switch to Notifications view
  4. Switch back to Chronology view
  5. Minimize application window
  6. App crashes after a few seconds.

I cloned the repo and ran the app in Xcode, and it seems to be related to a missing SceneDelegate instance in a view's environment: "SwiftUICore/Environment+Objects.swift:34: Fatal error: No Observable object of type SceneDelegate found. A View.environmentObject(_:) for SceneDelegate may be missing as an ancestor of this view."

Asked Claude to suggest a fix but to be honest my experience in swift/swiftUI is close to zero, So I would prefer someone with better understanding of the tech stack and code base to have a look at it.

I can provide the crash dump if needed.

Related Issues

  • Search that this bugs don't already exist before creating it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run IceCubesApp in Xcode and reproduce the Chronology-to-Notifications-to-Chronology flow before minimizing the window. Investigate the reported missing SceneDelegate environment object in the affected view; done means the app no longer crashes after reading a notification and minimizing the window.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.