[9.20b1] Flickering in thumbnails view

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

[9.20b1] Flickering in thumbnails view

Post by *fenix_productions »

Hi

Steps to reproduce:
1. set up Imagine as lister plugin
2. go into directory where subdirs contain lot of images
3. Ctrl+B (branch view)
5. switch into Thumbnails mode
6. sort by size
7. thumbnails load but bottom row images flicker
8. if I focus/select any loaded thumbnail it flickers

TC 32bit.

Recording: https://we.tl/OMPHtSxMbl
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Do you get this also in TC 9.12?
Author of Total Commander
https://www.ghisler.com
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
Never noticed with previous versions.

I will re-check to be sure later today when I am at home.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2fenix_productions
I cannot reproduce that.

Are you sure it is IOmagine that is doing the thumbnail extraction?

What are your settings for:
ThumbOptions
ThumbExplTypes
ThumbPlgTypes
ThumbIrfXnTypes
ThumbTxtTypes
ThumbsCustomFieldsEnabled
ThumbsCustomField
ThumbIconSize
PreloadThumbnails
ThumbnailPrealloc
ThumbnailMemoryLimit

And are you sure Imagine is the first plugin in your plugins list, that can extract thumbnails:
[ListerPlugins]
0=%COMMANDER_PATH%\PLUGINS\wlx\Imagine\Imagine.wlx
0_detect="MULTIMEDIA
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2petermad

Code: Select all

ThumbOptions=11
ThumbExplTypes=*.* | *.htm *.html *.reg *.mng *.exe *.raw *.eml
ThumbPlgTypes=*.* | *.psp *.rtf *.reg *.mng *.docx *.pptx
ThumbIrfXnTypes=*.* | *.reg *.exe
ThumbTxtTypes=*.txt *.ini *.csv *.reg *.html *.htm
ThumbsCustomField=[=tc.size.bkMG2]\n[=tc.comment]
ThumbsCustomFieldsEnabled=1
ThumbIconSize=NOT SET IN CONFIG (but 128x128 in settings Thumbnail tab)
PreloadThumbnails=3
ThumbnailPrealloc=50000000
ThumbnailMemoryLimit=NOTSET
Plugins order:

Code: Select all

0=%COMMANDER_PATH%\Plugins\wlx\nodirqv\NoDirQuickView.wlx
1=%COMMANDER_PATH%\plugins\wdx\DirSizeCalc\DirSizeCalcCharts.wlx
2=%COMMANDER_PATH%\plugins\wlx\IniEd\IniEd.wlx
2_detect="FORCE | EXT="INI""
3=%COMMANDER_PATH%\plugins\wlx\sLister\slister.wlx
3_detect="MULTIMEDIA& (EXT="PDF" | EXT="DJVU" | EXT="DJV"| EXT="XPS" | EXT="CBZ" | EXT="CBR" )"
4=%COMMANDER_PATH%\plugins\wlx\SVGView\SVGView.wlx
4_detect="FORCE | EXT="SVG" | EXT="SVGZ""
5=C:\stuff\soft\tcmd32\plugins\wlx\emlview\EMLView.wlx
5_detect="FORCE | EXT="EML" | EXT="MSG""
6=%COMMANDER_PATH%\Plugins\wlx\ICL\ICLView.wlx
6_detect="MULTIMEDIA & (ext="DLL" | ext="EXE" | ext="ICL" | ext="ICL32" | ext="ICO" | size=0 | force)"
7=%COMMANDER_PATH%\Plugins\wlx\Imagine\Imagine.wlx
7_detect="MULTIMEDIA & EXT!="PSP" & EXT!="SVG" & EXT!="ICL" & EXT!="MNG" & EXT!="PSD""
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

ThumbIconSize is the size of icons for files that can not be shown with any of the configured methods.

The size of the real thumbnals as set in the Thumbnail tab is:
ThumbHeightNoCache
ThumbWidthNoCache

Try these settings:
PreloadThumbnails=2
ThumbnailPrealloc=100000
ThumbnailMemoryLimit=500
ThumbOptions=2

And see if that makes any difference.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2petermad
I had set up your options and couldn't get flickering.

Then I switched PreloadThumbnails to 3: no issue.

Then I changed ThumbOptions to 11: I have seen flickering only once in directory containing thousands of images (Branch view).
Flickering appeared when I clicked on image while some missing thumbs were still loading.

Looks like with your ThumbnailPrealloc and MemoryLimit I am unable to click fast enough to trigger this bug. Maybe if I removed thumbnails database I could get it again :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't reproduce any flickering, but I didn't try all your plugins.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

fenix_productions,
There was a similar issue with Inverted cursor and SingleClickStart=1 while using Thumbnail view where if you would move the mouse cursor over empty space in the last row, the inverted cursor would flicker. I can't find the discussion now, perhaps it was in the beta forum. Anyways, IIRC the conclusion was that it cannot be prevented (easily). Not sure if it's related to your problem, though.

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.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Hacker
I have inverted cursor but no single-click start.

It is strange because with stable TC I had no issues. They started with new beta on my work laptop.
As I have the same config on my home PC, I checked TC there and observed this bug.

Everything changed after working with some of petermad's settings.

These two seem to help:

Code: Select all

ThumbnailPrealloc=100000 
ThumbnailMemoryLimit=500
I assume flickering could be related to the speed of thumbnails loading, because with previous setup I could see how images load. During that I could click on some file and then flickering was noticeable.

Now everything loads so quick that I am unable to catch the bug.

Either way… THANK YOU for help.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Post Reply