https://bugs.kde.org/show_bug.cgi?id=369255

Tom Moebert <tom.m...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom.m...@googlemail.com

--- Comment #5 from Tom Moebert <tom.m...@googlemail.com> ---
I had a quick look at this and I understand it as follows:

After a call to ContextManager::setCurrentDirUrl() (i.e. opening a directory in
the thumbnail view), KDirLister::openUrl() is called. This one will add all
files in that directory one-by-one to the Gwenview::SortedDirModel. One-by-one
a row is inserted into this model. Every insert emits the rowsInserted signal.
Every such signal will call ThumbnailView::rowsInserted(). In there, another
rowsInsertedSignal will be emitted which goes to
PreviewItemDelegate::slotRowsChanged() to update some hover selection or so.
And we do that as many times as there are files in the directory - 82783 times
- in the UI thread... and once we are done with that, the thumbnail generation
can finally start.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to