Giter Site home page Giter Site logo

Comments (5)

raiph avatar raiph commented on June 27, 2024

http://irclog.perlgeek.de/perl6/2014-05-22#i_8761466 might be relevant. I recall some work on this since but a quick search didn't show it. Have you visited #perl6? timotimo is on their often.

from gtk-simple.

timo avatar timo commented on June 27, 2024

Hello,

indeed, the discussion raiph linked to is very closely related to this bug; After jnthn explained to me what exactly happened, I was able to fix it in MoarVM. If you used --gen-moar to build your MoarVM, you may not have a sufficiently new MoarVM; if you --gen-moar=master, it should work.

MoarVM/MoarVM/c511cb7 is the commit where the problem gets fixed. MoarVM's NativeCall implementation used to treat every Code Object with the same CUID (compilation unit ID, a compile-time created identifier) as the same object. The clicked method of the Button generates two different closures (one for each button instance), but only one is ever called back from Gtk when a click happens.

Since you said the bug still persists on the JVM backend, I'll leave this bug open until that is sorted. It likely needs about the same fix.

from gtk-simple.

vendethiel avatar vendethiel commented on June 27, 2024

@timo you can use the syntax " MoarVM/MoarVM@c511cb7 " to link to a commit in a separate repo :)

from gtk-simple.

azawawi avatar azawawi commented on June 27, 2024

Is this still an issue with the latest?

from gtk-simple.

 avatar commented on June 27, 2024

Is this still a bug? I'll close this for now.

from gtk-simple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.