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

Simon Larochelle <[email protected]>
Newsgroups gmane.editors.abiword.devel
Message-ID <CAF8-HjFB=ifMbS_5DUjvkyc99GoGjhrorDcmgd8dmXAD8wei3g@mail.gmail.com>
I am using Ubuntu (April 2012 release). I am also suspecting that this
was what caused the crash I reported in comment #24 of bug #13355.

Simon

On Thu, Aug 16, 2012 at 3:06 PM, Jean Brefort
<[email protected]> wrote:
> One question, Simon, which distrib are you using? I'm suspecting it
> might be related to #13355.
>
> Jean
>
> Le jeudi 16 août 2012 à 20:29 +0200, Jean Brefort a écrit :
>> 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.
>>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.