Re: Fwd: Crash when pasting Unicode text from Firefox [patch]
Jean Brefort <[email protected]>
| Newsgroups | gmane.editors.abiword.devel |
|---|---|
| Message-ID | <[email protected]> |
The issue is that we need to do that, otherwise, we can't draw outside of the draw event. I don't understand your point about the surface. Jean Le jeudi 16 août 2012 à 14:23 -0400, Simon Larochelle a écrit : > The bug during "Paste Unformatted" is caused by the following code in > xap_UnixFrameImpl.cpp > (lines 1230-1232): > > #if GTK_CHECK_VERSION(3,0,0) > static_cast<GR_CairoGraphics *>(pGr)->setCairo(cr); > #endif > > I think that cr is a cairo object created and destroyed inside a > gdklib function. Thus the cairo surface associated to pGr (m_cr) > should not be set to the value of the cr pointer. > > Jean, can you take a look at this? > > Simon > > > On Thu, Aug 16, 2012 at 9:32 AM, Dmitry Smirnov <[email protected]> wrote: > > > > On Thu, 16 Aug 2012 20:36:37 Ingo Brückl wrote: > >> Please see the proposed patch in ticket #13280 and report back. > > > > Tried 2.9.3 and latest trunk: > > 'Paste' is fixed but 'Paste Unformatted' still crashes. > > > > > > Regards, > > Dmitry.