XcodesOrg / XcodesOrg/XcodesApp

Duplicate confirmation prompt when deleting runtimes

Open
#647 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. Open Xcodes
  2. Click Installed Platforms
  3. 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.

  1. For a single confirmation prompt to show up

Actual behavior

  1. 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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.