"Garbage" data shown in Sync dirs
Moderators: Hacker, petermad, Stefan2, white
"Garbage" data shown in Sync dirs
Hi,
We have a report in the Slovak / Czech forum about "garbage" being shown in the initial step of the directory synchronization, e.g. there are dozens of "autoexec.bat" files shown in the root dir for a fraction of a second. This started with TC 10.50 b5, 64-bit only (32-bit is OK). Here are some recorded screen captures, you might need to watch them frame by frame to see the issue.
Compare_Disk_D_(25 900 files, 1 293 dirs)
https://u.pcloud.link/publink/show?code=XZbb9RVZy5oIEPhnnQywjlzacIAnOR5OUfnV
Compare_USB_K_(6 734 files, 592 dirs)
https://u.pcloud.link/publink/show?code=XZGb9RVZH0YrhOKYRtp3rCYcFv5lIkus3WTk
Roman
We have a report in the Slovak / Czech forum about "garbage" being shown in the initial step of the directory synchronization, e.g. there are dozens of "autoexec.bat" files shown in the root dir for a fraction of a second. This started with TC 10.50 b5, 64-bit only (32-bit is OK). Here are some recorded screen captures, you might need to watch them frame by frame to see the issue.
Compare_Disk_D_(25 900 files, 1 293 dirs)
https://u.pcloud.link/publink/show?code=XZbb9RVZy5oIEPhnnQywjlzacIAnOR5OUfnV
Compare_USB_K_(6 734 files, 592 dirs)
https://u.pcloud.link/publink/show?code=XZGb9RVZH0YrhOKYRtp3rCYcFv5lIkus3WTk
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: "Garbage" data shown in Sync dirs
Translation of the report by google:Hacker wrote: 2022-06-23, 11:46 UTC Hi,
We have a report in the Slovak / Czech forum about "garbage" being shown in the initial step of the directory synchronization, e.g. there are dozens of "autoexec.bat" files shown in the root dir for a fraction of a second. This started with TC 10.50 b5, 64-bit only (32-bit is OK). Here are some recorded screen captures, you might need to watch them frame by frame to see the issue.
Compare_Disk_D_(25 900 files, 1 293 dirs)
https://u.pcloud.link/publink/show?code=XZbb9RVZy5oIEPhnnQywjlzacIAnOR5OUfnV
Compare_USB_K_(6 734 files, 592 dirs)
https://u.pcloud.link/publink/show?code=XZGb9RVZH0YrhOKYRtp3rCYcFv5lIkus3WTk
Roman
https://www-ghisler-ch.translate.goog/board/viewtopic.php?t=76940&_x_tr_sl=cs&_x_tr_tl=en
Summary:
After clicking the Compare button in Synchronize Dirs the result list is temporarily filled with erroneous data.
The issue is reportedly only exits for the 64-bit version and only since TC10.50b5 and tested up to version TC10.50rc3.
Comparing is done with only the options "Subdirs" and "Empty directories" enabled.
The issue has only been detected when comparing many files/folders.
Movie 1 shows that when the reading of folders is finished and comparing is at 70% and 99% the results lists is filled with the same Autoexec.bat file many times.
Screenshot
Movie 2 shows that the results list is temporarily filled with folder names.
Screenshot (this screenshot will be removed after 1 month)
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: "Garbage" data shown in Sync dirs
Thanks, it looks like calling listbox.perform(wm_setredraw,0,0) doesn't work in Lazarus, only in Delphi, so the list is redrawn even while it shouldn't be. Calling SendMessage works.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: "Garbage" data shown in Sync dirs
2Hacker
This should be fixed in RC4, could you please ask in the Slovak / Czech forum whether they can still reproduce it or not?
This should be fixed in RC4, could you please ask in the Slovak / Czech forum whether they can still reproduce it or not?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: "Garbage" data shown in Sync dirs
Christian,
I did, but the user mentioned he'd be in the hospital for about two weeks, so I assume we won't get a confirmation soon.
Roman
I did, but the user mentioned he'd be in the hospital for about two weeks, so I assume we won't get a confirmation soon.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: "Garbage" data shown in Sync dirs
The problem only occurs when using a screen reader, because then the faster method to add strings is turned off. You can simulate it by using the Microsoft tool inspect32 to send LB_GETTEXT to the main TC file lists, which turns off the option.
This is done because when using the faster method (LB_SETCOUNT), then some screen readers fail to send LB_GETTEXT to get the lines from the listbox. Therefore when TC detects a screen reader, it uses the slower LB_INSERTSTRING to add each line separately, which can take a lot of time when there are many 100000 results.
This is done because when using the faster method (LB_SETCOUNT), then some screen readers fail to send LB_GETTEXT to get the lines from the listbox. Therefore when TC detects a screen reader, it uses the slower LB_INSERTSTRING to add each line separately, which can take a lot of time when there are many 100000 results.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: "Garbage" data shown in Sync dirs
I remember such a problem on some betas or RC of 10.50, it was on Win 10 wish old iGPU and driver, on usb 2.0 hdd (external box for sata 3.5"). Also I had some another graphical glitches, so I didn't pay attention to that.
I plan to boot that hdd again and try to check it on 10.50 final.
I plan to boot that hdd again and try to check it on 10.50 final.
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: "Garbage" data shown in Sync dirs
Any news? Did it occur again to anyone?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: "Garbage" data shown in Sync dirs
Christian,
The user who reported the problem originally has not responded yet, probably still in the hospital, unfortunately.
Roman
The user who reported the problem originally has not responded yet, probably still in the hospital, unfortunately.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: "Garbage" data shown in Sync dirs
I did not see that again. I'll feedback if something goes wrong.
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: "Garbage" data shown in Sync dirs
2Hacker
Sorry to hear that! I hope that he will be OK soon.
2MaxX
Great, thanks! I will move this thread to "fixed bugs" for now, and may move it back if someone else has the problem, or the original poster reports back.
Sorry to hear that! I hope that he will be OK soon.
2MaxX
Great, thanks! I will move this thread to "fixed bugs" for now, and may move it back if someone else has the problem, or the original poster reports back.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com