Cached thumbnails display flickery and slow

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Cached thumbnails display flickery and slow

Post by nf_xp »

First, thanks for this excellent software:)

The new thumbnails code works great, faster than earlier version if turn off the cache option. But if the cache is turned on, it's flickery and slower than before:

Problem 1:
When switch to a thumbnails-view tab, XYplorer displays the top thumbnails first, and then scrolls to the last place and redraws. That makes XYplorer draw one tab content twice and flicker a lot.

Problem 2:
You can see the individual thumbnails show up one by one, and the process speed is a bit slow, especially in a big screen and the XYplorer file list area is very big. In previous versions, the whole file list area is displayed at once, no flicker and quick. It's not just a no-flicker-drawing effect, the new cache code is really a bit slower, I compared the drawing one screen non-responding time of two versions and confirmed.

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

nf_xp wrote:First, thanks for this excellent software:)

The new thumbnails code works great, faster than earlier version if turn off the cache option. But if the cache is turned on, it's flickery and slower than before:

Problem 1:
When switch to a thumbnails-view tab, XYplorer displays the top thumbnails first, and then scrolls to the last place and redraws. That makes XYplorer draw one tab content twice and flicker a lot.

Problem 2:
You can see the individual thumbnails show up one by one, and the process speed is a bit slow, especially in a big screen and the XYplorer file list area is very big. In previous versions, the whole file list area is displayed at once, no flicker and quick. It's not just a no-flicker-drawing effect, the new cache code is really a bit slower, I compared the drawing one screen non-responding time of two versions and confirmed.
Problem 1:
Drawing the list is ultra-optimized in many ways and depending on a lot of factors. However it's impossible to optimize every possible constellation; instead I try to optimize the list for those situations that I think are most common.
What you see is certainly sub-optimal. I have it too in some folders with some sort orders.

Problem 2:
I decided to show them one by one rather than all at once to show permanent progress. To show them all at once would be a touch faster in sum, but for the user it would mean a longer time with nothing happening.

erickleal
Posts: 4
Joined: 13 Jan 2009 15:58

Re: Cached thumbnails display flickery and slow

Post by erickleal »

Couldn't you, Don, make this feature be optional. So you could option for one-by-one or all?
Sorry for english, I'm a brazilian guy.

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

erickleal wrote:Couldn't you, Don, make this feature be optional. So you could option for one-by-one or all?
Sorry for english, I'm a brazilian guy.
Sure, I could. But I prefer to keep an optimum equilibrium between simplicity and configurability.

nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Re: Cached thumbnails display flickery and slow

Post by nf_xp »

Thanks for replying :)

Yeah, it's could be better if make it optional.

Imagine this scenario (that's what I was doing and got suffered): You need to pick a pic from thumb-view tab A, and copy it to thumb-view tab B, and then look how it's going (fit or not) in tab B, then back to tab A. Repeat these steps several times.
Every turn, the client area gets redrew from left-top to right-bottom six times (two for tab A, two for tab B before paste, and two for tab B after paste), the total flicker drive me crazy.

Drawing all at once may be a little longer with nothing happening (It's super fast already), but when the target tab shows up, it's operate-ready. You can observe, scroll, select and paste. That's the advantage of the old behavior, isn't it?

Thanks!

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Cached thumbnails display flickery and slow

Post by zer0 »

admin wrote:Sure, I could. But I prefer to keep an optimum equilibrium between simplicity and configurability.
Surely, as XYplorer grows, it would be difficult to keep the former happy as the latter is getting more complex. Even now the scales aren't...ahem, even.

P.S. No, I did not call you Shirley :mrgreen:
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

zer0 wrote:
admin wrote:Sure, I could. But I prefer to keep an optimum equilibrium between simplicity and configurability.
Surely, as XYplorer grows, it would be difficult to keep the former happy as the latter is getting more complex. Even now the scales aren't...ahem, even.

P.S. No, I did not call you Shirley :mrgreen:
Uhm, Shirley? Tell me more about here... got a pic?

I know it's not extremely even... I'm working on some idea concerning this right now...

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Cached thumbnails display flickery and slow

Post by zer0 »

admin wrote:Uhm, Shirley? Tell me more about here... got a pic?
Nope, couldn't find any physically-blessed Shirleys. The whole thing came from a movie called Aeroplane! (1980) with Leslie Nielsen.

Code: Select all

Rumack: Can you fly this plane, and land it?
Ted Striker: Surely you can't be serious.
Rumack: I am serious... and don't call me Shirley.
admin wrote:I know it's not extremely even... I'm working on some idea concerning this right now...
It's not a problem: it's unreasonable to expect extensive configurability to be a stroll in a park ;)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

zer0 wrote:
admin wrote:Uhm, Shirley? Tell me more about here... got a pic?
Nope, couldn't find any physically-blessed Shirleys. The whole thing came from a movie called Aeroplane! (1980) with Leslie Nielsen.

Code: Select all

Rumack: Can you fly this plane, and land it?
Ted Striker: Surely you can't be serious.
Rumack: I am serious... and don't call me Shirley.
admin wrote:I know it's not extremely even... I'm working on some idea concerning this right now...
It's not a problem: it's unreasonable to expect extensive configurability to be a stroll in a park ;)
Wow, I think there is no movie that I have seen more often than this one (ok, apart from Blues Brothers) -- but the Shirley gag got lost in the german translation. Over.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Cached thumbnails display flickery and slow

Post by jacky »

admin wrote:Wow, I think there is no movie that I have seen more often than this one (ok, apart from Blues Brothers) -- but the Shirley gag got lost in the german translation. Over.
:shock: You mean to say you don't watch movies in their original version, but horrible dubbed version!?? That's it, I quit XY! :arrow:
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

jacky wrote:
admin wrote:Wow, I think there is no movie that I have seen more often than this one (ok, apart from Blues Brothers) -- but the Shirley gag got lost in the german translation. Over.
:shock: You mean to say you don't watch movies in their original version, but horrible dubbed version!?? That's it, I quit XY! :arrow:
:!: German dubs are generally better than the originals. Sorry for you that you don't speak the language. BTW, Jimi Hendrix actually recorded all his songs in German, but they later overdubbed them... poor Jimi was not there anymore to stop this bullshit.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Cached thumbnails display flickery and slow

Post by zer0 »

jacky wrote: :shock: You mean to say you don't watch movies in their original version, but horrible dubbed version!?? That's it, I quit XY! :arrow:
Going further off topic, I love those Fantomas movies with Jean Marais and Louis de Funes. You, jacky, should have heard of them in France :wink:
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Cached thumbnails display flickery and slow

Post by jacky »

What!? Nonsense, originals are always better, they're the real deal!! One must always watch a movie/TV show in its original language, and that is it.
zer0 wrote:
jacky wrote: :shock: You mean to say you don't watch movies in their original version, but horrible dubbed version!?? That's it, I quit XY! :arrow:
Going further off topic, I love those Fantomas movies with Jean Marais and Louis de Funes. You, jacky, should have heard of them in France :wink:
Well of course! I'd say everyone over here has watch those a few times, which isn't hard considering they probably still air on TV every year or so (Although not as often as when I was younger...).
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cached thumbnails display flickery and slow

Post by admin »

Just back from the video store. Gonna watch Airplane just one more time... in German! :mrgreen:

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Cached thumbnails display flickery and slow

Post by j_c_hallgren »

admin wrote:Just back from the video store. Gonna watch Airplane just one more time... in German! :mrgreen:
Shirley then you can get this thread back on track... :P
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply