FarManager icon indicating copy to clipboard operation
FarManager copied to clipboard

QuickView enters an unstoppable loop

Open ssvine opened this issue 10 months ago • 0 comments

Far Manager version

3.0.6300.0

OS version

10.0.19045.4170

Other software

No response

Steps to reproduce

QuickView can enter an unstoppable loop counting files and folders again and again when a cursor is located on a huge directory on the plugin panel. When QuickView enters such a loop, it shows flickering Scanning the folder dialog. Pressing Esc and selecting No does not help.

You can try to reproduce the problem on the file debian-12.5.0-amd64-DVD-1.iso (3.7G) as an example of a big container with the complex folder structure. But you can try any other huge archive. In case of debian-12.5.0-amd64-DVD-1.iso just open it as an ISO in ArcLite or Observer, then press Ctrl-Q and go to the pool folder.

Reproduction of the bug depends on some conditions. I believe that the main trigger for this error is the time it takes to count files and folders. So, if you have an SSD, you may need to select a different archive to try with.

Some other conditions that may count:

  • Try to maximize Far window. In my case when it is 80x25, everything looks normal, but when I maximize the window, the bug is triggered even if the cursor (located on the pool folder) was not moved.
  • Try to use unoptimized debug build. In my case it triggers the bug much more easily.

Expected behavior

QuickView successfully counts files and folders and shows the result.

Actual behavior

See Steps to reproduce.

ssvine avatar Apr 03 '24 19:04 ssvine