Strange behaviour of size column in LV
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
JoTo
- Posts: 23
- Joined: 18 Oct 2007 12:08
Strange behaviour of size column in LV
Hi XYplorer Forum,
i am using:
XYplorer 6.40.0003
Windows XP SP2
Since the last two updates i have a strange behaviour of the size column in listview.
Up to then i have had all the time the column size display format set to "Show space used and Bytes".
Since the update to v 6.40.0000 i get with that format setting strange numbers in the size column.
e.g.
File Size -> Showing up as
22749184 -> 22
8806400 -> 8
278528 -> 278
So only the first, first two or first 3 digits of the real filesize is shown. o_O huh? (Can send screenshot if you need!)
The size column is wide enough to show the big numbers, and when i switch the format to "raw bytes" the correct file sizes are shown in the size column. But in the raw bytes format i miss the dots that makes it easier to recognize if this is a KB, MB or GB number.
Can't use the other formats with KB, MB and so on, because i often need the exact bytesize.
Any idea if there is a wrong setting in the options/inifile? Or is this a bug in the 6.40.x versions?
Any hint that enlightens and point me in the right direction are really appreciated.
TIA very much
JoTo
i am using:
XYplorer 6.40.0003
Windows XP SP2
Since the last two updates i have a strange behaviour of the size column in listview.
Up to then i have had all the time the column size display format set to "Show space used and Bytes".
Since the update to v 6.40.0000 i get with that format setting strange numbers in the size column.
e.g.
File Size -> Showing up as
22749184 -> 22
8806400 -> 8
278528 -> 278
So only the first, first two or first 3 digits of the real filesize is shown. o_O huh? (Can send screenshot if you need!)
The size column is wide enough to show the big numbers, and when i switch the format to "raw bytes" the correct file sizes are shown in the size column. But in the raw bytes format i miss the dots that makes it easier to recognize if this is a KB, MB or GB number.
Can't use the other formats with KB, MB and so on, because i often need the exact bytesize.
Any idea if there is a wrong setting in the options/inifile? Or is this a bug in the 6.40.x versions?
Any hint that enlightens and point me in the right direction are really appreciated.
TIA very much
JoTo
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
I can confirm this.
I'm guessing it's a localization issue pertaining to using a period to separate digit groups rather than a comma.
It displays the first grouping of digits, or what it believes is the integer representation.
If you don't mind the switch you can go to
Control Panel
-> Regional and Language Options
-> Regional Options
-> Customize
-> Numbers
Then change the "Digit grouping symbol" to something other than a period.
At least it provides a fix until Don can take a look into it.
EDIT: Should also note it affects the filesize section of the status bar and the info pane's properties tab.
I'm guessing it's a localization issue pertaining to using a period to separate digit groups rather than a comma.
It displays the first grouping of digits, or what it believes is the integer representation.
If you don't mind the switch you can go to
Control Panel
-> Regional and Language Options
-> Regional Options
-> Customize
-> Numbers
Then change the "Digit grouping symbol" to something other than a period.
At least it provides a fix until Don can take a look into it.
EDIT: Should also note it affects the filesize section of the status bar and the info pane's properties tab.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Strange behaviour of size column in LV
And you don't have the problem in 6.40.0000??JoTo wrote:i am using:
XYplorer 6.40.0003
Windows XP SP2
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Strange behaviour of size column in LV
I tested it on a few previous version I still have archives for by changing my settings as described above and using a period for digit grouping separator and it happens in:admin wrote:And you don't have the problem in 6.40.0000??JoTo wrote:i am using:
XYplorer 6.40.0003
Windows XP SP2
6.40.0004
6.40.0000
6.30.0056
6.30.0044
6.20.0009
All on XP SP2.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Strange behaviour of size column in LV
I use a period for digit grouping as well and I don't have a problem here.TheQwerty wrote:I tested it on a few previous version I still have archives for by changing my settings as described above and using a period for digit grouping separator and it happens in:admin wrote:And you don't have the problem in 6.40.0000??JoTo wrote:i am using:
XYplorer 6.40.0003
Windows XP SP2
6.40.0004
6.40.0000
6.30.0056
6.30.0044
6.20.0009
All on XP SP2.
FAQ | XY News RSS | XY X
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Well, I can't. I usually don't have "Show space used", but either way it works fine here. I tried putting a dot as separator (my default was some weird kind of space, then switched to space for easier use with selection filter) and every time it works fine.TheQwerty wrote:I can confirm this.
Same XY, and XP SP2 as well.
Proud XYplorer Fanatic
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Strange behaviour of size column in LV
I typed it myself, so it's just a normal period.admin wrote:I use a period for digit grouping as well and I don't have a problem here.![]()
But I vaguely remember a case reported by some user where that "period" was not a period but some UNICODE character looking like period! Can you check that?
I think it's related to using a digit grouping symbol that is not the default for that region.
I currently use "English (US)" and if I go to Customize and then change digit grouping symbol to period it cuts them off.
If I switch to use "German (Germany)" and don't change the grouping XY displays it fine. If I then go to Customize and change the separator to a comma XY cuts it off again.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
What about the other size formats (KB, KB rounded, etc). Do some of them print the numbers with separator okay, and others not?
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: Strange behaviour of size column in LV
I think I got it. You do realize that dot is not used there in English, but as decimal separator right?TheQwerty wrote:I currently use "English (US)" and if I go to Customize and then change digit grouping symbol to period it cuts them off.
It seems to occur when you use the same characer as separator for both decimal & thousand separator.
So if you have dot for decimal separator, and put it as thousand separator as well, XY does cut numbers indeed!
Proud XYplorer Fanatic
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Strange behaviour of size column in LV
Of course, we do it correctly here in America. Group with comma and period for decimal.jacky wrote:I think I got it. You do realize that dot is not used there in English, but as decimal separator right?TheQwerty wrote:I currently use "English (US)" and if I go to Customize and then change digit grouping symbol to period it cuts them off.
Yep, that's what it is.jacky wrote:It seems to occur when you use the same characer as separator for both decimal & thousand separator.
So if you have dot for decimal separator, and put it as thousand separator as well, XY does cut numbers indeed!
EDIT: Correcting tags.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Strange behaviour of size column in LV
I actually pass the numbers to some API (GetNumberFormat). So if this comes out wrong, it's a bug in the API I have to workaround.jacky wrote:I think I got it. You do realize that dot is not used there in English, but as decimal separator right?TheQwerty wrote:I currently use "English (US)" and if I go to Customize and then change digit grouping symbol to period it cuts them off.
It seems to occur when you use the same characer as separator for both decimal & thousand separator.
So if you have dot for decimal separator, and put it as thousand separator as well, XY does cut numbers indeed!
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Strange behaviour of size column in LV
Okay, I could reproduce it too by setting decimal and thousand separator to the same char (which is a stupid thing to do...
). Interesting bug!
FAQ | XY News RSS | XY X
-
JoTo
- Posts: 23
- Joined: 18 Oct 2007 12:08
You all are right!
Hi all you above me :-),
first let me thank you all for so much rumour and effort for my silly problem. You are great.
The thing with the decimal separator was sth. i haven't thought about. And you are all right.
Somehow (don't ask me why - i have changed nothing - ok, i'm in support too and i know every customer claims that
) my number decimal sign was changed to dot instead of comma. The currency format was correct. Some program must have fiddled with these settings as my unit system also was changed to us-units instead of metric.
I changed my number format back to dot as the thousand separator and the comma as decimal separator. And XYPlorer shows the sizes in correct format again.
Somehow the change in the settings must have taken place at the same time i upgraded from 5.30.x to 6.40.0000. And so i blamed XYPlorer accidentally. Sorry for that Don!
I'm now happy again. Thanks again you all for your effort!
CU
JoTo
first let me thank you all for so much rumour and effort for my silly problem. You are great.
The thing with the decimal separator was sth. i haven't thought about. And you are all right.
Somehow (don't ask me why - i have changed nothing - ok, i'm in support too and i know every customer claims that
I changed my number format back to dot as the thousand separator and the comma as decimal separator. And XYPlorer shows the sizes in correct format again.
Somehow the change in the settings must have taken place at the same time i upgraded from 5.30.x to 6.40.0000. And so i blamed XYPlorer accidentally. Sorry for that Don!
I'm now happy again. Thanks again you all for your effort!
CU
JoTo
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: You all are right!
That's fine, and you're welcome.JoTo wrote:I'm now happy again. Thanks again you all for your effort!
Still you discovered a bug which will be fixed.
FAQ | XY News RSS | XY X
XYplorer Beta Club