Re: [hatari-devel] Updating to Hatari 2.0.0 in Fedora

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


Hi!

On Sun, Jan 1, 2017 at 6:22 PM, Thomas Huth <th.huth@xxxxxx> wrote:
Am Sun, 1 Jan 2017 18:05:34 +0100
schrieb Andrea Musuruane <musuruan@xxxxxxxxx>:

> On Sun, Jan 1, 2017 at 11:06 AM, Thomas Huth <th.huth@xxxxxx> wrote:
>
> > Does this patch here help with the embedding:
> >
> > https://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/092f6e163261
> >
> No. I still have the same behaviour.

Too bad - it was fixing the problem for me on Fedora 24.

Could you maybe add some debugging fprintfs to control.c like this:

diff -r 0dcf5981c260 src/control.c
--- a/src/control.c     Sun Jan 01 18:12:16 2017 +0100
+++ b/src/control.c     Sun Jan 01 18:19:49 2017 +0100
@@ -534,8 +534,10 @@
        unsigned int nwin;
 #endif

+fprintf(stderr,"Control_ReparentWindow: START! (%i)\n", (int)noembed);
        parent_win_id = getenv("PARENT_WIN_ID");
        if (!parent_win_id) {
+fprintf(stderr,"Control_ReparentWindow: NO PARENT_WIN_ID!\n");
                return;
        }
        parent_win = strtol(parent_win_id, NULL, 0);

.... and then report the output from the terminal window here?

[andrea@panoramix ~]$ hatariui
Reading configuration file '/home/andrea/.hatari/hatari.cfg'...
('--right', 'about,|,run,pause,forward,|,reset,|,quit')
('--embed', '')
/usr/bin/../share/hatari/hatariui/hatariui.py:606: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
  item = action.create_menu_item()
WAIT hatari to connect to control socket...
('RUN:', ['hatari', '--confirm-quit', 'off', '--control-socket', '/tmp/hatari-ui-19367.socket', '--configfile', '/home/andrea/.hatari/hatari.cfg'])
Connecting to control socket '/tmp/hatari-ui-19367.socket'...
connected!
new control socket is '/tmp/hatari-ui-19367.socket'
Video_SetSystemTimings1 1 3
Video_SetSystemTimings2 1 3 -> 2 (WS3) 503 503 64
Hatari v2.0.0, compiled on:  Jan  1 2017, 19:10:51
Video_SetSystemTimings1 1 3
Video_SetSystemTimings2 1 3 -> 2 (WS3) 503 503 64
Configured max Hatari resolution = 1920x1080, optimal for ST = 832x588
Embedded window ID change messages = ON
Control_ReparentWindow: START! (0)
New 832x588 SDL window with ID: 2400007
New size = 832 x 588
[...]
 
And what's your windowing manager again? Gnome? (I was using XFCE)

Gnome

Bye,

Andrea



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