To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98063
                 Issue #|98063
                 Summary|Assertion: "MasterPage with wrong MPBGO detected (!)"
               Component|Presentation
                 Version|DEV300m38
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|aw
             Reported by|af





------- Additional comments from a...@openoffice.org Wed Jan 14 10:46:23 +0000 
2009 -------
How to reproduce:
1. Create new Impress document with non-pro Office.
2. Switch to handout mode.

Cause:
In ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence() master
page background objects are handled differently from other objects.
The handout page of a document is a master page but has no page background
object.  This is not correctly detected and hence the assertion.

My first attempt at fixing this in SdrObject::IsMasterPageBackgroundObject() by
recognizing the page with index 0 as master page (additionally to those pages
with odd  page numbers) failed because now object 0 of the handout page was
treated as MPGO: the handout page was painted with light blue background and
missing first page object.

Better fix might be to simply remove the assertion or at least remove it for
handout pages.

This assertion makes view switching to handout mode almost impossible because
closing the assertion dialog results in a repaint which in turn results in
another call to createViewIndependentPrimitive2DSequence() and another display
of the assertion dialog.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to