Issue 102933

Summary: Impress tables - undo misbehaves after cut and traveling to different cell
Product: Impress Reporter: kpalagin <kpalagin>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: clippka, cmoulin, gibi, issues, jbf.faure
Version: DEV300m49   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description kpalagin 2009-06-19 07:56:29 UTC
Repro:
1. Create blank Impress presentation, insert table 5x5.
2. type in random text in second row, first and second cells.
3. select contents cell R2C2, right mouse click in cell - Cut - Undo is 
enabled, click in some other cell - Undo is disabled.

3a. type anything in random cell - Undo is enabled, click in some other cell - 
Undo on toolbar becomes disabled, celect several random cells - Undo becomes 
available
Comment 1 kpalagin 2009-06-19 07:58:39 UTC
Christian,
please take a look - does undo in tables behave by specification?
Comment 2 wolframgarten 2009-07-08 10:51:49 UTC
Reproducible. Reassigned.
Comment 3 gibi 2010-02-24 15:35:26 UTC
I don't get exactly the same behaviour with 3.2.0 Linux X64 EN-US + langpack FR:
step 1,2: ok
step 3:
"select contents cell R2C2, right mouse click in cell - Cut - Undo is 
enabled,": no, Undo remains disabled. Argh, retrying: sometimes it does! :-(
"click in some other cell - Undo is disabled.":
  - if I click _inside_ the cell (to type in): Undo remains disabled
  - if I click near the cell border (selecting it): Undo _becomes_ active
step 3.a: 
- "type anything in random cell - Undo is enabled,": no, Undo remains inactive
- "click in some other cell - Undo on toolbar becomes disabled,": no, _remains_
inactive (no status change)
- "select several random cells - Undo becomes available": No
Pfff, multiple tries never give the same result. Works like if different threads
interacts so result could depend on CPU usage? 
Sorry, I can't conclude.
Comment 4 camillem 2010-02-24 16:09:07 UTC
Here is simpler test case that might be related:
1) Create an empty presentation
2) Insert a 8 x 4 (or whatever, I assume) native table
3) Select A1 to A4 cells (the first column)
4) In the "Table" contextual toolbar, change the fill color to green
5) Click in B2 : you get blinking caret, as you are in text editing mode. Undo
is not accessible: Ctrl-Z won't bring the original colors back.
6) If you click outside the table, undo is available : Ctrl+Z brings the
original colors.

In Step 5), if you type some text, undo is accessible, but only in the context
of text editing in this cell. When you leave this mode, the final result is
considered as one step in the original undo. For instance if you type "Open
Office" and press Ctrl-Z, only "Office" will be removed. I you press Ctrl +Y,
click outside the table and press Ctrl-Z, the two words will be removed.
HTH 
Comment 5 jbf.faure 2010-02-24 21:21:56 UTC
Add me to cc.
Comment 6 Marcus 2017-05-20 10:55:21 UTC
Reset assigne to the default "issues@openoffice.apache.org".