Re: gtk+-2.24.8 became the current maintained version on win32 ??



I found this BUG:

I directly run gtk-demo.exe on win7 x64, use locale=zh_CN, texts disappear when switch page.

I use msys, use LC_ALL="C" then run gtk-demo, texts works fine!
$ export LC_ALL="C"
$ ./gtk-demo.exe

I use msys, use LC_ALL="zh_CN" then run gtk-demo, texts disappear~~~
$ export LC_ALL="C"
$ ./gtk-demo.exe



2012/1/17 jun louis <louisliangjun gmail com>
I do not known how to fix this BUG now, I can not let other PC run gtk+-2.24.8 works without that BUG.

After Chinese new year, I will try again, any one can give me some tips?

gtk+-2.22 works OK.
I try use all version of cairo dll, no one works.
It sames not BUG of cairo, I guess it's a bug of gtk or gdk, but don't know how to find it.



2012/1/16 jun louis <louisliangjun gmail com>
I copy my fine version to other, It's not works, texts disappear when I swith page.
I need more test.

It's a magic BUG~~~

2012/1/16 jun louis <louisliangjun gmail com>
Oh, I do not known what I do, It's OK now.
When I replace cairo download from gtk.org, it's also error, but now, I do not change any thing, but every version of Gtk works fine! 

I replace cairo use mine, it's also works. and other version also works.

I have another machine, works wrong, I will test again tomorrow.

Thanks of all



2012/1/16 jun louis <louisliangjun gmail com>
Thanks, Alexander.

BUT, It's no use when I use this one:  http://www.gtk.org/download/win32.php 

I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear.

but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine!
and only switch pages on GtkNotebook, the texts disappear.



2012/1/16 Alexander Larsson <alexl redhat com>
On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote:
> I found that gtk+-2.24.8 became the current maintained version on
> win32,
>
>
> BUT
>
>
> I test a lot of version of gtk+-2.24.*, No one work better then gtk
> +-2.16.
> Simple run gtk-demo.exe, when click Source page then click Info page,
> all text disappear!!!

This is due to some bugs in cairo, mostly:

https://bugs.freedesktop.org/show_bug.cgi?id=42821

Use the patch from that bug, or use the cairo binary from
http://www.gtk.org/download/win32.php which has the necessary patches.









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]