Re: Gtk+ win32 fixes, please test

2011-10-25 Thread Arnaud Charlet
 Things to test are: everything related to menu behaviour (rich in
 grabs), everything involving press-and-hold-down mouse button
 behaviour,
 checking that the right things prelight as you move between windows and
 widgets.
 
 However, this is also more of a call for feedback about places where the
 current Gtk 2.24 code fails for you on windows. I'd like to know so i
 can try fixing it.

See https://bugzilla.gnome.org/show_bug.cgi?id=646930 for an example of
a regression in 2.24 wrt grabs.
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-25 Thread Arnaud Charlet
  See https://bugzilla.gnome.org/show_bug.cgi?id=646930 for an
  example of
  a regression in 2.24 wrt grabs.
 
 I replied to this bug, it should be fixed already on the branch.

Great, thanks for having a look!

BTW, what's your estimate on looking at Gtk+ 3.x? Since 3.2 is now out,
it would be great to have a stable 3.2 Gtk+ under Windows. Do you know
about the status of 3.2 under Windows these days?

Arno
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-25 Thread Arnaud Charlet
 I want to make sure 2.24 works well first, then I will look at porting
 the fixes to master (and then back to 3.2 branch which should be
 trivial). The forward port should be mostly mechanic and not a lot of
 work, as there has not been a lot of conceptual changes to the gdk code.

Makes sense, sounds promising.

 The one problematic thing for 3.x is the windows theme. That requires a
 completely different approach (to integrate with the css) which will
 require some new work.

I see. Good to know, since the Windows theme is really a must have
to have nicely integrated Gtk+ apps under Windows in our (AdaCore) experience.

Thanks again for your work on this, much appreciated!

Arno
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Andy Spencer
On 2011-10-20 11:37, Dieter Verfaillie wrote:
 On Thu, 20 Oct 2011 08:37:35 +, Andy Spencer wrote:
  First off, when using the MS-Windows theme, some widgets don't render
  correctly and show up as black boxes. For example, notebooks with tab
  position set to GTK_POS_LEFT don't render.
 
 http://andy753421.ath.cx/linked/aweather-gtk-2.24-test.png
 
 To clarify: this happens with the Windows Classic theme which doesn't
 use uxtheme.dll for rendering.

I tried it with the normal Windows XP Silver theme and my program won't
run at all using the MS-Windows GTK+ theme. It segfault on startup.. The
testnotebookdnd program that comes with the new 2.24 bundle runs, so
it's possibly a problem with my application. I probably won't have a
chance to do much debugging during the next week or so though..

I did notice however, that using the MS-Windows/Silver theme causes the
testnotebookdnd program to crash when you try to drag the right-most
'beer' tab off onto the desktop.


pgpR0N75u2jgg.pgp
Description: PGP signature
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Kean Johnston

Can any people interested in the win32 code please try this out and
report any issues, regressions against gtk-2-24 or just things that are
broken on windows related to windows and events.
I just updated jUXtapose to your code and things look OK to me. I'm not 
100% sure exactly what your changes affect so if you can give me something 
specific to try and test I am happy to do it.


Kean
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Alexander Larsson
On Fri, 2011-10-21 at 10:36 +0200, Kean Johnston wrote:
  Can any people interested in the win32 code please try this out and
  report any issues, regressions against gtk-2-24 or just things that are
  broken on windows related to windows and events.
 I just updated jUXtapose to your code and things look OK to me. I'm not 
 100% sure exactly what your changes affect so if you can give me something 
 specific to try and test I am happy to do it.

Its mainly about how enter and leave events are being sent, and how
grabs work (both explicit and and implicit grabs from pressing a
button).

Things to test are: everything related to menu behaviour (rich in
grabs), everything involving press-and-hold-down mouse button behaviour,
checking that the right things prelight as you move between windows and
widgets.

However, this is also more of a call for feedback about places where the
current Gtk 2.24 code fails for you on windows. I'd like to know so i
can try fixing it.




___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Alexander Larsson
On Fri, 2011-10-21 at 10:49 +0200, Arnaud Charlet wrote:
  Things to test are: everything related to menu behaviour (rich in
  grabs), everything involving press-and-hold-down mouse button
  behaviour,
  checking that the right things prelight as you move between windows and
  widgets.
  
  However, this is also more of a call for feedback about places where the
  current Gtk 2.24 code fails for you on windows. I'd like to know so i
  can try fixing it.
 
 See https://bugzilla.gnome.org/show_bug.cgi?id=646930 for an example of
 a regression in 2.24 wrt grabs.

