Apache OpenOffice (AOO) Bugzilla – Issue 70671
Wrong display in pages view
Last modified: 2008-12-06 20:23:03 UTC
Create a new Draw document. Change page direction (--> menu) from portrait to landscape. In the list with all pages the pages are redrawn and changed to landscape, too. Now press CTRL+Z to undo the change. The list with all pages isn't refreshed - the display is wrong... And now sorry for my bad English, currently I haven't any English version of OpenOffice available...
Thanks, reproducible. Your english is quite good understandable. Reassigned.
Accepted.
Created attachment 49416 [details] The file contains the changes made for this issue.
First we can take a look at the below snippet of method's calls within call stack. ...SdPageFormatUndoAction::Undo()->SdPage::SetSize(...)->SdrPage::SetSize(...)- >SdrPage::SetChanged()->SdrPage::ActionChanged()... And SlideSorterView::ModelHasChanged(void) will be invoked after SdrPage::ActionChanged(). In this method the controller did not make the model adapt its size so that the slidesorterview could not update its page borders accordingly and correctly. So we should start with this to solve the problem. The proper approach is to lock the controller first and then force it to handle the model's change.
liangweike->af: Thank you for your help.
Fixed by liangweike
Please verify.
Verified in CWS as a stand-in for cgu.
Created attachment 53606 [details] It is added in order to avoid view-updating problems.
Created attachment 53785 [details] Some code is modified as an improvement.
Reopening issue as preparation for migration to cws impress164.
Changing target to OOo3.1
In DEV300 m34 this seems to work as expected.
worksforme -> closed