Bug ID: 103211
Summary: Calc: start/end edit columns can be wrong
Version: 22.214.171.124.alpha0+ Master
Created attachment 128001
when the cell is double clicked for editing the end edit column is too far
It is insane to call EditGrowX/Y while the edit view is growing.
That could occur because of the call to SetDefaultItem later.
We end up with wrong start/end edit columns and the changes
to the output area performed by the inner call to EditGrowX are
useless since they are discarded by the outer call.
In the inner call the output area is not the new one computed by the
outer call, on the contrary the data field `nEditStartCol` and
`nEditEndCol` have been already modified, so the inner call would
modify them using the wrong output area width.
Maybe the call to SetDefaultItem should be performed in another place,
anyway the outer call takes into account the correct horizontal adjust
when computing the new start/end edit columns and the new left/right
For an example open the attached document: the text edited cell has centered
justification but when you double click on it you can see that the edit view
output area on the right side is more than needed.
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list