Summary: | Digikam freezes completely if too many pictures are processed in the Adjust Time & Date plugin | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | MarcP <iwannaberich> |
Component: | Plugin-Generic-TimeAdjust | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, iwannaberich, metzpinguin |
Priority: | NOR | ||
Version First Reported In: | 7.4.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/c94f6c7c53b46ff228018cfb196ff8ac6f6ff0b1 | Version Fixed In: | 7.5.0 |
Sentry Crash Report: |
Description
MarcP
2021-12-22 20:54:07 UTC
Yes, I know the problem. The calculation of the preview of the new time stamp is not carried out in a thread. With many images it actually takes a long time, but the GUI would be available again afterwards. Maik Oh ok, I'm glad you are already aware of the issue. Yes, we also have to run these previews in the list view in a thread. Some QDateTime operations really take a long time, Qt justifies it with complicated calendar functions, calculation of summer / winter time, etc. Maik Git commit 25ca98a468b8b6e529eb83a7a142e130bca18f21 by Maik Qualmann. Committed on 27/12/2021 at 18:39. Pushed by mqualmann into branch 'master'. change section resize mode for more speed M +1 -1 core/dplugins/generic/metadata/timeadjust/timeadjustlist.cpp https://invent.kde.org/graphics/digikam/commit/25ca98a468b8b6e529eb83a7a142e130bca18f21 I'm currently working on a preview task for the Time Adjust Tool. I noticed that a QTreeWidget is extremely slow when the section resize mode is set to QHeaderView::ResizeToContents and text is changed in the rows. Maik Git commit c94f6c7c53b46ff228018cfb196ff8ac6f6ff0b1 by Maik Qualmann. Committed on 28/12/2021 at 07:44. Pushed by mqualmann into branch 'master'. add preview thread to the Time Adjust Tool FIXED-IN: 7.5.0 M +1 -1 NEWS M +86 -204 core/dplugins/generic/metadata/timeadjust/timeadjustdialog.cpp M +10 -30 core/dplugins/generic/metadata/timeadjust/timeadjustdialog.h M +57 -39 core/dplugins/generic/metadata/timeadjust/timeadjustlist.cpp M +11 -6 core/dplugins/generic/metadata/timeadjust/timeadjustlist.h M +104 -28 core/dplugins/generic/metadata/timeadjust/timeadjusttask.cpp M +38 -4 core/dplugins/generic/metadata/timeadjust/timeadjusttask.h M +172 -18 core/dplugins/generic/metadata/timeadjust/timeadjustthread.cpp M +29 -6 core/dplugins/generic/metadata/timeadjust/timeadjustthread.h M +1 -1 core/libs/dplugins/widgets/ditemslist_view.cpp M +9 -23 core/libs/timeadjust/timeadjustcontainer.cpp M +1 -2 core/libs/timeadjust/timeadjustcontainer.h https://invent.kde.org/graphics/digikam/commit/c94f6c7c53b46ff228018cfb196ff8ac6f6ff0b1 |