cockpit-navigator
cockpit-navigator copied to clipboard
Info column - Shown multi-selected file amount is one number greater
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:
- File view
- Click on any entry with CTRL already pressed
- The info column shows 2 selected
- 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