Page 1 of 1

SC thumbsconf() issue

Posted: 20 Dec 2020 18:40
by klownboy
Don, I noticed today that if I ran a script that contained SC thumbsconf() I got a screen flicker. Depending on where the focused or highlighted file was in a long list folder, the position of the file listing actually changes. Not a huge deal but this never happened before. So for example, run thumbsconf(",0"); from run script menu in a folder with a long listing of files with the highlighted file on screen, and even though the existing "Zoom to Fill" value is the same "0" as the new setting, the screen as a minimum will flicker, or more often than not, the listing will change positions. Maybe it's a side affect of some other change like the list to details fix the other day. I noticed this exiting from a thumbnail script which if need be, resets the Zoom to Fill when it terminates. Thanks.

Re: SC thumbsconf() issue

Posted: 21 Dec 2020 11:35
by admin
No flicker here. Probably needs deeper research. Let's save this one for 2021.

Re: SC thumbsconf() issue

Posted: 21 Dec 2020 15:07
by klownboy
Sounds good Don. In the meantime I added a check for the Zoom-to-Fill value at script termination against the existing Zoom-to-Fill value when the script began. So if it hasn't changed nothing is done.

Re: SC thumbsconf() issue

Posted: 21 Dec 2020 15:37
by klownboy
I should have given you this small script excerpt for testing on my first post...

Code: Select all

//when procedure starts
	$ZoomtoFill = gettoken(thumbsconf(),"2",",");

//when it terminates
	thumbsconf(",$ZoomtoFill");
I too have no flicker at all if I'm in a small folder with little content (e.g., my C:\), but if I'm in a large folder with hundreds of files, the display will flicker or jump to a different position in the listing. Thanks.

Edit: It only seems to do the above if there are more files that can fit on one screen. It does it on thumbnail views as well as a list and details views.

Re: SC thumbsconf() issue

Posted: 21 Dec 2020 15:54
by highend
Probably because of this?

viewtopic.php?f=2&t=22475

Re: SC thumbsconf() issue

Posted: 21 Dec 2020 18:34
by klownboy
highend wrote: ↑21 Dec 2020 15:54 Probably because of this?
viewtopic.php?f=2&t=22475
That's what I was thinking too. See my first post
Maybe it's a side affect of some other change like the list to details fix the other day.