rancher-sandbox/rancher-desktop

Images: All images checkbox always disabled and checked with moby

Opened this issue · 0 comments

Actual Behavior

In the images tab, the All Images checkbox is always disabled and checked when using moby, without a tooltip to describe why.

image

Steps to Reproduce

  1. Start Rancher Desktop with moby container engine
  2. Navigate to the Images tab in the main window.
  3. Try to determine what the All Images checkbox does, and why it's disabled but checked.

Result

It is unclear why it is checked.

Expected Behavior

Either the checkbox is not display when never applicable, or a tooltip describes why the checkbox is disabled.

Additional Information

The checkbox is disabled when the view doesn't support showing all images:

<Checkbox
class="all-images"
:value="showAll"
:label="t('images.manager.table.label')"
:disabled="!supportsShowAll"
@input="handleShowAllCheckbox"
/>

That happens if the current namespace (which is always undefined on moby) is not k8s.io:

supportsShowAll() {
return this.selectedNamespace === 'k8s.io';
},

So I think we just need some tooltips to say why.

Rancher Desktop Version

1.17.0-g77398647d

Rancher Desktop K8s Version

N/A

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Pro 23H2 (Build 22631.4602)

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response