Skip to content

Minor UI issue: On windows, connecting to filesystem shows filesystem path as "/" #328

@ericzundel

Description

@ericzundel

CircuitPython Version

Adafruit Circuit Python 9.2.8

Workflow(s)

USB

Browser(s)

Version 138.0.7204.98 (Official Build) (64-bit)

Console Log

Initializing File Transfer Client...  index.js:116 
New folder name: \

Steps

  1. Connect a board that has native USB filesystem support (like a RP2040 board, or an Adafruit Metro M7)
  2. Connect to the board.
  3. After selecting the port in step 1, it asks you to pick the path to the CircuitPython Device
  4. It puts up a button that says "Use " if everything goes well on Windows.

Description

There is a button that says, "Use \" that you have to click on:

Image

This is very confusing to Windows Users. I realize on Unix filesystems it would show something unique, when you select a drive, but on Windows there may be many "\" directories, one for each drive mounted.

Reading through the documentation, the drive letter and other things to help the browser are intentionally omitted for security. IMHO, it would be better to just show an "OK" button (or to just accept the selection without additional confirmation?)

Additional information

This is quite minor, but I thought it might be a good starter bug for someone (maybe me)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions