[KPhotoAlbum] Multi-image annotation dialog annoyance
Reimar Imhof
Reimar.Imhof at netcologne.de
Mon Nov 7 20:06:19 GMT 2016
Hi,
I've tried a little debugging using photos from the demo annotating all images
(ctrl-2).
I put a breakpoint in
AnnotationDialog::ImagePreview::PreviewImage::set() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/ImagePreview.cpp:229
If I do so and go from one image to the next one that breakpoint gets hit over
and over again for the same file (for example spiff_2.jpeg). I can't tell how
often, but it's very often... (a hundred times???)
Sometimes the file name somehow toggles between spiff,jpeg and spiff_2.jpeg.
#0 AnnotationDialog::ImagePreview::PreviewImage::set() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/ImagePreview.cpp:229
#1 AnnotationDialog::ImagePreview::setCurrentImage() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/ImagePreview.cpp:156
#2 AnnotationDialog::ImagePreview::pixmapLoaded() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/ImagePreview.cpp:192
#3 ImageManager::AsyncLoader::customEvent() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/ImageManager/AsyncLoader.cpp:186
#4 QObject::event(QEvent*)() in /usr/lib64/libQt5Core.so.5
#5 QApplicationPrivate::notify_helper(QObject*, QEvent*)() in
/usr/lib64/libQt5Widgets.so.5
#6 QApplication::notify(QObject*, QEvent*)() in /usr/lib64/libQt5Widgets.so.5
#7 QCoreApplication::notifyInternal2(QObject*, QEvent*)() in
/usr/lib64/libQt5Core.so.5
#8 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)() in
/usr/lib64/libQt5Core.so.5
#9 ??() in /usr/lib64/libQt5Core.so.5
#10 g_main_context_dispatch() in /usr/lib64/libglib-2.0.so.0
#11 ??() in /usr/lib64/libglib-2.0.so.0
#12 g_main_context_iteration() in /usr/lib64/libglib-2.0.so.0
#13 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() in /usr/lib64/libQt5Core.so.5
#14 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)() in
/usr/lib64/libQt5Core.so.5
#15 QDialog::exec()() in /usr/lib64/libQt5Widgets.so.5
#16 AnnotationDialog::Dialog::exec() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/Dialog.cpp:927
#17 AnnotationDialog::Dialog::configure() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/AnnotationDialog/Dialog.cpp:735
#18 MainWindow::Window::configImages() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/MainWindow/Window.cpp:438
#19 MainWindow::Window::configureImages() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/MainWindow/Window.cpp:431
#20 MainWindow::Window::configureImages() in
/home/<user>/kdevelop/kphotoalbum-5.0.1/MainWindow/Window.cpp:425
Now and again I can see the size of the preview area change.
Sometimes it's empty, sometimes it shows a photo (spiff_2.jpeg).
Sometimes that photo disappears immediately - before the debugger hits the
breakpoint the next time.
I don't know if this helps - well I hope.
Cheers,
Reimar
Am Montag, 7. November 2016, 19:20:10 schrieb Reimar Imhof:
> Hi,
>
> I have that problem with an old Core2Duo intel graphic "adapter".
> I also have it with an install in virtualbox.
>
> I think, it's not related to a graphics driver.
>
> Cheers,
> Reimar
>
> Am Montag, 7. November 2016, 14:40:38 schrieb Tobias Leupold:
> > > I wonder whether it's a function of particular graphics adapters. I
> > > have a Radeon HD5870 aka Juniper/Broadway XT, using the radeon (free)
> > > driver.
> >
> > I use my CPU's graphic chip:
> > Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated
> > Graphics Controller (rev 06)
> > _______________________________________________
> > KPhotoAlbum mailing list
> > KPhotoAlbum at mail.kdab.com
> > https://mail.kdab.com/mailman/listinfo/kphotoalbum
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/kphotoalbum
More information about the Kphotoalbum
mailing list