I replied to this bug, it should be fixed already on the branch.


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Alexander Larsson
On Fri, 2011-10-21 at 11:53 +0200, Arnaud Charlet wrote:
   See https://bugzilla.gnome.org/show_bug.cgi?id=646930 for an
   example of
   a regression in 2.24 wrt grabs.
  
  I replied to this bug, it should be fixed already on the branch.
 
 Great, thanks for having a look!
 
 BTW, what's your estimate on looking at Gtk+ 3.x? Since 3.2 is now out,
 it would be great to have a stable 3.2 Gtk+ under Windows. Do you know
 about the status of 3.2 under Windows these days?

I want to make sure 2.24 works well first, then I will look at porting
the fixes to master (and then back to 3.2 branch which should be
trivial). The forward port should be mostly mechanic and not a lot of
work, as there has not been a lot of conceptual changes to the gdk code.

The one problematic thing for 3.x is the windows theme. That requires a
completely different approach (to integrate with the css) which will
require some new work.


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-21 Thread Jon Nordby

However, this is also more of a call for feedback about places where the
current Gtk 2.24 code fails for you on windows. I'd like to know so i
can try fixing it.


Related to event handling there is the following bug which hits 
applications like GIMP and MyPaint very hard.


653437 - gtk2 win32 tablet support broken
https://bugzilla.gnome.org/show_bug.cgi?id=653437

--
Jon Nordby - www.jonnor.com
Software Developer, Openismus GmbH - www.openismus.com
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Alexander Larsson
On Thu, 2011-10-20 at 01:49 +0200, Dieter Verfaillie wrote:
 On Wed, 19 Oct 2011 22:53:49 +0200, Alexander Larsson wrote:
  I just pushed a bunch of changes to how grabs and crossing events
  work in the win32 backend to the gtk-2-24-win32 branch, and I want to
  fix any other leftover bugs from the client side windows conversion.
 
  From my first tests (on Windows XP), this looks good. Even better, it's
 amazing to see some long standing bugs finally squashed. Thank you!

I've not really used Gtk+ on windows for real, so I was mainly working
from first principles in the code fixing stuff that was obviously wrong.
Do you know of any other outstanding win32 bugs that I can look at?


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Andy Spencer
On 2011-10-20 09:39, Alexander Larsson wrote:
 I've not really used Gtk+ on windows for real, so I was mainly working
 from first principles in the code fixing stuff that was obviously
 wrong.  Do you know of any other outstanding win32 bugs that I can
 look at?

Thanks for your work!

In my (very) brief testing, I did not notice any regressions since 2.22.
I've had a couple long standing issues with GTK+ on windows though. I'm
not sure if they're in scope for you, but here they are..

First off, when using the MS-Windows theme, some widgets don't render
correctly and show up as black boxes. For example, notebooks with tab
position set to GTK_POS_LEFT don't render.

   http://andy753421.ath.cx/linked/aweather-gtk-2.24-test.png

Second, the GtkGLExt plugin has been broken since 2.18 I believe, the
OpenGL area doesn't get set correctly because the widget you set it on
doesn't have a native window (if I remember correctly). I've since given
up on GtkGLExt and wrote my own x11 and win32 OpenGL interfaces, so I'm
not sure if it's still an issue or not.


pgpQ8blyAfu1A.pgp
Description: PGP signature
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Alexander Larsson
On Thu, 2011-10-20 at 08:37 +, Andy Spencer wrote:
 First off, when using the MS-Windows theme, some widgets don't render
 correctly and show up as black boxes. For example, notebooks with tab
 position set to GTK_POS_LEFT don't render.

This is possibly something else, but i'll have a look.

 Second, the GtkGLExt plugin has been broken since 2.18 I believe, the
 OpenGL area doesn't get set correctly because the widget you set it on
 doesn't have a native window (if I remember correctly). I've since given
 up on GtkGLExt and wrote my own x11 and win32 OpenGL interfaces, so I'm
 not sure if it's still an issue or not.

Peter Clifton did some work on this, and with this commit:
http://git.gnome.org/browse/gtk
+/commit/?h=gtk-2-24id=fd01442c7e95a490607482a91987a3b72608a372

