Bug 239309 - [HOOS] kword:msoffice2003: Kword crashes while using "split view" in particular scenario
Summary: [HOOS] kword:msoffice2003: Kword crashes while using "split view" in particul...
Status: CLOSED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: doc (show other bugs)
Version: unspecified
Platform: unspecified All
: LO minor
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2009-11-20 15:13 UTC by Lassi Nieminen
Modified: 2011-12-23 14:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Faure 2010-05-28 03:12:51 UTC


---- Reported by lassi.ta.nieminen@nokia.com 2009-11-20 16:13:10 +0200 ----

SOFTWARE VERSION:
  Kubuntu 9.10
  Koffice (svn version 1051260)

STEPS LEADING TO THE PROBLEM:
  1. Open any document in KOffice.
  2. click on "Split View" sub menu in "View" menu option.
  3. click on "Remove View" sub menu in "View" menu option.
  4. click again on "Split View" sub menu in "View" menu option.

EXPECTED OUTCOME:
  Kword should split the view without any crash.

ACTUAL OUTCOME:
  Kword crashes with signal 11 while "split view" is clicked.
  Attaching the backtrace.

FREQUENCY:
  Always



---- Additional Comments From lassi.ta.nieminen@nokia.com 2009-11-20 16:14:43 +0200 ----

Here is the backtrace:

Application: KWord (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x01028fd0 in QWidget::window() const () from /usr/lib/libQtGui.so.4
#7  0x01c9ce69 in KoView::shell (this=0x97c6630) at /home/nandita/nov17/koffice/libs/main/KoView.cpp:467
#8  0x01c46db0 in KoDockerManager::Private::removeDockers (this=0x9ec8010) at /home/nandita/nov17/koffice/libs/main/KoDockerManager.cpp:93
#9  0x01c47c19 in KoDockerManager::newOptionWidgets (this=0x9ecd9b0, optionWidgetMap=..., callingView=0x9ee57c8) at /home/nandita/nov17/koffice/libs/main/KoDockerManager.cpp:181
#10 0x01c48100 in KoDockerManager::qt_metacall (this=0x9ecd9b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf830294) at /home/nandita/nov17/buils/libs/main/KoDockerManager.moc:70
#11 0x00265263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00265ec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x05b0e8d3 in KoCanvasController::toolOptionWidgetsChanged (this=0x9a02fe0, _t1=..., _t2=0x9ee57c8) at /home/nandita/nov17/buils/libs/flake/KoCanvasController.moc:177
#14 0x05b0d272 in KoCanvasController::setToolOptionWidgets (this=0x9a02fe0, widgetMap=...) at /home/nandita/nov17/koffice/libs/flake/KoCanvasController.cpp:430
#15 0x05b1e2ff in KoToolManager::postSwitchTool (this=0x99f4388, temporary=false) at /home/nandita/nov17/koffice/libs/flake/KoToolManager.cpp:454
#16 0x05b1d9f6 in KoToolManager::switchTool (this=0x99f4388, tool=0xa3de1b0, temporary=false) at /home/nandita/nov17/koffice/libs/flake/KoToolManager.cpp:391
#17 0x05b1d2d7 in KoToolManager::switchTool (this=0x99f4388, id=..., temporary=false) at /home/nandita/nov17/koffice/libs/flake/KoToolManager.cpp:325
#18 0x05b1f2d3 in KoToolManager::switchToolRequested (this=0x99f4388, id=...) at /home/nandita/nov17/koffice/libs/flake/KoToolManager.cpp:611
#19 0x023521c5 in KWDocument::createViewInstance (this=0x960d628, parent=0x9651f10) at /home/nandita/nov17/koffice/kword/part/KWDocument.cpp:234
#20 0x01c4f4e3 in KoDocument::createView (this=0x960d628, parent=0x9651f10) at /home/nandita/nov17/koffice/libs/main/KoDocument.cpp:345
#21 0x01c7c68b in KoMainWindow::slotSplitView (this=0x9643390) at /home/nandita/nov17/koffice/libs/main/KoMainWindow.cpp:1420
#22 0x01c7f404 in KoMainWindow::qt_metacall (this=0x9643390, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbf830788) at /home/nandita/nov17/buils/libs/main/KoMainWindow.moc:149
#23 0x00265263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x002656d8 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x00fdb9b1 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#26 0x00fdcf32 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#27 0x0142a9cc in ?? () from /usr/lib/libQtGui.so.4
#28 0x0143103b in ?? () from /usr/lib/libQtGui.so.4
#29 0x01431bf7 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00dec1c5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#31 0x01037012 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x01433e34 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00fe1f54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00fea033 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00d01bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x0024f6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00fe8f6e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#38 0x01057c87 in ?? () from /usr/lib/libQtGui.so.4
#39 0x01056c4b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#40 0x01083502 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00aa3e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00aa7720 in ?? () from /lib/libglib-2.0.so.0
#43 0x00aa7853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x0027a02c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x01082be5 in ?? () from /usr/lib/libQtGui.so.4
#46 0x0024dc79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x0024e0ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0x0025053f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#49 0x00fe1dd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#50 0x08087de7 in kdemain (argc=2, argv=0x94d2830) at /home/nandita/nov17/koffice/kword/part/main.cpp:38
#51 0x0804dde1 in _start ()



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-01-19 22:17:11 +0200 ----

CRASH Must be Fixed not feature



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-02-19 10:10:18 +0200 ----

Changing to minor, since this can never be reproduced in our env.



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-03-10 12:52:21 +0200 ----

Moving to Community sub component



--- Bug imported by faure@kde.org 2010-05-28 03:12  ---

This bug was previously known as _bug_ 147734.


Unknown Component Community
   Using default product and component set in Parameters 

Comment 1 Halla Rempt 2011-10-05 09:24:47 UTC
Git commit e08bce93e67dcf0383001ccd3277693af2385fd8 by Boudewijn Rempt.
Committed on 05/10/2011 at 10:48.
Pushed by rempt into branch 'master'.

Remove split view functionality

The Calligra split view functionality has some serious problems:

* we cannot split and have two documents in one view
* it is buggy
* the action list is loaded twice when splitting the view, which means
  that all shortcuts stop working because they are duplicated

REVIEW:101993

BUG:278000
BUG:265200
BUG:239309

We need to redesign this feature and implement it properly. The age-old
hacks (veryHackyActionList...) cannot be fixed, so remove the current
implementation.

M  +0    -3    flow/part/flow.rc
M  +0    -2    karbon/data/karbon.rc
M  +5    -4    libs/main/KoDocument.cpp
M  +5    -136  libs/main/KoMainWindow.cpp
M  +0    -12   libs/main/KoMainWindow.h
M  +0    -3    stage/part/stage.rc
M  +0    -2    stage/stage.rc
M  +0    -3    tables/tables.rc
M  +0    -3    words/part/words.rc

http://commits.kde.org/calligra/e08bce93e67dcf0383001ccd3277693af2385fd8
Comment 2 swathi 2011-12-23 14:39:50 UTC
Closing the bug as the split view has been removed.