1.5.2: Empty "Size" label is not hidden when "File Type" is presented
Posted: Thu Aug 03, 2023 2:49 pm
XnView: MP 1.5.2 - 64 bit
OS: Windows 64bit
Empty (({Size})) label is not hidden when there is a {File Type} label on the same line.
Effect: Size is displayed as "0 Bytes"
To reproduce:
1. Go to Settings > Thumbnail > Labels
2. Add a custom labels line:
3. Add another custom labels line:
4. Confirm setting change
5. Examine thumbnails for a file and for a directory
Actual behaviour (bug):
OS: Windows 64bit
Empty (({Size})) label is not hidden when there is a {File Type} label on the same line.
Effect: Size is displayed as "0 Bytes"
To reproduce:
1. Go to Settings > Thumbnail > Labels
2. Add a custom labels line:
Code: Select all
foo (({File Type})) (({Size}))
Code: Select all
foo (({Size}))
5. Examine thumbnails for a file and for a directory
Actual behaviour (bug):
- "foo (({File Type})) (({Size}))" is displayed:
- for directory as foo··0·Bytes ("·" is a space character)
- for file as foo·JPG·207.03·KiB
- "foo (({Size}))" is displayed:
- for directory as ·
- for file as foo·207.03·KiB