Apache OpenOffice (AOO) Bugzilla – Issue 120149
Autoupdate display not work when paste or cut by menu
Last modified: 2012-07-25 09:25:08 UTC
Test on AOO 3.4.1 Dev snapshot r1351960, this issue also can be repro on OO 3.3 First make autoupdate display enable. Input a+b into the formula in Commands Window, the formula will autoupdate display in the view windows. Select the formula in the commands windows, then go to menu "Edit->Cut". The display windows not autoupdate. If we change something in the commands windows then the windows will autoupdate. The same issue also repro when paste formula by menu "Edit->Paste". If we do cut paste by short key, the windows will Autoupdate.
The problem is that SmEditWindow flushes the changes only in the modify time handler, but not in Cut()/Copy()/Paste()/Delete(), all of which are invoked by SmViewShell::Execute when the respective slot is executed.
Fixed in revision 1356190
@Terry: note that AutoDisplay is broken also when Undo/Redo, independent of this fix. You may open a new bug. Another bug: Clipboard actions are not available on the "Commands" window's context menu. You may open a new bug too.
IMHO the fix is trivial, low risk, and a nice-to-have for 3.4.1, so requesting release blocker.
Open bug 120156 for undo and redo issue.
(In reply to comment #3) > @Terry: note that AutoDisplay is broken also when Undo/Redo, independent of > this fix. You may open a new bug. > Another bug: Clipboard actions are not available on the "Commands" window's > context menu. You may open a new bug too. There is a Bug 81156 about Clipboard action are not available on "Commands" windows context menu.
(In reply to comment #6) > > Another bug: Clipboard actions are not available on the "Commands" window's > > context menu. You may open a new bug too. > > There is a Bug 81156 about Clipboard action are not available on "Commands" > windows context menu. Thanks for finding this out.
set release blocker flag for 3.4.1 @Ariel: will you merge the fix in AOO34?
"arielch" committed SVN revision 1359185: "#i120149# - Merge fix from trunk into AOO34 branch"
Verified steps: 1)Open fomular editor; 2)Input a+b into the formula in Commands Window, check the autoupdate in view window 3)Click Menu Edit->Cut, then check the autoupdate in view window 4)Click Menu Edit->Paste, then check the autoupdate in view window Results:Pass 1)after step3, preview in view window will disapper automatically. 2)after step4, preview in view window will appear automatically. Build: Aoo341 branch r1359641 on Windows XP
Verified pass on AOO trunk r1362376.
set target milestone AOO 3.4.1