Giter Club home page Giter Club logo

Comments (5)

ClementTsang avatar ClementTsang commented on June 20, 2024 1

New behaviour is that it'll return whatever sysinfo returns, which generally seems to match whatever it is named in File Explorer. For drives with no name, for now, I instead return No Name, as I'm not sure if leaving it blank would cause confusion.

from bottom.

ClementTsang avatar ClementTsang commented on June 20, 2024

That's not really a bug, it's currently intentional behaviour, though I can look to changing it if possible. Windows reports weird-looking drive names with the library I was using.

from bottom.

Scripter17 avatar Scripter17 commented on June 20, 2024

...So the intended behaviour is to... sort alphabetically by drive ID instead of what the drive is named...

I can understand this being a "I can't be bothered to fix this" problem because it's the exact kind of obvious feature windows would make hard (at least without spawning a wmic process each time you want to get the disk info) but this does not at all look like intended behaviour.

I'm really am sorry if I'm coming off as rude but I am just baffled

from bottom.

ClementTsang avatar ClementTsang commented on June 20, 2024

The original and intended behaviour was sorting by whatever was in the disk name column, yes, especially prior to being able to sort by any column. And the returned name for a drive on Windows has always been this weird name.

I'm fine with changing it to be nicer (if reasonably possible) but it isn't exactly a bug how it currently is, hence why I closed it. If you would prefer, I can reopen this as a feature request.

from bottom.

ClementTsang avatar ClementTsang commented on June 20, 2024

Looks like #1064 will end up changing this anyway, though currently the behaviour for some drives is that it'll just return a blank name now.

from bottom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.