Summary: | Undo of bullet list style changes crash Calligra Words | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Yasin Zähringer <yasinzaehringer+kde> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | banaan2, cbo, gopalakbhat, spam_detect |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/a30b879ae22eaa84f7add8d44847709c8c0215dc | Version Fixed In: | |
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Yasin Zähringer
2012-12-28 20:42:08 UTC
I can reproduce this. On a blank document do the following 1) Type three lines of text. Say Item 1, Item 2, Item 3 2) Create a numbered list of these 3 lines. 3) Press enter after Item 2 4) Remove the list numbering by pressing backspace twice. 5) Select "Item 3" and from the Paragraph Setting dialog change the list style to, say lowercase alphabet. 6) Now pressing Undo multiple times should crash on "Undo Change List". ping, how is it going with fixing this bug Created attachment 76432 [details] New crash information added by DrKonqi calligrawords (2.4.0) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1 - What I was doing when the application crashed: First, this is 2.4 - possibly fixed in related bug 309451. At least this is more information, which may prove helpful with this bug. One significant thing that I noticed was, in the undo command, there was no undo available in the Edit menu, even though I had done something - paste content from a web page, including some formatting (a title of an article). I suspect this may be relataed to attempting to undo when there is nothing in the undo list/queue, perhaps stored in one place in code, while there IS something in a different list of operations stored elsewhere. Anyway, all I did was create a new doc, no custom changes from the defaults, and pasted in the article title from a webpage, and then try undo a few times. I did this a few times, always crashing, and I noticed that after passting the text, the Edit menu Undo option was dimmed/grayed out. CTRL-Z was what I did a few times that resulted in the crash. This was the current/latest version installed via synaptic for Ubuntu 12.04, version 2.4 -- Backtrace (Reduced): #6 size (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:98 #7 count (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:280 #8 QTextList::count (this=0x0) at text/qtextlist.cpp:136 #9 0x00007fa85063e2f3 in ChangeListCommand::undo (this=0x2e9cfb0) at /build/buildd/calligra-2.4.0/libs/kotext/commands/ChangeListCommand.cpp:300 #10 0x00007fa84f5f219e in undo (this=0x3fecef0) at /build/buildd/calligra-2.4.0/libs/kundo2/kundo2stack.cpp:683 thanks but that is indeed a duplicate of the other bug you mention. btw we _highly_ recommend using a newer version. Git commit 42a679e5c9f7b9bb250c722fcb5f2b0d7fc69f73 by Gopalakrishna Bhat A. Committed on 14/01/2013 at 18:16. Pushed by gopalakrishnabhat into branch 'master'. Improved undo/redo of lists. M +4 -1 plugins/textshape/dialogs/ParagraphSettingsDialog.cpp http://commits.kde.org/calligra/42a679e5c9f7b9bb250c722fcb5f2b0d7fc69f73 Git commit d4869442d2ec15da9130f81d06b9c4c41f8e791f by Gopalakrishna Bhat A. Committed on 20/01/2013 at 08:25. Pushed by gopalakrishnabhat into branch 'master'. Implement Undo command for Paragraph Settings REVIEW: 108491 M +1 -0 libs/kotext/CMakeLists.txt M +2 -2 libs/kotext/KoTextEditor.cpp M +3 -2 libs/kotext/KoTextEditor.h M +5 -58 libs/kotext/KoTextEditor_format.cpp M +14 -1 libs/kotext/commands/ChangeListCommand.cpp A +120 -0 libs/kotext/commands/ParagraphFormattingCommand.cpp [License: LGPL (v2+)] A +62 -0 libs/kotext/commands/ParagraphFormattingCommand.h [License: LGPL (v2+)] M +7 -12 plugins/textshape/dialogs/ParagraphSettingsDialog.cpp http://commits.kde.org/calligra/d4869442d2ec15da9130f81d06b9c4c41f8e791f Git commit e8c0f9e3f9069bfe07d3ed7ea14a4cfa598c1bda by Gopalakrishna Bhat A. Committed on 14/01/2013 at 18:16. Pushed by gopalakrishnabhat into branch 'calligra/2.6'. Improved undo/redo of lists. (cherry picked from commit 42a679e5c9f7b9bb250c722fcb5f2b0d7fc69f73) M +4 -1 plugins/textshape/dialogs/ParagraphSettingsDialog.cpp http://commits.kde.org/calligra/e8c0f9e3f9069bfe07d3ed7ea14a4cfa598c1bda Git commit a30b879ae22eaa84f7add8d44847709c8c0215dc by Gopalakrishna Bhat A. Committed on 20/01/2013 at 08:25. Pushed by gopalakrishnabhat into branch 'calligra/2.6'. Implement Undo command for Paragraph Settings REVIEW: 108491 (cherry picked from commit d4869442d2ec15da9130f81d06b9c4c41f8e791f) Conflicts: libs/kotext/KoTextEditor.h libs/kotext/KoTextEditor_format.cpp M +1 -0 libs/kotext/CMakeLists.txt M +2 -2 libs/kotext/KoTextEditor.cpp M +3 -2 libs/kotext/KoTextEditor.h M +6 -77 libs/kotext/KoTextEditor_format.cpp M +14 -1 libs/kotext/commands/ChangeListCommand.cpp A +131 -0 libs/kotext/commands/ParagraphFormattingCommand.cpp [License: LGPL (v2+)] A +62 -0 libs/kotext/commands/ParagraphFormattingCommand.h [License: LGPL (v2+)] M +7 -12 plugins/textshape/dialogs/ParagraphSettingsDialog.cpp http://commits.kde.org/calligra/a30b879ae22eaa84f7add8d44847709c8c0215dc Created attachment 78894 [details]
New crash information added by DrKonqi
calligrawords (2.5.3) on KDE Platform 4.9.5 using Qt 4.8.3
- What I was doing when the application crashed:
Tried to undo backspaced bulleted list.
I had pasted a bulleted list from LibreOffice Writer into Calligra Writer and tried to change the markup. However, when undoing this action (I had backspaced too far and deleted some characters from the sentence above), calligra crashed.
-- Backtrace (Reduced):
#6 size (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:98
#7 count (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:280
#8 QTextList::count (this=0x0) at text/qtextlist.cpp:136
#9 0x00007f109b7027a3 in ChangeListCommand::undo (this=0x4191920) at /build/buildd/calligra-2.5.3/libs/kotext/commands/ChangeListCommand.cpp:306
#10 0x00007f109a6eb25e in KUndo2QStack::undo (this=0xd72220) at /build/buildd/calligra-2.5.3/libs/kundo2/kundo2stack.cpp:683
|