Bug 96803

Summary: Android: Undo does not work properly in experimental mode
Product: LibreOffice Reporter: Feyza <feyzaayavuz>
Component: Android ViewerAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: brcnakalin, stephane.guillou
Priority: medium    
Version: 5.2.0.0.alpha0+   
Hardware: x86-64 (AMD64)   
OS: Android   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=101768
https://bugs.documentfoundation.org/show_bug.cgi?id=96769
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105948    

Description Feyza 2015-12-29 15:38:14 UTC
It cannot undo actions step-by-step. For instance after wrote a word on a cell in Calc document, clicking undo deletes one char or whole word randomly.

Version 5.2.0.0.alpha0+
Comment 1 Gülşah Köse 2016-01-04 13:11:54 UTC
I can reproduce but my reproducing steps following:

1- Open an ods file
2- Insert a word
3- Select another cell
4- insert a word too
5- Try to undo

It doesn't undo first cell's changes
Comment 2 Gülşah Köse 2016-01-05 21:09:19 UTC
*** Bug 96769 has been marked as a duplicate of this bug. ***
Comment 3 QA Administrators 2017-03-06 14:32:24 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-12-03 14:54:19 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-12-03 04:43:01 UTC Comment hidden (obsolete)
Comment 6 Sophie Sipasseuth 2023-11-23 13:27:42 UTC
With or without experimental mode, when I write a word in 3 cells, nothing happens.
I have to scroll to another part of the ODS file where the cells are hidden and go back to the cells to see the result.

When I use the undo function, the same display problem is observed.
I have to scroll to another part of the table without the cells showing and go back to the cells to see the undo result.
Comment 7 Sophie Sipasseuth 2023-11-23 13:31:44 UTC
The version tested is 7.6.3.2.0+
Comment 8 Stéphane Guillou (stragu) 2023-11-23 13:41:30 UTC
(In reply to Gülşah Köse from comment #1)
> I can reproduce but my reproducing steps following:
> 
> 1- Open an ods file
> 2- Insert a word
> 3- Select another cell
> 4- insert a word too
> 5- Try to undo
> 
> It doesn't undo first cell's changes
This is the same in desktop: while in edit mode, the undo stack applies only to the cell. See for example bug 101768, bug 155737, and others closed as "not a bug".
I just tested, and if you exit edit mode first, both cell edits can be undone, each one as a whole.

(In reply to Feyza from comment #0)
> It cannot undo actions step-by-step. For instance after wrote a word on a
> cell in Calc document, clicking undo deletes one char or whole word randomly.
I don't see it as "random". Strings separated by space are undone separately while editing a cell. Out of edit mode, cell edits are undone all at once, as described above.

(In reply to Sophie Sipasseuth from comment #6)
> I have to scroll to another part of the ODS file where the cells are hidden
> and go back to the cells to see the result.
This sounds like something different, about rendering.
For the sake of clarity, I think Sophie should open a new report about the view not updating, and we should close this report as "not a bug" for the first issues described (but Feyza and Gülşah, if you reproduce something that does not match what I described in 7.6.3, please set back to "new" with more precise steps).
Thank you!

Version: 7.6.3.2.0+
Build ID: 0e982fe4db35
Android 9, Galaxy A20e
Comment 9 Sophie Sipasseuth 2023-11-23 14:23:23 UTC
https://bugs.documentfoundation.org/show_bug.cgi?id=158335