Re: [Java-gnome-developer] Running File I/O Thread Crashes Java-Gnome
Brought to you by:
afcowie
|
From: Andrew C. <an...@op...> - 2010-06-16 23:45:01
|
On Sun, 2010-06-06 at 20:27 +1000, Andrew Cowie wrote:
> $ GDK_NATIVE_WINDOWS=true java ...
> Works fine!
> Well. That would make this either:
>
> i) a GTK bug
>
> or
>
> ii) a bug in the way that java-gnome is doing something to bind GTK,
>
> or
>
> iii) something you're not doing "correctly" as the developer using GTK
> (in light of the client-side window changes).
It is still not clear which of (i), (ii), or (iii) this problem is, but
we've added coverage of [org.gnome.gdk] Window's ensureNative() which
gives you access to the function which tells GDK to fall back to the old
pre 2.18 behaviour. So you can workaround the problem programatically
with
widget.show();
underlying = widget.getWindow();
underlying.ensureNative();
Again I emphasize that this problem is not solved; fixed would be not
need to call this (for whichever reason) but at least this is another
step in the right direction.
This will be in java-gnome 4.0.16.
AfC
Sydney
--
Andrew Frederick Cowie
Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management: enabling
successful deployment of mission critical information technology in
enterprises, worldwide.
http://www.operationaldynamics.com/
Sydney New York Toronto London
|