cockpit-navigator icon indicating copy to clipboard operation
cockpit-navigator copied to clipboard

Info column - Shown multi-selected file amount is one number greater

Open dnso86 opened this issue 1 year ago • 0 comments

Bug Info

Describe the bug Info pane shows a number one greater amount of selected files when the selection is done with CTRL pressed to begin with (multi select).

To Reproduce Steps to reproduce the behavior:

  1. File view
  2. Click on any entry with CTRL already pressed
  3. The info column shows 2 selected
  4. Select more files - it'll always show n+1 selected.

Expected behavior The info column should have shown 1 selected.

Screenshots

Console Output

(...)
The resource from “https://[REDACTED]:9090/cockpit/@localhost/*/po.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[index.html](https://[REDACTED]:9090/cockpit/@localhost/navigator/index.html#/)
Loading failed for the <script> with source “https://[REDACTED]:9090/cockpit/@localhost/*/po.js”.
(...)

These entries might not be relevant as they show up already before navigating to Cockpit Navigator in Cockpit.

Client Side

Desktop

  • Browser Firefox
  • Version 122.0.1

Server Side

  • OS: Fedora CoreOS 39.20240128.3.0
  • Cockpit Version: 310.2
  • cockpit-navigator Version: 0.5.10

dnso86 avatar Feb 21 '24 17:02 dnso86