A text file that contains columns in sections hangs when opening it in calligra words. The file has column breaks. Reproducible: Always
Created attachment 82402 [details] FIle that hangs calligra-words.
Here is a backtrace of one position in the infinite loop: #0 0x00007fc751f454ba in KoShape::absolutePosition (this=0x57bed80, anchor=anchor@entry=KoFlake::CenteredPosition) at /home/oever/work/nokia/src/calligra/libs/flake/KoShape.cpp:641 #1 0x00007fc7439be75d in KWFrameLayout::framesInPage (this=this@entry= 0x248b160, page=...) at /home/oever/work/nokia/src/calligra/words/part/frames/KWFrameLayout.cpp:664 #2 0x00007fc7439c1eb9 in KWFrameLayout::createNewFramesForPage ( this=this@entry=0x248b160, pageNumber=15137) at /home/oever/work/nokia/src/calligra/words/part/frames/KWFrameLayout.cpp:168 #3 0x00007fc7439daf89 in KWPageInsertCommand::redo (this=0x75fca30) at /home/oever/work/nokia/src/calligra/words/part/commands/KWPageInsertCommand.cpp:108 #4 0x00007fc74398e209 in KWDocument::insertPage (this=this@entry=0x248b110, afterPageNum=15136, masterPageName=..., addUndoRedoCommand=addUndoRedoCommand@entry=false) at /home/oever/work/nokia/src/calligra/words/part/KWDocument.cpp:251 #5 0x00007fc74398e301 in KWDocument::appendPage (this=this@entry=0x248b110, masterPageName=..., addUndoRedoCommand=addUndoRedoCommand@entry=false) at /home/oever/work/nokia/src/calligra/words/part/KWDocument.cpp:265 #6 0x00007fc7439bc38d in KWRootAreaProvider::provideNext ( this=this@entry=0x2484a60, documentLayout=documentLayout@entry=0x266d030) at /home/oever/work/nokia/src/calligra/words/part/KWRootAreaProvider.cpp:193 #7 0x00007fc7439bc92a in KWRootAreaProvider::provide (this=0x2484a60, documentLayout=0x266d030) at /home/oever/work/nokia/src/calligra/words/part/KWRootAreaProvider.cpp:313 #8 0x00007fc75109629b in KoTextDocumentLayout::doLayout ( this=this@entry=0x266d030) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:796 #9 0x00007fc751096a78 in KoTextDocumentLayout::layout (this=0x266d030) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:671 #10 0x000000395359232e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4 #11 0x0000003aaebc84dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4 #12 0x0000003aaebceaa0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4 #13 0x00007fc7528e8007 in KoApplication::notify (this=<optimized out>, receiver=0x266d030, event=0x2810af0) at /home/oever/work/nokia/src/calligra/libs/main/KoApplication.cpp:556 #14 0x000000395357a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4 #15 0x000000395357d1df in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4 #16 0x00000039535a7883 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
It hangs on calligra/words/part/KWRootAreaProvider.cpp:312 as I can see. There is some "do {} while" loop.
I would say there is a good chance it's because the layout doesn't handle section columns and the pageprovider doesn't either. somehow it keeps on waiting for more space but no one makes the space available . something like that implementing layout of columns in sections is a big task - or at least not a small one So to prevent hangsa simple hack needs to be thought of
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!