nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

Visual bug in local library progress bar

Open rkben opened this issue 1 year ago • 2 comments

Platform: macOS Sonoma 14.5, arm64

Nuclear version: git master: https://github.com/nukeop/nuclear/commit/022ba2b98302939222bbe7dabb397ef0934c3b51

Description of the issue: Visual bug in local library progress bar. I suspect this is due to the width of the characters in the total number 34857. The currently scanned count is not viewable at all until its width is 4 characters wide.

image

rkben avatar Jul 15 '24 03:07 rkben

You're right, we're using this library: https://react.semantic-ui.com/modules/progress/

I guess this can be handled by CSS. By the way, did you notice any improvement in the scanning time? Did it handle your library well?

nukeop avatar Jul 15 '24 07:07 nukeop

Bit of padding looks like it fixed it without looking too strange. Demo: https://codesandbox.io/s/semantic-ui-example-forked-9rvtl5?file=/example.js

.progress {
    .bar {
        padding-left: 100px;
    }
}

RE: library scan I'd say its on par with other media players such as Foobar2000 and Cog. Around 1 hour to import (give or take 20 minutes). The UI interaction being locked for an extended period of time is a bit annoying, but that's typical behavior with large libraries in other audio players.

It does seem to crash eventually once it tries to display the entries, but that was with devtools open and running in development mode. Another scan is in progress using the release build.

Edit: Off-topic scanner performance continued in #help thread via Discord.

rkben avatar Jul 15 '24 08:07 rkben