This is a (very long, sorry) continuation of a topic I started here:
http://www.ghisler.ch/board/viewtopic.php?t=6684
... but is broader in scope, so I started a new thread.
Probably half of my TC interaction is with image files (jpgs, pngs, tiffs), so thumbnail mode is a welcome addition to the TC bag of tricks. However, I have found TC to be slower to display cached thumbnails than I initially thought and much slower than a dedicated image browser such as XNView.
My theme is to understand how thumbnails display in TC and what can be done to minimize the delays I encounter when working in thumbnail mode. The following items reference TC 6.51 on XP Pro with a Pentium 2.8c, hyperthreading enabled, 1 Gb RAM, 1 GB swap file. Image sizes range from 1Mb to 250Mb.
Here are my tentative observations so far. Please correct me if I am misunderstanding what I see happen!
- - Folder thumbs are not cached.
- TC prepares folder thumbs before displaying cached image thumbs (s l o w).
- After completing the initially displayed set, TC waits to post the remaining cached thumbs to the display until after I scroll into the file list (s l o w).
- Scrolling thumbnail view suffers from "lag", invariably overshooting my target scroll position.
- "Show custom columns below thumbnails" such as x and y dimension from the imgsize plugin greatly slows thumbs display.
- Custom columns below thumbnails appear to be calculated before thumbnails are displayed.
- Many actions related to thumbs (display, show custom columns, prepare folder thumbs) may not be multithreaded, or if they are, there is confict between the threads (The hourglass appears frequently and TC freezes for a little while.).
- Thumbnail prealloc (in ini) does not allocate over 100k.
- Thumbnail prealloc does not work for a cache directory other than the default.
- TC frequently refuses to display any image thumbs at all (only displays document icons). This happens sometimes in folders with cached thumbs and sometimes in folders with no cached thumbs. In these cases cm_ReloadSelThumbs does nothing.
- Minimizing/restoring TC forces all thumbs (including non-cached folder thumbs!) to redisplay (s l o w).
- Switching to another tab and back causes all thumbs (including non-cached folder thumbs!) to redisplay (s l o w).
- Opening an image file (with Photoshop, for instance) from a buttonbar button forces TC to redisplay all thumbs and re-prepare all folder thumbs (s l o w).
For instance...
- Note> If both panels are in thumbnail mode, alternate between panels for each of the following steps:
1. Display cached thumbs for visible files/folders first.
2. Continue displaying cached thumbs for entire folder.
3. If the user scrolls, reset cached thumbs display to the visible upper left thumb, go to step 1.
4. If TC cannot cache folder thumbs, then evaluate which folders can be thumbnailed fastest (based on filesize of first four images) and prepare/display those thumbs.
5. If TC cannot cache folder thumbs, postpone creating folder thumbs for folders where image sizes exceed a certain amount.
6. Begin display of custom columns for visible thumbs, proceed to remainder, except new and changed.
7. Prepare and cache "new" image thumbs following same priorities as regular thumbs.
8. Prepare and cache "changed" folder thumbs.
9. Prepare and cache "large" folder thumbs.
10. Store all thumbs somewhere so that switching away from the tab or from TC, then switching back does not force thumb reload.
One final thing: TC should scroll in "half thumb" increments so that partial thumbs show at bottom and top. I think the "squirmy" scrolling in thumbnail mode is related to TC adjusting the thumbs positions so that only complete thumbs are displayed.
Flame me, whatever... all feedback appreciated.