Page 1 of 1

Line Number column auto-size error

Posted: 04 Jul 2009 20:29
by zer0
Using 8.10.0002 beta...

I have a folder with more than 10,000 items and have a global setting to auto-size columns in the List view. However, if there are 10,000 or more items in a folder the "Line Number" column does not auto-adjust to fit a larger number. As per screenshot below:
line_numbers.png
line_numbers.png (1.84 KiB) Viewed 1323 times
EDIT: Just tried with the latest beta and the error still persists. I know that there is nothing in the changelog to indicate a fix for this being present, I just thought maybe some glitch caused it. Turns out it isn't so...

Re: Line Number column auto-size error

Posted: 05 Jul 2009 10:10
by admin
It does not auto adjust: You adjust it manually.

Re: Line Number column auto-size error

Posted: 05 Jul 2009 13:13
by zer0
admin wrote:It does not auto adjust: You adjust it manually.
Is there a reason why the Line Num column does not auto-adjust? It's an optional column, so unless there are severe performance penalties for checking if no. of items in a folder is > 10,000, I couldn't think of advantages for this discrepancy. I would very much prefer for all columns to be treated equally in terms of List Style settings :?

Re: Line Number column auto-size error

Posted: 07 Aug 2009 21:22
by admin
zer0 wrote:
admin wrote:It does not auto adjust: You adjust it manually.
Is there a reason why the Line Num column does not auto-adjust? It's an optional column, so unless there are severe performance penalties for checking if no. of items in a folder is > 10,000, I couldn't think of advantages for this discrepancy. I would very much prefer for all columns to be treated equally in terms of List Style settings :?
It's not a column, it just looks like one. :)

It does not auto-adjust because that would mean a flickering column width whenever you are loading a larger folder: 1 digit, 2, 3, 4... not nice. Simply set it 5 digits and you should be on the safe side.

Re: Line Number column auto-size error

Posted: 07 Aug 2009 22:21
by zer0
admin wrote:It's not a column, it just looks like one. :)

It does not auto-adjust because that would mean a flickering column width whenever you are loading a larger folder: 1 digit, 2, 3, 4... not nice. Simply set it 5 digits and you should be on the safe side.
So it looks like a column, can be added/removed like a column, contains data that is typical of a column, is adjustable like a column, has a name like a column...yet it's not a column. Bizarre, to say the least.

Regarding a larger folder, I have a folder with over 130,000 (don't ask ;)) files in it. What happens when I browse to it from a cold start is that XY gathers info about this folder, but doesn't apply my List View settings immediately. Once this info is gathered, the List View settings are applied. Therefore, I fail to see how a column's width would flicker in the situation you've described.

Re: Line Number column auto-size error

Posted: 07 Aug 2009 22:26
by admin
zer0 wrote:
admin wrote:It's not a column, it just looks like one. :)

It does not auto-adjust because that would mean a flickering column width whenever you are loading a larger folder: 1 digit, 2, 3, 4... not nice. Simply set it 5 digits and you should be on the safe side.
So it looks like a column, can be added/removed like a column, contains data that is typical of a column, is adjustable like a column, has a name like a column...yet it's not a column. Bizarre, to say the least.

Regarding a larger folder, I have a folder with over 130,000 (don't ask ;)) files in it. What happens when I browse to it from a cold start is that XY gathers info about this folder, but doesn't apply my List View settings immediately. Once this info is gathered, the List View settings are applied. Therefore, I fail to see how a column's width would flicker in the situation you've described.
130,000 -- so now it's clear that you are a mad man! :mrgreen:

The list is filled continuously. XY does not know how much files will be in it finally (pity that NTFS cannot simply tell it without counting). So how would you do it?

Re: Line Number column auto-size error

Posted: 07 Aug 2009 22:53
by zer0
admin wrote:130,000 -- so now it's clear that you are a mad man! :mrgreen:
Indeed, I must be, but, thankfully, that's is simply one of my storage repositories.
admin wrote:The list is filled continuously. XY does not know how much files will be in it finally (pity that NTFS cannot simply tell it without counting). So how would you do it?
While the list may be filled continuously, the visual adjustments of the List View do not take place until the list is filled. At least, that appears to be my impression by what I am experiencing. Just tried it again and the Status bar reported the following sequence: counting the number of items in a folder -> "sorting..." -> "auto-sizing columns...". Since there are three clear stages and only after the 3rd one I see the List View appear according to my settings, then what's there to cause flickering of a column? :?

Re: Line Number column auto-size error

Posted: 08 Aug 2009 08:52
by admin
zer0 wrote:
admin wrote:130,000 -- so now it's clear that you are a mad man! :mrgreen:
Indeed, I must be, but, thankfully, that's is simply one of my storage repositories.
admin wrote:The list is filled continuously. XY does not know how much files will be in it finally (pity that NTFS cannot simply tell it without counting). So how would you do it?
While the list may be filled continuously, the visual adjustments of the List View do not take place until the list is filled. At least, that appears to be my impression by what I am experiencing. Just tried it again and the Status bar reported the following sequence: counting the number of items in a folder -> "sorting..." -> "auto-sizing columns...". Since there are three clear stages and only after the 3rd one I see the List View appear according to my settings, then what's there to cause flickering of a column? :?
Ok, I did not think of "auto-sizing columns" (I never use this myself). Indeed it would be possible to adjust it after the list is fully loaded -- from the user POV. I can't say right now whether it's (easily) possible from the developer POV -- if yes, I will add it, else prio is too low.