To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111758
                 Issue #|111758
                 Summary|sd: XError and death on cairo canvas slideshow end
               Component|Drawing
                 Version|OOo 3.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|thb
             Reported by|cmc





------- Additional comments from [email protected] Fri May 21 15:16:11 +0000 
2010 -------
I'm not entirely sure where this one should go, sd, slideshow, canvas or vcl,
but basically the cairo canvas is getting disposed of *after* the window to
which it was drawing was destroyed, and it needs to be disposed before that.

Attached is a debugging patch to illustrate the problem.

The output for the broken case is...

WorkWindow::StartPresentationMode start window handle is 5200beb
WorkWindow::StartPresentationMode end window handle is 5200bf0
canvas created that uses window handle 5200bf0
WorkWindow::StartPresentationMode start window handle is 5200bf0
WorkWindow::StartPresentationMode end window handle is 52013d1
on exit will access handle 5200bf0

i.e. when StartPresentationMode is called then under gtk at least the underlying
window handle is destroyed and a new one created. The cairo canvas is still
pointing to the old handle, so any subsequent operations, e.g. destroying the
cairo surfaces in its dtor will die horribly with an XError (which massively
unhelpfully FWIW reports the wrong resource id as the offender)

https://bugzilla.redhat.com/show_bug.cgi?id=594035

---------------------------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to