XcodesOrg / XcodesOrg/XcodesApp
Duplicate confirmation prompt when deleting runtimes
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.6k
- Forks
- 387
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 3
Description
Describe the bug
When attempting to delete a runtime, the Settings panel opens up and two confirmation prompts are triggered.
Attached is a screenrecording demonstrating the bug.
To Reproduce
Steps to reproduce the behavior:
- Open Xcodes
- Click Installed Platforms
- Click on the trash bin icon on the right side of a runtime
Expected behavior
A clear and concise description of what you expected to happen.
- For a single confirmation prompt to show up
Actual behavior
- Settings panel opens and second prompt is triggered
Screenshots
If applicable, add screenshots to help explain your problem.
https://github.com/user-attachments/assets/c1460dd9-a4e8-428f-abd9-79847ebc3cd7
Version
- OS: macOS 15.2 Developer Seed 2 (24C5057p)
- Xcodes: 2.4.0 (29)
Additional notes
I was able to reproduce this on a stable release of macOS as well.
I'll see if I can find some time to find out what part of the codebase is the likely culprit (and create a PR if I do figure it out)
Contributor guide
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
Reproduce the issue from the Installed Platforms view by using the trash-bin action on a runtime, then trace the confirmation flow and the Settings panel it opens. Done means deleting a runtime presents one confirmation prompt and does not open the Settings panel unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100