ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnFolderMView Multiselect by mouse is slow

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zerob Posted - Jan 23 2021 : 11:30:09
When i load a big folder (~2000+ pictures) with FillFromDirectory dynamic loading into a TImageEnFolderMView that uses Thumb drawing, and maximize the window to see as many images as possible on the same times, and try to multiselect pictures with mouse down movements instead of control clicks, it gets really slow and it often freezes for some seconds until the app reacts again.

This also happens with custom painted images that arent jpgs on the disk "AppendImage(fv.ThumbWidth, fv.ThumbHeight);" (i add around 500 - 2000)

If i play around with selcting and move my mouse around, it is slow and prone to lockups. It seems i tis the worst when scrolled down instead of marking the first few items.

It seems that the whole TImageEnFolderMView painting is slow (marking, scrolling, loading...). Maybe there is some expensive thing going on inside of the painting algorythm? At least marking by mouse should be a super fast thing like when you mark multiple files on the windows desktop.

attach/zerob/2021123112850_mousemark.zip
1127.02 KB
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 27 2021 : 01:41:08
Hi

Performance will be significantly improved in v9.3.1. You can email us for a beta release.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Jan 24 2021 : 23:51:59
Hi

TImageEnFolderMView descends from TImageEnMView. There does seem to be more going on there than needs to be. Give us a few days to get to the bottom of it.




Nigel
Xequte Software
www.imageen.com
zerob Posted - Jan 23 2021 : 16:06:20
The most recent 9.3.0
Im using TImageEnFolderMView and not TImageEnMView. Or are they using the same code? (didn't check the imageen source)
xequte Posted - Jan 23 2021 : 14:25:02
Can you confirm what version you are using? An issue with TImageEnMView painting was fixed in v9.2.6.

Nigel
Xequte Software
www.imageen.com
zerob Posted - Jan 23 2021 : 12:06:39
It seems the more images are present, the longer the lockups get... It even displays a hourglass on the app while it is frozen after trying to select while scrolled.