Re: [hatari-devel] Hatari window embedding issue

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 12/16/20 8:38 PM, Jens Guenther wrote:
Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
I think the black area is actually Hatari SDL2
window, as it seems to be getting the key and
resize events fine.

socket.modify_bg(Gtk.StateType.NORMAL, Gdk.color_parse("red"))
in "hatariui.py" colors this window area red. The Hatari SDL2-
window is underneath this area and working correctly ...

I think SDL2 just isn't refreshing its window
for some reason.

... GTK3 is covering it, even with "SDL_WINDOW_ALWAYS_ON_TOP".

Thanks, window order being somehow wrong although
key & resize events went through was an important
clue to the problem...

....Which was Hatari unmapping its Python UI parent
window with SDL2.

I've pushed a fix for that, and for the Hatari
window resizing in Python UI.

(I'm not yet sure what to do about the Falcon IDE
scan wait / fast-boot option.)


	- Eero

PS. Jens, as you've already done some change to
Python UI code...  If you feel inclined to provide
e.g. fixes for some of the many API deprecation
warnings that Gtk outputs for Python UI, I would
very much appreciate it!  :-)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/