https://bugs.kde.org/show_bug.cgi?id=397110
--- Comment #4 from Maik Qualmann <metzping...@gmail.com> --- After a long analysis and debugging, I found the cause for repeatedly executing SQL queries. It is used to determine if there are grouped items. Normally, this information is then also in the ImageInfo cache. But in the ImageFilterModelPreparer the function ImageInfoList::loadGroupImageIds() is called and in this function it is not checked if the information is already in the cache and it is read again from the DB. This with every change of sorting direction and filtering. Therefore, this problem is also relevant to bug 396086. This makes by me about 2 seconds with 20000 images in the view. So do not explain the long time in the bug reports. I will fix it though. Maik -- You are receiving this mail because: You are watching all bug changes.