1) Open Basic IDE
2) Type the following text:
3) Press Ctrl Z a few times.
Result: Nothing happens, but if you switch to another module and then return back, you can see that only Paragraph chars were removed by Undo. The text became "qwertyuio".
Regression against LibO 3.3.2 apparently caused by the fix for baside2b.cxx at 17-Feb-2011 ab81: #i108119# Fixed undo slot handling (that actually doesn't fix anything but adds new bugs, see i#108119# – Undo and Redo buttons don't work in OOo Basic in OOO320m8 http://openoffice.org/bugzilla/show_bug.cgi?id=108119).
[Reproducible] with "LibreOffice 3.4.0RC1 – WIN7 Home Premium (64bit) English UI [OOO340m1 (Build:11)]"
Undo is not completely broken, in some cases it works (a little), for example:
If you type "a b c d e" <ctrl+z> and also menu 'Edit > undo' will work, <ctrl+y> is broken, Menu 'Edit > Restore' (curiously called "Redo") works, but might mess up former order of letters.
If you delete result of latest test, now type something similar, but separate letters by <enter>, you will also see a reaction to <ctrl+z>, but after several useless attempts, and results will be unexpected, no one by one undo. <ctrl+y> also is broken, restore from menu works, but with unexpected results.
Undo and Restore Icons work similar to menu items (with unexpected results).
It seems that undo stack and / or access to that stack are damaged.
<ctrl+y> problem is already reported as
Bug 36830 - Ctrl Y doesn't work in Basic IDE
I saw you assigned in similar bug reports.
Please feel free to reassign if it's not your area!
Created attachment 46981 [details]
If you press Backspace and Enter a few times after Ctrl ZZZZZZZZZ, you get a freeze/loop (on Linux)
The crash doesn't happen on the latest libreoffice-3-4 branch for me.
Created attachment 47234 [details]
No, sorry, it was reproducible with libreoffice-3-4, and with LibO 3.4.0 rc2.
1) Open Basic IDE
2) Type a long text by keyboard with paragraphs (i.e., somtimes press Enter)
3) Then press Ctrl ZZZZZZZZZZ, until no undo available
4) Press Backspace
LibreOffice 3.5.2 @ Linux x86_64 doesn't crash. But only paragraph character removed.
There is a similar UNDO bug:
Is it a duplication - ???
Undo just works fine in 3.5.4 for normal work.
Clio, is that regular work you report the problem with?
I would close this issue...
fixed now, it's a general undo problem.
*** Bug 40165 has been marked as a duplicate of this bug. ***
*** Bug 45749 has been marked as a duplicate of this bug. ***
*** Bug 40179 has been marked as a duplicate of this bug. ***
*** Bug 42301 has been marked as a duplicate of this bug. ***
*** Bug 49034 has been marked as a duplicate of this bug. ***
*** Bug 48911 has been marked as a duplicate of this bug. ***
*** Bug 51089 has been marked as a duplicate of this bug. ***
*** Bug 41855 has been marked as a duplicate of this bug. ***