Dimillian / Dimillian/IceCubesApp
Bug: Application crashes on Mac after reading a notification and minimizing window
Nobody has claimed this yet.
- 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:
- Go to Chronology view
- Wait until a new notification appears
- Switch to Notifications view
- Switch back to Chronology view
- Minimize application window
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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