[Digikam-devel] Using image editor canvas with Preview mode...
Gilles Caulier
caulier.gilles at gmail.com
Wed Apr 11 13:37:12 BST 2007
2007/4/7, Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>
> > Fine for me. i need this to implement the LightTable because i will use
> > more than one instance of Canvas/DImgInterface at the same time, embeded
> in
> > a same KMainWindow. I will souns like an image editor view separated by
> > QSplitter. This vision of a future Light Table is fine for you ?
> >
> > If yes, are you free time this WE to patch source code of
> > Canvas/DimageInterface in this way ?
>
> Patch as described above is in SVN.
Marcel,
Since this patch, The corner widget on bottom/right of canvas, witch provide
the pan tool, crash with showfoto. Just start showfoto, load and image, and
press on the corner button...
Program received signal SIGSEGV, Segmentation fault.
0x081194aa in Digikam::DImgInterface::origWidth (this=0x0) at
dimginterface.cpp:705
/home/gilles/Documents/Devel/SVN/trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp:705:23590:beg:0x81194aa
(gdb) info thread
Current language: auto; currently c++
2 Thread -1239880800 (LWP 15679) 0xbfffe410 in __kernel_vsyscall ()
* 1 Thread -1236486448 (LWP 15675) 0x081194aa in
Digikam::DImgInterface::origWidth (this=0x0) at dimginterface.cpp:705
(gdb) backtrace
#0 0x081194aa in Digikam::DImgInterface::origWidth (this=0x0) at
dimginterface.cpp:705
#1 0x0813e3bb in ImageIface (this=0x82f2a00, w=180, h=120) at
imageiface.cpp:83
#2 0x0813b9bb in ImagePanIconWidget (this=0x84a8d70, w=180, h=120,
parent=0x84aced0, f=65536) at imagepaniconwidget.cpp:93
#3 0x08123927 in Digikam::Canvas::slotCornerButtonPressed (this=0x8298da8)
at canvas.cpp:1244
#4 0x0812a7c2 in Digikam::Canvas::qt_invoke (this=0x8298da8, _id=82,
_o=0xbfcd0848) at canvas.moc:388
#5 0xb6ec2d1d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-
mt.so.3
#6 0xb6ec392d in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-
mt.so.3
#7 0xb71dcd29 in QButton::pressed () from /usr/lib/qt3/lib/libqt-mt.so.3
#8 0xb6f5538f in QButton::mousePressEvent () from /usr/lib/qt3/lib/libqt-
mt.so.3
#9 0xb6ff4834 in QToolButton::mousePressEvent () from
/usr/lib/qt3/lib/libqt-mt.so.3
#10 0xb6efaf3e in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb6e65db7 in QApplication::internalNotify () from
/usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb6e66d79 in QApplication::notify () from /usr/lib/qt3/lib/libqt-
mt.so.3
#13 0xb758711a in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0xb6e08719 in QETWidget::translateMouseEvent () from
/usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb6e07696 in QApplication::x11ProcessEvent () from
/usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb6e176aa in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-
mt.so.3
#17 0xb6e7b7e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-
mt.so.3
#18 0xb6e7b696 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6e6576f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x08076066 in main (argc=135738252, argv=0x22) at main.cpp:133
(gdb) info args
this = (class Digikam::DImgInterface * const) 0x0
(gdb) info local
No locals.
(gdb) whatis this
type = class Digikam::DImgInterface * const
Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20070411/f8caf18b/attachment.html>
More information about the Digikam-devel
mailing list