[Digikam-devel] New icon view

Gilles Caulier caulier.gilles at gmail.com
Thu May 28 21:47:16 BST 2009


Marcel,

Sometimes, from icon-view, when i delete more than one pictures at the
same time (without to see a crash... ouf!), well icon view do not show
the reality.

For example, if i delete 6 files, iconview flash (if fact viewport is
updated), and 3 files still here selected but not removed from the
list.

If editor is open at the same time on the same album, i can see that
all 6 items have been removed from thumbbar.

In fact files are removed properly from hdd, but partially from icon view...

Gilles

2009/5/28 Gilles Caulier <caulier.gilles at gmail.com>:
> It crash again. here, just compiled with your hacking code. look
> backtrace when i delete an item from Light Table (another item is
> loaded in editor at the same time) :
>
> void SunLocator::update()
> [New Thread 0x99a8bb90 (LWP 19336)]
> digikam(19154)/digikam (core) Digikam::EditorToolThreaded::slotEffect:
> Preview  "Raw Import"  started...
> [New Thread 0x97b6eb90 (LWP 19337)]
> digikam(19154)/digikam (core) Digikam::WhiteBalance::setLUTv: T(K):
> 6500  => R: 1  G: 1  B: 1  BP: 0  WP: 57052
> [Thread 0x99a8bb90 (LWP 19336) exited]
> [Thread 0x97b6eb90 (LWP 19337) exited]
> digikam(19154)/digikam (core)
> Digikam::EditorToolThreaded::slotFilterFinished: Preview  "Raw Import"
>  completed...
> [New Thread 0x97b6eb90 (LWP 19338)]
> digikam(19154)/digikam (core)
> Digikam::CollectionManager::locationForPath: Testing location  1
> "/mnt/data/photos/Famille/Salagou" "/mnt/data/photos"
> digikam(19154)/digikam (core)
> Digikam::CollectionManager::locationForPath: Testing location  1
> "/mnt/data/photos/Famille/Salagou" "/mnt/data/photos"
> [Thread 0x97b6eb90 (LWP 19338) exited]
> digikam(19154)/digikam (core)
> Digikam::CollectionManager::locationForPath: Testing location  1
> "/mnt/data/photos/Famille/Salagou" "/mnt/data/photos"
> digikam(19154)/digikam (core) Digikam::DeleteDialog::accept:
> setShowTrashDeleteDialog  true
> digikam(19154)/digikam (core)
> Digikam::AlbumManager::slotKioFilesAdded:
> "/mnt/data/.Trash-500/files/PICT2381.MRW"
> digikam(19154)/digikam (core) Digikam::DImg::load:
> "/mnt/data/photos/Famille/Salagou/PICT2382.MRW"  : RAW file identified
> digikam(19154)/KDCRAW KDcrawIface::KDcraw::loadFromDcraw: LibRaw:
> dcraw emulation:  ("-h", "-H 0", "-w", "-q 0", "-o 1",
> "/mnt/data/photos/Famille/Salagou/PICT2382.MRW")
> digikam(19154)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
> LibRaw progress:  Reading metadata  pass  0  of  2
> digikam(19154)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
> LibRaw progress:  Reading metadata  pass  1  of  2
> digikam(19154)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback:
> LibRaw progress:  Reading RAW data  pass  0  of  2
> digikam(19154)/digikam (core) Digikam::AlbumManager::slotKioFileMoved:
> "file:///mnt/data/photos/Famille/Salagou/PICT2381.MRW"
> "trash:/PICT2381.MRW"
> digikam(19154) Digikam::AlbumManager::handleKioNotification:
> KDirNotify detected file change at "/mnt/data/photos/Famille/Salagou"
> digikam(19154)/digikam (core)
> Digikam::AlbumManager::slotKioFilesAdded: "trash:/"
> digikam(19154)/digikam (core)
> Digikam::AlbumManager::slotKioFilesDeleted:
> ("file:///mnt/data/photos/Famille/Salagou/PICT2381.MRW")
> digikam(19154) Digikam::AlbumManager::handleKioNotification:
> KDirNotify detected file change at "/mnt/data/photos/Famille/Salagou"
> digikam(19154)/digikam (core)
> Digikam::AlbumManager::slotDirWatchDirty: KDirWatch detected change at
> "/mnt/data/photos/Famille/Salagou"
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb6e9ae29 in Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign
> (this=0xbfb21338, o=@0x8)
>    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dimg/dshareddata.h:142
> 142             if (o.d != d)
> Missing debug package(s), you should install:
> digikam-debug-0.10.0-6mdv2009.1.i586
> (gdb) bt
> #0  0xb6e9ae29 in
> Digikam::DSharedDataPointer<Digikam::ImageInfoData>::assign
> (this=0xbfb21338, o=@0x8)
>    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dimg/dshareddata.h:142
> #1  0xb6e9bd4c in
> Digikam::DSharedDataPointer<Digikam::ImageInfoData>::operator=
> (this=0xbfb21338, o=@0x8)
>    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/../libs/dimg/dshareddata.h:121
> #2  0xb6e97b4f in ImageInfo (this=0xbfb21338, info=@0x8) at
> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/database/imageinfo.cpp:173
> #3  0x08314540 in Digikam::ImagePreviewBarItem::info (this=0x0) at
> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imagepreviewbar.cpp:730
> #4  0x081891e1 in Digikam::LightTableBar::slotCollectionImageChange
> (this=0xda98d38, changeset=@0xfc6a3f8)
>    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/lighttable/lighttablebar.cpp:687
> #5  0x0818a8ea in Digikam::LightTableBar::qt_metacall (this=0xda98d38,
> _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xd7b1490)
>    at /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/lighttablebar.moc:113
> #6  0xb557e79a in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
> #7  0xb55802b5 in QObject::event () from /usr/lib/libQtCore.so.4
> #8  0xb5a9d621 in QWidget::event () from /usr/lib/libQtGui.so.4
> #9  0xb5e9a639 in QFrame::event () from /usr/lib/libQtGui.so.4
> #10 0xb5a4499c in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #11 0xb5a4d1db in QApplication::notify () from /usr/lib/libQtGui.so.4
> #12 0xb66a0c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
> #13 0xb556f33e in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #14 0xb556fff5 in QCoreApplicationPrivate::sendPostedEvents () from
> /usr/lib/libQtCore.so.4
> #15 0xb55701dc in QCoreApplication::sendPostedEvents () from
> /usr/lib/libQtCore.so.4
> #16 0xb559c5bd in ?? () from /usr/lib/libQtCore.so.4
> #17 0xb48e5cea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #18 0xb48e9354 in ?? () from /usr/lib/libglib-2.0.so.0
> #19 0xb48e94df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
> #20 0xb559c1da in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #21 0xb5ae8e6a in ?? () from /usr/lib/libQtGui.so.4
> #22 0xb556d903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
> #23 0xb556dd51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> #24 0xb55702b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
> #25 0xb5a44804 in QApplication::exec () from /usr/lib/libQtGui.so.4
> #26 0x083815e1 in main (argc=1, argv=0xbfb21df4) at
> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/main.cpp:184
> (gdb)
>
> Gilles
>
> 2009/5/28 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>> Hi,
>>
>> if the given info is correct, the problem is here:
>>
>>>
>>>#3 0x08314540 in Digikam::ImagePreviewBarItem::info (this=0x0)
>>> at
>>>
>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imageprevie
>>>wbar.cpp:730 #4 0x081891e1 in
>>> Digikam::LightTableBar::slotCollectionImageChange (this=0xdd618b8,
>>> changeset=@0xd5ba6f8)
>>> at
>>>
>>> /home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/lighttabl
>>>e/lighttablebar.cpp:687
>>
>> The ImagePreviewBarItem is null.
>> Maybe an item is removed when the image is deleted?
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>>
>



More information about the Digikam-devel mailing list