DiffusionToolkit icon indicating copy to clipboard operation
DiffusionToolkit copied to clipboard

[BUG] Underscore in Album names not displaying correctly

Open jonk999 opened this issue 8 months ago • 2 comments

Describe the bug In order to have my albums display in a specific order in the tree I use an underscore (or in some cases 2) in the album names to have certain albums at the top. I have noticed that while the albums are sorted correctly, not all show the name correctly. Also, if within the album name is an underscore, it may or may not show.

Version: 1.9.1 (as this fixes the browsing of folders without crashing) - Just as a note I had to look at the version.txt file as I don't seem to have a Help, About to see the version number.

To Reproduce I created a new album starting with two underscores (eg: __test), it displayed as only having one underscore at the beginning. Renaming the album to have one underscore at the beginning, it then displays without an underscore. However, it you hover on the album name, it shows the correct name.

If I create a new album with an underscore within the name, it doesn't display the underscore in the name. But when hovering over it, it shows the correct name and it also sorts correctly.

Expected behavior The folder name will display correctly as named.

Screenshots In the below image, airline and beach don't begin with an underscore. All albums prior to those do have one. Also, if there is an underscore within the album name, it may or may not display. But again, the album sorts correctly. Image

jonk999 avatar Apr 30 '25 23:04 jonk999

This is a quirk in .NET where underscore is used as a keyboard shortcut indicator on certain controls like menus, buttons and labels. Thanks for pointing it out, should be easy to fix.

RupertAvery avatar May 02 '25 12:05 RupertAvery

Downloaded the build with the fix and all good. Thank you!

jonk999 avatar May 06 '25 22:05 jonk999