Problems when there's a lot of files...
Problems when there's a lot of files...
Hi,
Okay i think there's some bugs with the listview when there's a lot of files. I've got the directory with 72 562 files in it; and I got some "weird" things happening.
For example, if I type something (beginning of a file name, to go to it in the list...) the file informations displayed in the statusbar are correct, but the filelist I got isn't. I mean it says it's on a file, which starts with what I typed, but i'm way higher on the listview. I can use the keys up & down to move, and sometimes the list of files moves (like scroll down if I move down) but I'm just not where the selected file is (current row)
ex: I'm showing rows 813-863 when the current row is 1847
And even if I use the scrollbar to go there, then use the keys (up/down) to move, if I reach a point where the list must scrolln, I'm back somewhere else.
ex: I went to show rows 1811-1861, then move up to 1811, then pressed up, then I'm showing 818-868 (even though selected file (statusbar info, or scrolling down again to be sure) is the right one.
BTW you've got a bug with the column for row number, which i don't usually used, cause it good up to 9999 then it shows like "10..." and there's no way to adjust it, manually or using auto-adjust won't do anything.
Also, I tried scrolling all the way to the last file. Pressing End won't work, I mean still the same pb: statusbar info is right, even the scrollbar is like it's at the very end, but I'm not there; gotta go there "manually" (I hold-click on the scrollbar, then as soon as I move up, even just a little it got the right files showing on the list)
Anyways, I'm on the last file, PgUp, and I got back to row "32..."
Not sure what else I could say, so I'll let you work on that now...
Okay i think there's some bugs with the listview when there's a lot of files. I've got the directory with 72 562 files in it; and I got some "weird" things happening.
For example, if I type something (beginning of a file name, to go to it in the list...) the file informations displayed in the statusbar are correct, but the filelist I got isn't. I mean it says it's on a file, which starts with what I typed, but i'm way higher on the listview. I can use the keys up & down to move, and sometimes the list of files moves (like scroll down if I move down) but I'm just not where the selected file is (current row)
ex: I'm showing rows 813-863 when the current row is 1847
And even if I use the scrollbar to go there, then use the keys (up/down) to move, if I reach a point where the list must scrolln, I'm back somewhere else.
ex: I went to show rows 1811-1861, then move up to 1811, then pressed up, then I'm showing 818-868 (even though selected file (statusbar info, or scrolling down again to be sure) is the right one.
BTW you've got a bug with the column for row number, which i don't usually used, cause it good up to 9999 then it shows like "10..." and there's no way to adjust it, manually or using auto-adjust won't do anything.
Also, I tried scrolling all the way to the last file. Pressing End won't work, I mean still the same pb: statusbar info is right, even the scrollbar is like it's at the very end, but I'm not there; gotta go there "manually" (I hold-click on the scrollbar, then as soon as I move up, even just a little it got the right files showing on the list)
Anyways, I'm on the last file, PgUp, and I got back to row "32..."
Not sure what else I could say, so I'll let you work on that now...
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Problems when there's a lot of files...
Ohlala!! Very embarassing... Thank you! Fix comes in a minute.
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Problems when there's a lot of files...
There is a way, but it's one of the hard-core configs: search the INI-file for key LinenumDigits and set it to 5.jacky wrote:BTW you've got a bug with the column for row number, which i don't usually used, cause it good up to 9999 then it shows like "10..." and there's no way to adjust it, manually or using auto-adjust won't do anything.
Re: Problems when there's a lot of files...
Thanks, works great now!admin wrote:Fix comes in a minute.
ok.. well at least what's cool is that hard-core settings in TV3 are just settings in the INI file, not somewhere in the code, so it's never really hard-core stuffadmin wrote:There is a way, but it's one of the hard-core configs: search the INI-file for key LinenumDigits and set it to 5.
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Problems when there's a lot of files...
jacky wrote:ok.. well at least what's cool is that hard-core settings in TV3 are just settings in the INI file, not somewhere in the code, so it's never really hard-core stuff
In the meantime I softened it: you'll have a menu command in the next version.
hey, I'm back
And I got another little bug for you
Still with lots of files in a folder, still a scrolling thing. But this time it involves the mouse wheel.
So I got my folder with 52 260 items in it. I type the first letters of a filename to go there (near the end, line #52 201 actually) and then I scroll down all the way to the end.
It works if I use the keys, or the scrollbarr if I grab the "scroll-whatever-you-called-that-little-thingy" and drag it to the bottom. But if I use the mouse wheel OR if I click on the arrow on the scroolbar then it will stop at line #52 239. (which is the very last line shown on the list, no blank one obviously as there's still more files/lines)
Then I can go to the end if I use the keys or grab the scrollthinghy again.
I noticed too that if I click on that line (52239), then the next one (52240) becomes visible and I can then scroll some more (using the mouse/scroll arrow) but not to the end, to line 52 253 this time. Then 52 258, then 52 260, but it's only when I'll click on that last line that the very last line in the list view will be a blank one (as there seems to always be one when things works "normally")
I think that's it. Good luck with that
Edit: Also, I think there's a pb with the new way you start copy/move operations (as I never had this before, so I'm guessing it comes from here...). I think I've read that now we can move, etc while the files are being trated by Windows. But whenever I try to move files from my folder then TV3 start re-doing its sorting (as files are bieng moved) and then I'll get pretty soon an error message (RunTime error 380: invalid property value) then once the moving files operation is done I got another error message (RT 97: cannot call friend function on object which is not an instance of defining class) then TV3 "disappear".
Note: everything works fine if I change folder right after I started the moving operation.
Edit²: I tried without auto-refresh on, got no error during the moving operation, but once done (and TV3 starts sorting I think) I got the first error (RT-380) and then TV3 "disappear" again.
And I got another little bug for you
Still with lots of files in a folder, still a scrolling thing. But this time it involves the mouse wheel.
So I got my folder with 52 260 items in it. I type the first letters of a filename to go there (near the end, line #52 201 actually) and then I scroll down all the way to the end.
It works if I use the keys, or the scrollbarr if I grab the "scroll-whatever-you-called-that-little-thingy" and drag it to the bottom. But if I use the mouse wheel OR if I click on the arrow on the scroolbar then it will stop at line #52 239. (which is the very last line shown on the list, no blank one obviously as there's still more files/lines)
Then I can go to the end if I use the keys or grab the scrollthinghy again.
I noticed too that if I click on that line (52239), then the next one (52240) becomes visible and I can then scroll some more (using the mouse/scroll arrow) but not to the end, to line 52 253 this time. Then 52 258, then 52 260, but it's only when I'll click on that last line that the very last line in the list view will be a blank one (as there seems to always be one when things works "normally")
I think that's it. Good luck with that
Edit: Also, I think there's a pb with the new way you start copy/move operations (as I never had this before, so I'm guessing it comes from here...). I think I've read that now we can move, etc while the files are being trated by Windows. But whenever I try to move files from my folder then TV3 start re-doing its sorting (as files are bieng moved) and then I'll get pretty soon an error message (RunTime error 380: invalid property value) then once the moving files operation is done I got another error message (RT 97: cannot call friend function on object which is not an instance of defining class) then TV3 "disappear".
Note: everything works fine if I change folder right after I started the moving operation.
Edit²: I tried without auto-refresh on, got no error during the moving operation, but once done (and TV3 starts sorting I think) I got the first error (RT-380) and then TV3 "disappear" again.
If not, could that be an option ? Cause it's really annoying to get Tracker to crash whenever I move some files...admin wrote:RunTime error: could not reproduce it yet. Your analysis is correct, though, I think. If more reports of this bug come in I will withdraw that change.
BTW seems to be be linked to the number of files on the list again. Like I can move 40 files wihtout pb if thoose are the 40 first files of the list, but if i move one file on the end of the list, TV3 will crash (RT-380; with and without auto-refresh)
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Yes, ok, I must be an option. I just don't know how to call this option... ("Crash when moving files: Yes/No" does not sound too good )jacky wrote:If not, could that be an option ? Cause it's really annoying to get Tracker to crash whenever I move some files...admin wrote:RunTime error: could not reproduce it yet. Your analysis is correct, though, I think. If more reports of this bug come in I will withdraw that change.
BTW seems to be be linked to the number of files on the list again. Like I can move 40 files wihtout pb if thoose are the 40 first files of the list, but if i move one file on the end of the list, TV3 will crash (RT-380; with and without auto-refresh)
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Researched the recent huge list (> 32767 items) scroll bug: the point is, when you click on the scrollbar arrows you expect a one-line scroll, but due to some internal limitations of VB's scrollbars, I had to invent a little trick to realize one-line scrolls in huge lists. This trick has a downside: a rounding error is accumulated which ultimately leads to the problem you experienced.
So, I could easily fix the bug, but the price would be: instead of one-line scrolls you'd get sometimes 1 line, sometimes 2 lines when you click a scrollbar arrow, depending on certain internal rounding results.
What's the choice?
EDIT: I could fix it pretty good (without having to choose).
So, I could easily fix the bug, but the price would be: instead of one-line scrolls you'd get sometimes 1 line, sometimes 2 lines when you click a scrollbar arrow, depending on certain internal rounding results.
What's the choice?
EDIT: I could fix it pretty good (without having to choose).
I refuse to chooseadmin wrote:What's the choice?
Well.. .good thenadmin wrote:EDIT: I could fix it pretty good (without having to choose).
About the other option, you could go for something like "Shown progress window modeless" (as thoose are your words already) ; but it's hard to really know what it means without a little explanation (i.e. allow you to work while files are being moved/copied in the background, but may cause problems when moving on long file listings)
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Since I don't succeed in reproducing the error (my file list is refreshed smoothly file files being moved away), I'm inclinced to wait till a 2nd user reports a problem here. Maybe it's just your computer?jacky wrote:About the other option, you could go for something like "Shown progress window modeless" (as thoose are your words already) ; but it's hard to really know what it means without a little explanation (i.e. allow you to work while files are being moved/copied in the background, but may cause problems when moving on long file listings)
Describe more exactly: how many files, how many bytes, moving from where to where, what sort order, how was operation invoked (drag, toolbar, keyboard...)?
(TrackerV3 v4.20.0014 - XP Pro SP2)admin wrote:Describe more exactly: how many files, how many bytes, moving from where to where, what sort order, how was operation invoked (drag, toolbar, keyboard...)?
Ok let's try... So I have 35 257 items on my list. Moving item 32 767 (207Kb) works but I got back on the list (after the automatic refresh) not where I was but from item 35 031 to 35 081, while the selected one (name on the statusbar) was item 32 767. So I hit heys up & down and I'm back where I was before/should have been.
Then I try moving item 34 926 (6Kb) and once done got the error 380, and TV3 is gone.
I'm guessing this is because TV3 tries to show the list too "far away", so as long as the list is long enough, cause it wasn't an item from the end of the list, it works. But when it was, it tries to go out-of-range & crashes.
And, I just created 33 000 empty files in a new folder on another drive, just to test. Tried to move 32944.txt and TV3 crashed. So I think you should be abe to do the same and try it.