Re: Fwd: Crash when pasting Unicode text from Firefox [patch]

From: Jean Brefort <jean.brefort_at_normalesup.org>
Date: Thu Aug 16 2012 - 20:29:35 CEST

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 <onlyjob@member.fsf.org> 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.
Received on Thu Aug 16 20:29:45 2012

This archive was generated by hypermail 2.1.8 : Thu Aug 16 2012 - 20:29:45 CEST