for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

No Visual Indication of Selected Container After Closing Group

Open colinhemmings opened this issue 9 months ago • 0 comments

Description

When selecting a container in Docker Desktop and then collapsing the group it belongs to, there is no visible indication that the container remains selected. This can lead to unintended actions, such as accidentally deleting the container.

Expected Behavior: • The selected container should either remain visible with a selection highlight or provide an alternative visual cue (e.g., a badge or indication in the UI) to show that a selection persists.

Actual Behavior: • The container remains selected, but there is no visible indication of this after collapsing the group. • This can lead to unintended actions, such as deleting the wrong container.

Screenshots: Image Image

Reproduce

Create a container group by starting a compose project if you don't already have one

  1. Open Docker Desktop and navigate to the Containers page
  2. Select a container within a group.
  3. Collapse the group.
  4. Perform an action (e.g., delete, stop) without realizing the container is still selected.

Expected behavior

No response

docker version

Client:
 Version:           28.0.0
 API version:       1.48
 Go version:        go1.23.6
 Git commit:        f9ced58
 Built:             Wed Feb 19 22:07:41 2025
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.40.0 (184002)
 Engine:
  Version:          28.0.0
  API version:      1.48 (minimum version 1.24)
  Go version:       go1.23.6
  Git commit:       af898ab
  Built:            Wed Feb 19 22:10:37 2025
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

Client:
 Version:    28.0.0
 Context:    desktop-linux
 Debug Mode: false

Diagnostics ID

70C295CD-3A93-4ED0-8224-036DAD566E2A/20250305115357

Additional Info

No response

colinhemmings avatar Mar 05 '25 11:03 colinhemmings