bug-g-golf
[Top][All Lists]
Advanced

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

Re: Cannot run revealer.scm example.


From: Zhu Zihao
Subject: Re: Cannot run revealer.scm example.
Date: Mon, 07 Feb 2022 21:55:30 +0800
User-agent: mu4e 1.6.10; emacs 27.2

David Pirotte <david@altosw.be> writes:

> [[PGP Signed Part:Undecided]]
> Hello,
>
>> I try run the revealer.scm example, it shows the UI, but fails to show
>> the animation. In terminal the program prints.
>
> I am on debian testing, and the gtk4-demo also stopped working as
> expected for the revealers example a little while ago ... what I mean
> to say by that, is (a) no animation and (b) the example stops after 
> all 9 revealers have been revealed.
>
>> 
>> ```
>> (revealer.scm:21288): GLib-GObject-CRITICAL **: 00:15:24.158:
>> ../glib-2.70.2/gobject/gsourceclosure.c:261: closure cannot be set on
>> GSource without GSourceFuncs::closure_callback
>> 
>> (process:21288): GLib-WARNING **: 00:15:24.849: Timeout source
>> dispatched without callback. You must call g_source_set_callback().
>> ```
>
> However, I don't have any of  those bug/messages here:
>
>       david@aicha:~ 1 $ cd gnu/g-golf/git/examples/gtk-4/
>       david@aicha:~/gnu/g-golf/git/examples/gtk-4 4 $ ./revealer.scm 
>       [no messages, just an empty line, until closingthe app
>
> Make sure you_do not_ GI GLib nor GObject functionality (refering to
> the below part of your message)
>
>> GLib:   2.70.2
>> Gtk:    4.4.0
>> Guile:  3.0.7
>> G-Golf: 1824633d37da3794f349d6829e9dac2cf89adaa8
>
> Perfect, I use gtk 4.4.1+ds1-3 but it still has no animation
> 'anymore',so this is an upstream bug/problem
>
>> BTW, there's also timeout_add function in Gobject-introspection, but I
>> can't use it because it conflicts with the legacy one defined in
>> g-golf, what about unify them into one? Maybe we can remove the
>> g-timeout-add in g-golf and use G-I.
>
> You should not (never) introspect(import) GLib nor GObject, which
> are manually binded, for bootstrap reasons - if something you need is
> missing, ask for it, I'll double check and possibly implement the
> missing binding ...
>
> David
>
> [[End of PGP Signed Part]]

Thank you!, For timer issue, I've tried

G_DEBUG=fatal-criticals gdb --args guile -l ./revealer.scm -e main


But didn't get anything useful, some call stack is '??' even in a debug
build of Guile. I guess they're FFI call stub generated by libffi.

Maybe I should investigate the GTK4 provided by my distro(Guix system).
-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]