I believe GtkGLExt should nominally work (as in there might be minor
issues with it but it shouldn't be completely broken).

Please test it if you can.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Dieter Verfaillie

On Thu, 20 Oct 2011 08:37:35 +, Andy Spencer wrote:

First off, when using the MS-Windows theme, some widgets don't render
correctly and show up as black boxes. For example, notebooks with tab
position set to GTK_POS_LEFT don't render.

   http://andy753421.ath.cx/linked/aweather-gtk-2.24-test.png


To clarify: this happens with the Windows Classic theme which doesn't
use uxtheme.dll for rendering.

I'm hunting this one down as we speak, together with
https://bugzilla.gnome.org/show_bug.cgi?id=650300 and
https://bugzilla.gnome.org/show_bug.cgi?id=552681

mvg,
Dieter

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Dieter Verfaillie

On Thu, 20 Oct 2011 09:39:44 +0200, Alexander Larsson wrote:
I've not really used Gtk+ on windows for real, so I was mainly 
working
from first principles in the code fixing stuff that was obviously 
wrong.

Do you know of any other outstanding win32 bugs that I can look at?


It would be nice if you could take a look at this:
https://bugzilla.gnome.org/show_bug.cgi?id=552041
Have had this patch applied on 2.20, 2.22, 2.24 and now master
and have not yet encountered any problems with it. It sure wouldn't
hurt having another set of brains thinking this over though.
Also, this could eventually help with fixing
https://bugzilla.gnome.org/show_bug.cgi?id=137968

Just so you're aware, I've been working on notebook themeing:
- https://bugzilla.gnome.org/show_bug.cgi?id=650300
- https://bugzilla.gnome.org/show_bug.cgi?id=552681
and GTK_POS_LEFT and GTK_POS_RIGHT tabs being rendered as a black
rectangle when using the classic theme instead of uxtheme.
These should be finished relatively soon I hope.

Stuff I have yet to properly look into but would be nice to have fixed:
- https://bugzilla.gnome.org/show_bug.cgi?id=643138
- https://bugzilla.gnome.org/show_bug.cgi?id=644286

mvg,
Dieter

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-20 Thread Andy Spencer
On 2011-10-20 10:47, Alexander Larsson wrote:
 I believe GtkGLExt should nominally work (as in there might be minor
 issues with it but it shouldn't be completely broken).
 
 Please test it if you can.

It seems your latest 2.24 seems to work with GtkGLExt, sorry about the
noise.


pgp2gYMj86R8t.pgp
Description: PGP signature
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Gtk+ win32 fixes, please test

2011-10-19 Thread Dieter Verfaillie

On Wed, 19 Oct 2011 22:53:49 +0200, Alexander Larsson wrote:

I just pushed a bunch of changes to how grabs and crossing events
work in the win32 backend to the gtk-2-24-win32 branch, and I want to
fix any other leftover bugs from the client side windows conversion.


From my first tests (on Windows XP), this looks good. Even better, it's
amazing to see some long standing bugs finally squashed. Thank you!


Can any people interested in the win32 code please try this out and
report any issues, regressions against gtk-2-24 or just things that 
are

broken on windows related to windows and events.


To hopefully make this a bit easier on other people interested in 
testing,

I've (hastily!) constructed a gtk+-bundle based on this branch. A word
of warning is in order though:
! this bundle is *not* to be used in any kind of production environment
! this bundle is for testing purposes only
! this bundle is entirely unsupported
! there is no warranty whatsoever
! if this bundle breaks your favorite toy, you get to keep the pieces

Now we've gotten that out of the way, note that this bundle is a bit
special compared to the gtk+-bundles usually available on gtk.org
in that:
- not all locales are included (saved me a bit of time)
- no documentation is included (saved me a bit of time)
+ all 64 test programs not usually distributed are included in the
  bin directory

http://www.optionexplicit.be/projects/gnome-windows/20111020/gtk+-bundle_test_gtk-2-24-win32_branch.zip

mvg,
Dieter

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


RE: Gtk+ win32 fixes, please test

2011-10-19 Thread Fan Chun-wei
Hi Alexander/Dieter,

I will also test the builds on Visual C++ 2008/2010 in these 2 days to poke out 
possible issues there in these 2 days or so, and will keep people informed here.

Perhaps we might want to post this on the Win32 list too?


Thanks for the update, and thanks to Alexander for squishing out those bugs.

Best regards, and God bless!

-Fan, Chun-wei



寄件日期: 2011/10/20 (四) 7:49 AM
主旨: Re: Gtk+ win32 fixes, please test

On Wed, 19 Oct 2011 22:53:49 +0200, Alexander Larsson wrote:
 I just pushed a bunch of changes to how grabs and crossing events
 work in the win32 backend to the gtk-2-24-win32 branch, and I want to
 fix any other leftover bugs from the client side windows conversion.

From my first tests (on Windows XP), this looks good. Even better, it's
amazing to see some long standing bugs finally squashed. Thank you!

 Can any people interested in the win32 code please try this out and
 report any issues, regressions against gtk-2-24 or just things that are
 broken on windows related to windows and events.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list