Apache OpenOffice (AOO) Bugzilla – Issue 92711
Error: SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), this should never be needed (!)
Last modified: 2013-08-07 14:43:11 UTC
- open the attached document - mark the frame - open the context menu for the frame - cancel the context menu with ESC => Error: SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), this should never be needed (!) From now on, every mark/unmark of the frame will also trigger this assertion (it won't trigger it until you opened the context menu once). In some cases, it even crashes - however, I suspect this has to do with the assertions, since the crash does not happen when you re-route the assertions into a window instead of a message box.
assertion bug, hindering work with the non-product release => targeting to the next feasible non-micro release
Created attachment 55722 [details] document to reproduce the bug case
AW: Good catch, this is indeed an error in SW and should not happen. SW somehow creates a bitmap representation of the FlyFrame (for what purpose ever) and exchanges the target device to a local VDev (where a MetaFile seems to be recorded). The result is only used temporarily, need to ask OD if this is needed at all... Fixing involves correctly using DLPrePaint2/DLPostPaint2 as always when using DrawingLayer in SW. Added and works as expected (using the prepared SdrPageWindow, patching with a new SdrPaintWindow in SdrPageView::DrawLayer). Still open: ask OD if this is needed at all anymore...
AW: Commited changes to SW.
AW: OD checked that it's still needed, so done for now.
AW->WG: Unfortunately You will have to install a non-pro version for seeing that the assertion is no longer there; even a compare non-pro master version to see that it was there. I have built unxlngi6 and wntmsci12 for that.
Verified in CWS.
Reassigned.
Verified in OOo-dev 3.2.0 DEV300m44 WinXP. No problem.
Verified on OOo310m11, Windows, Vista. - opened the attached document - selected the frame - opened the context menu for the frame - cancelled the context menu with ESC Expected result: context menu is closed Actual result: context menu is closed, no messages