focus icon indicating copy to clipboard operation
focus copied to clipboard

Crash after reindexing (or after emptying TRASH)

Open sthennin opened this issue 6 years ago • 0 comments

If one re-indexes all images in the Library, or if one empties TRASH (which afterwards re-indexes all images also), and then tries to set color flags for some selected images, then FOCUS crashes in ProjectModel.cpp:391

with:

0 org.cina.focus.focus 0x000000010fb52194 QStandardItem::setText(QString const&) + 20 (qstandarditemmodel.h:260) 1 org.cina.focus.focus 0x000000010fb56f78 ProjectModel::fillData(unsigned int, QStandardItem*, QVariant) + 1480 (ProjectModel.cpp:391) 2 org.cina.focus.focus 0x000000010fb58475 QtPrivate::QFunctorSlotObject<ProjectModel::addImage(ProjectImage*)::'lambda'(), 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 149 (ProjectModel.cpp:303) 3 org.qt-project.QtCore 0x0000000110fe99cb QMetaObject::activate(QObject*, int, int, void**) + 731 4 org.cina.focus.focus 0x000000010fb1acfb ParameterElementData::setValue(QString) + 1259 (ParameterElementData.cpp:134)

sthennin avatar Jun 06 '18 14:06 sthennin