Disable Clone Box while the box is running - #224
Open
kacperpaczos wants to merge 1 commit into
Open
Conversation
distrobox refuses to clone a running container, and BoxBuddy got round that by stopping the box behind the user's back before `create --clone`. The row is now greyed out while the box is up, the same way Delete Box is, and comes back once it is stopped - the Stop button sits right above it. The defensive stop in clone_box stays as a safety net for a box that comes up between the render and the click.
kacperpaczos
force-pushed
the
feat/state-hints
branch
from
August 23, 2026 19:48
fe53860 to
22d9853
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #227
distrobox refuses to clone a running container, and BoxBuddy got round that by stopping the box behind the user's back before
distrobox create --clone— the original box ended up Exited with nothing saying why. The Clone Box row is now greyed out while the box is running, the same way Delete Box is, and comes back once the box is stopped (the Stop button is right above it). The defensivestop_boxinclone_boxstays as a safety net for a box that comes up between the render and the click.Verified on a virtual display with a stub
distrobox listemitting one stopped and one running box (screenshot above).