librelist archives

« back to archive

Green Shoes edit_box copy and paste

Green Shoes edit_box copy and paste

From:
Timothy Barnes
Date:
2011-07-19 @ 16:34
I have a green shoes program used on windows XP with an edit box that I pull
from text files to populate. I used to be able to copy and paste from the
edit box into another program. I have since reinstalled ruby and green
shoes. Now when I try to copy I get this error:

C:/Ruby192/lib/ruby/gems/1.9.1/gems/green_shoes-0.243.0/lib/shoes/main.rb:104
   Gdk-CRITICAL **:gdk_property_change: assertion `window != NULL' failed

Has this changed recently in green shoes? Is there a way to fix this?

Timothy

Re: [shoes] Green Shoes edit_box copy and paste

From:
ashbb
Date:
2011-07-20 @ 11:50
Hi Timothy,

Oh, true. I confirmed the problem. Thank you!
I'll check it out asap.

Sorry for the inconvenience. I've been a bit busy this week. :(

ashbb

Re: [shoes] Green Shoes edit_box copy and paste

From:
Timothy Barnes
Date:
2011-07-20 @ 13:13
Thanks for the reply. I understand. I'm in no rush.

On Wed, Jul 20, 2011 at 7:50 AM, ashbb <ashbbb@gmail.com> wrote:

> Hi Timothy,
>
> Oh, true. I confirmed the problem. Thank you!
> I'll check it out asap.
>
> Sorry for the inconvenience. I've been a bit busy this week. :(
>
> ashbb
>

Re: [shoes] Green Shoes edit_box copy and paste

From:
ashbb
Date:
2011-07-20 @ 14:38
Hi Timothy,

Checked it a little bit and found the following.

With gtk2 1.0.0, the error occurred.
But with gtk2 0.90.8, it didn't.

Looks like an issue of Ruby/GTK2. But need to study more.

ashbb

Re: [shoes] Green Shoes edit_box copy and paste

From:
Timothy Barnes
Date:
2011-07-20 @ 14:57
Then it was when I download the new gtk instead of green shoes.

My gem versions are:
 gtk2 = 0.90.9
 glib2 = 0.90.0
 cario = 1.10.0

Hopefully that helps you narrow down when the change was made. Let me know
if I can any other way.

Timothy


On Wed, Jul 20, 2011 at 10:38 AM, ashbb <ashbbb@gmail.com> wrote:

> Hi Timothy,
>
> Checked it a little bit and found the following.
>
> With gtk2 1.0.0, the error occurred.
> But with gtk2 0.90.8, it didn't.
>
> Looks like an issue of Ruby/GTK2.
>
> ashbb
>

Re: [shoes] Green Shoes edit_box copy and paste

From:
ashbb
Date:
2011-07-23 @ 05:03
Hi Timothy,

I asked about this issue in ruby-list ML (Japanese ML) and
got the answer from Kou (Kouhei Sutou, a Ruby-GNOME2 developer).

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/48233

He said that the cause was the difference of GTK+ versions.
(gtk2 0.90.8 includes GTK+ 2.22.1, but gtk2 0.90.9 and over include GTK+
2.24.0)

He also said that he would include GTK+2.22.1 at the next gtk2 release (gtk2
1.0.1).

So, before that time, please use gtk2 0.90.8.

Thanks,
ashbb

Re: [shoes] Green Shoes edit_box copy and paste

From:
Timothy Barnes
Date:
2011-07-23 @ 05:25
Does that mean they are reverting back to an older version of GTK+? Is that
a good thing?

I'm just curious. I didn't think my question would affect this deep.

Timothy

Re: [shoes] Green Shoes edit_box copy and paste

From:
ashbb
Date:
2011-07-23 @ 06:11
Oh, my explanation is poor.

Kou guesses that this issue has fixed at GTK+ 2.24.5.
But for Windows, it's not released yet.
So, if it's released for Windows, he will include GTK+ 2.24.5 at the next
gtk2 release.

> I didn't think my question would affect this deep.
hahaha. You found!
But don't worry. Kou will cope fine. ;-)

ashbb