Bug 190939

Summary: Inserted image, "Clings" to the separation of pages
Product: [Unmaintained] kword Reporter: Marcus Harrison <marcus>
Component: generalAssignee: Thomas Zander <zander>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The offending file.
kwordrc file.

Description Marcus Harrison 2009-04-28 18:51:22 UTC
Version:           2.0 RC1 (using 4.2.2 (KDE 4.2.2), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.29-gentoo-r1

Having loaded a previously made 2-page document in KWord (which already includes images), when dragging-and-dropping the, "Image" shape from the shapes panel the, "Open file" dialogue appears. All good so far. However, when I select the image I want, it consistently appears over-lapping the area where the pages are separated. I cannot move it away from this area: if it means having the entire image on one page, I can't do it. I've also noticed that other images, though placed properly initially, will jump to the crease when selected and moved. I will attach the offending file and my .kde/share/config/kwordrc.

Up to this point, I have thoroughly enjoyed using KWord RC 1 as opposed to OpenOffice, and I look forward to using this new, intuitive office suite as a full replacement. Keep up the good work!


(Side note - no, this document isn't finished yet. To my dismay, I wasn't allowed to compare various versions of Linux, either...)
Comment 1 Marcus Harrison 2009-04-28 18:52:39 UTC
Created attachment 33189 [details]
The offending file.
Comment 2 Marcus Harrison 2009-04-28 18:53:24 UTC
Created attachment 33190 [details]
kwordrc file.
Comment 3 Marcus Harrison 2009-04-28 18:57:35 UTC
Another quick update - when selecting the above file from Kword's, "Open Document" view, it crashed with the following backtrace:

Application: KWord (kword), signal SIGSEGV

Thread 1 (Thread 0xb570c700 (LWP 9579)):
[KCrash Handler]
#6  QTextDocument::firstBlock (this=0x19) at text/qtextdocument.h:289
#7  0xb40b3c05 in KWDocument::endOfLoading (this=0x83ef198) at /var/tmp/portage/app-office/kword-1.9.99.0/work/kword-1.9.99.0/kword/part/KWDocument.cpp:557
#8  0xb40b4d4b in KWDocument::loadOdf (this=0x83ef198, odfStore=@0xbf9af9a8) at /var/tmp/portage/app-office/kword-1.9.99.0/work/kword-1.9.99.0/kword/part/KWDocument.cpp:533
#9  0xb7ec979b in KoDocument::loadOasisFromStore (this=0x83ef198, store=0x88fbfd8) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1906
#10 0xb7ed8619 in KoDocument::loadNativeFormatFromStoreInternal (this=0x83ef198, store=0x88fbfd8)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1788
#11 0xb7ed9486 in KoDocument::loadNativeFormatFromStore (this=0x83ef198, file=@0xbf9afc4c)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1743
#12 0xb7ed988c in KoDocument::loadNativeFormat (this=0x83ef198, file_=@0xbf9afdd8) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1723
#13 0xb7ed6518 in KoDocument::openFile (this=0x83ef198) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1534
#14 0xb7b0b81f in KParts::ReadOnlyPart::openUrl (this=0x83ef198, url=@0xbf9aff80) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kparts/part.cpp:558
#15 0xb7ed0d12 in KoDocument::openUrl (this=0x83ef198, _url=@0xbf9b0254) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:1389
#16 0xb7ecc30c in KoDocument::openExistingFile (this=0x83ef198, url=@0xbf9b0254) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoDocument.cpp:2572
#17 0xb7ecf153 in KoDocument::qt_metacall (this=0x83ef198, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbf9b012c)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs_build/libs/main/KoDocument.moc:123
#18 0xb40a650a in KWDocument::qt_metacall (this=0x83ef198, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbf9b012c)
    at /var/tmp/portage/app-office/kword-1.9.99.0/work/kword_build/kword/part/moc_KWDocument.cpp:86
#19 0xb7088411 in QMetaObject::activate (sender=0x8445dc0, from_signal_index=<value optimized out>, to_signal_index=27, argv=0xbf9b012c) at kernel/qobject.cpp:3057
#20 0xb7088a22 in QMetaObject::activate (sender=0x8445dc0, m=0xb7f8ae30, local_signal_index=0, argv=0xbf9b012c) at kernel/qobject.cpp:3134
#21 0xb7f5b733 in KoOpenPane::openExistingFile (this=0x8445dc0, _t1=@0xbf9b0254) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs_build/libs/main/KoOpenPane.moc:98
#22 0xb7f5bb5a in KoOpenPane::qt_metacall (this=0x8445dc0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf9b022c)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs_build/libs/main/KoOpenPane.moc:80
#23 0xb7088411 in QMetaObject::activate (sender=0x8567e98, from_signal_index=<value optimized out>, to_signal_index=27, argv=0xbf9b022c) at kernel/qobject.cpp:3057
#24 0xb7088a22 in QMetaObject::activate (sender=0x8567e98, m=0xb7f8bb7c, local_signal_index=0, argv=0xbf9b022c) at kernel/qobject.cpp:3134
#25 0xb7f733b3 in KoExistingDocumentPane::openExistingUrl (this=0x8567e98, _t1=@0xbf9b0254)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs_build/libs/main/KoExistingDocumentPane.moc:83
#26 0xb7f7347f in KoExistingDocumentPane::onAccepted (this=0x8567e98) at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs-1.9.99.0/libs/main/KoExistingDocumentPane.cpp:62
#27 0xb7f734fd in KoExistingDocumentPane::qt_metacall (this=0x8567e98, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbf9b0308)
    at /var/tmp/portage/app-office/koffice-libs-1.9.99.0/work/koffice-libs_build/libs/main/KoExistingDocumentPane.moc:71
#28 0xb7088411 in QMetaObject::activate (sender=0x85fb4a0, from_signal_index=<value optimized out>, to_signal_index=31, argv=0x0) at kernel/qobject.cpp:3057
#29 0xb7088a22 in QMetaObject::activate (sender=0x85fb4a0, m=0xb7aedbf0, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3134
#30 0xb7aa52a7 in KFileWidget::accepted (this=0x85fb4a0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/kfile/kfilewidget.moc:184
#31 0xb7ab00eb in KFileWidget::slotOk (this=0x85fb4a0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kfile/kfilewidget.cpp:945
#32 0xb7aaba9c in KFileWidgetPrivate::_k_fileSelected (this=0x8592328, i=@0xbf9b06a8) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kfile/kfilewidget.cpp:1050
#33 0xb7aae5fa in KFileWidget::qt_metacall (this=0x85fb4a0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbf9b064c)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/kfile/kfilewidget.moc:134
#34 0xb7088411 in QMetaObject::activate (sender=0x862a120, from_signal_index=<value optimized out>, to_signal_index=34, argv=0xbf9b064c) at kernel/qobject.cpp:3057
#35 0xb7088a22 in QMetaObject::activate (sender=0x862a120, m=0xb7aed234, local_signal_index=7, argv=0xbf9b064c) at kernel/qobject.cpp:3134
#36 0xb7a8a193 in KDirOperator::fileSelected (this=0x862a120, _t1=@0xbf9b06a8) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/kfile/kdiroperator.moc:313
#37 0xb7a8aaa9 in KDirOperator::selectFile (this=0x862a120, item=@0xbf9b06a8) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kfile/kdiroperator.cpp:1682
#38 0xb7a8ac14 in KDirOperator::Private::_k_slotActivated (this=0x862a930, index=@0x87fb128) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kfile/kdiroperator.cpp:2339
#39 0xb7a971fc in KDirOperator::qt_metacall (this=0x862a120, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbf9b07bc)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/kfile/kdiroperator.moc:243
#40 0xb7088411 in QMetaObject::activate (sender=0x8655d78, from_signal_index=<value optimized out>, to_signal_index=34, argv=0xbf9b07bc) at kernel/qobject.cpp:3057
#41 0xb7088a22 in QMetaObject::activate (sender=0x8655d78, m=0xb6e25a84, local_signal_index=3, argv=0xbf9b07bc) at kernel/qobject.cpp:3134
#42 0xb6c042b3 in QAbstractItemView::activated (this=0x8655d78, _t1=@0x87fb128) at .moc/debug-shared/moc_qabstractitemview.cpp:335
#43 0xb6c077eb in QAbstractItemView::mouseDoubleClickEvent (this=0x8655d78, event=0xbf9b108c) at itemviews/qabstractitemview.cpp:1687
#44 0xb6713851 in QWidget::event (this=0x8655d78, event=0xbf9b108c) at kernel/qwidget.cpp:7520
#45 0xb6ad42a3 in QFrame::event (this=0x8655d78, e=0xbf9b108c) at widgets/qframe.cpp:559
#46 0xb6b6ca8f in QAbstractScrollArea::viewportEvent (this=0x8655d78, e=0x83ef198) at widgets/qabstractscrollarea.cpp:962
#47 0xb6c1381f in QAbstractItemView::viewportEvent (this=0x8655d78, event=0xbf9b108c) at itemviews/qabstractitemview.cpp:1466
#48 0xb6b6efd5 in QAbstractScrollAreaFilter::eventFilter (this=0x8767cb8, o=0x86386c8, e=0xbf9b108c) at widgets/qabstractscrollarea_p.h:100
#49 0xb7071aba in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x82cf4d0, receiver=0x86386c8, event=0xbf9b108c) at kernel/qcoreapplication.cpp:718
#50 0xb66b9caa in QApplicationPrivate::notify_helper (this=0x82cf4d0, receiver=0x86386c8, e=0xbf9b108c) at kernel/qapplication.cpp:4080
#51 0xb66c31a4 in QApplication::notify (this=0xbf9b188c, receiver=0x86386c8, e=0xbf9b108c) at kernel/qapplication.cpp:3786
#52 0xb75dcbbd in KApplication::notify (this=0xbf9b188c, receiver=0x86386c8, event=0xbf9b108c) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#53 0xb70720ab in QCoreApplication::notifyInternal (this=0xbf9b188c, receiver=0x86386c8, event=0xbf9b108c) at kernel/qcoreapplication.cpp:598
#54 0xb66c224f in QApplicationPrivate::sendMouseEvent (receiver=0x86386c8, event=0xbf9b108c, alienWidget=0x86386c8, nativeWidget=0x8414c88, buttonDown=0xb6e32ae0, lastMouseReceiver=@0xb6e32ae4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#55 0xb672ba65 in QETWidget::translateMouseEvent (this=0x8414c88, event=0xbf9b15ec) at kernel/qapplication_x11.cpp:4425
#56 0xb672aacd in QApplication::x11ProcessEvent (this=0xbf9b188c, event=0xbf9b15ec) at kernel/qapplication_x11.cpp:3543
#57 0xb675268a in x11EventSourceDispatch (s=0x82d2418, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0xb5fae288 in IA__g_main_context_dispatch (context=0x82d1820) at gmain.c:2144
#59 0xb5fb1923 in g_main_context_iterate (context=0x82d1820, block=1, dispatch=1, self=0x82cf6a0) at gmain.c:2778
#60 0xb5fb1ae1 in IA__g_main_context_iteration (context=0x82d1820, may_block=1) at gmain.c:2841
#61 0xb709c9b8 in QEventDispatcherGlib::processEvents (this=0x82cf4b0, flags={i = -1080354904}) at kernel/qeventdispatcher_glib.cpp:323
#62 0xb6751de5 in QGuiEventDispatcherGlib::processEvents (this=0x82cf4b0, flags={i = -1080354856}) at kernel/qguieventdispatcher_glib.cpp:202
#63 0xb7070aea in QEventLoop::processEvents (this=0xbf9b1840, flags={i = -1080354792}) at kernel/qeventloop.cpp:149
#64 0xb7070caa in QEventLoop::exec (this=0xbf9b1840, flags={i = -1080354744}) at kernel/qeventloop.cpp:196
#65 0xb7075d21 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#66 0xb66b99f7 in QApplication::exec () at kernel/qapplication.cpp:3553
#67 0xb7f9008d in kdemain (argc=1, argv=0xbf9b1984) at /var/tmp/portage/app-office/kword-1.9.99.0/work/kword-1.9.99.0/kword/part/main.cpp:38
#68 0x08048842 in main (argc=-1209693592, argv=0x0) at /var/tmp/portage/app-office/kword-1.9.99.0/work/kword_build/kword/part/kword_dummy.cpp:3
Comment 4 Thomas Zander 2009-05-06 12:08:15 UTC
SVN commit 964191 by zander:

Fixes: A document with a specific page sequence was loaded incorrectly.
BUG:190939

 M  +1 -1      KWOdfLoader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=964191