https://bugs.kde.org/show_bug.cgi?id=425980
Bug ID: 425980 Summary: Search freezes on large collection Product: digikam Version: 7.0.0 Platform: Appimage OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Searches Assignee: digikam-bugs-n...@kde.org Reporter: ja...@lab6.com Target Milestone: --- SUMMARY STEPS TO REPRODUCE 1. Start digikam with a large collection (say, 374,690 images) 2. Click Tools -> Search 3. There's no step 3 OBSERVED RESULT Digikam freezes for 2-5 minutes while showing the first few photos of the collection. When the UI unfreezes, the status bar shows "(1 of 374,690)". Typing one letter into the search box causes the UI to freeze again. Waiting again eventually allows text entry, and the search to complete. Additionally, if you exit digikam at this point, upon next launch it will start on the search screen and commence the 2-5 minute wait again. EXPECTED RESULT The search UI remains responsive and allows the user to enter a search term and then search for it. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 20.04.1 running XFCE (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Hardware: Database on Samsung EVO 970 EVO Plus SSD, images on btrfs RAID1 HDDs, Ryzen 3700X CPU, 32GB RAM. I speculate that the initially empty search box is causing digikam to attempt to process every item in the collection, which becomes infeasible for a large collection. -- You are receiving this mail because: You are watching all bug changes.