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

            Bug ID: 431951
           Summary: UI lockup for upwards of 15 seconds while just
                    scrolling album views and selecting images
           Product: digikam
           Version: 7.2.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: griffiths_a...@icloud.com
  Target Milestone: ---

SUMMARY
Whenever I am doing any work on my database, occasionally the UI locks up for
upwards of 15 seconds for no apparent reason. During the lockup I can't scroll
anything in the album view (also applies in other views eg tags).

I have run digikam with the message debugging on, and the only thing I can
correlate this with messages from digikam.general

digikam.general: Action Thread run  1  new jobs      # UI locks up now
digikam.general: One job is done
digikam.general: Cancel Main Thread                  # UI recovers

There's no indication of what that job is doing, but for it's duration I am
locked out. I'm not doing anything special or out of the ordinary when this
happens. I could be scrolling up and down in the album, or selecting images.

Is there any extra debug output I can enable? All other logging eg. thumbnails,
detection, or SQL statments appear as normal.

I'm running a self compiled digikam build 7.2 from Arch AUR. The revision is
https://invent.kde.org/graphics/digikam/commit/fd85e5002c0a0dc24a4583c67c3f157b55d35d29

I'm using the beta because I was keen to see if this issue had been resolved
with newer revisions, but I find it's the same issue as I've had since 7.0.

This issue seems to have plagued me for quite some time in 7.0 onwards. I have
a large database of images (300,000+) on MySQL backend, db is on SSD. Most of
the images live on USB3 attached disk, but this problem affects images also in
the internal SSD.

STEPS TO REPRODUCE
1. QT_LOGGING_RULES="digikam.*=true" digikam
2. Use digikam while observing the console
3. Note that lockup occurs on 'digikam.general: Action Thread run  1  new jobs' 
4. Note that lockup frees on 'digikam.general: Cancel Main Thread'

OBSERVED RESULT
UI locks up occasionally for a long time

EXPECTED RESULT
UI should not lockup

SOFTWARE/OS VERSIONS
Windows: 
macOS:
Linux/KDE Plasma: ArchLinux
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

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

Reply via email to