Comments (5)
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.
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.
@timo you can use the syntax " MoarVM/MoarVM@c511cb7 " to link to a commit in a separate repo :)
from gtk-simple.
Is this still an issue with the latest?
from gtk-simple.
Is this still a bug? I'll close this for now.
from gtk-simple.
Related Issues (20)
- Moving GTK::Simple to GTK 4 HOT 22
- Tests not actually run by Actions HOT 3
- Please deploy to `fez` HOT 2
- Add a "gui" tag to the meta-6 file HOT 3
- RFE: Please add Progress Bar to the list of examples HOT 4
- GObject Introspection? HOT 2
- program crashes when GTK::Simple::App.new(...) is called later in program HOT 4
- Install fails on Windows HOT 2
- Install not working correctly HOT 6
- rfe: example with a scroll bar HOT 3
- MoarVM Panic Running Example 18, Cairo Draw Handler HOT 3
- how install Cairo HOT 3
- TextView / Scroll Example doesn't work HOT 6
- Host used for downloading windows DLLs is down HOT 2
- Trying to read the `.text` property of a TextView results in an abort. HOT 9
- use just Github Actions for CI HOT 2
- RFE: example of a fill in form HOT 1
- RFE: 07-text.pl6: show returned text HOT 3
- Documentation HOT 7
- No way to loop over components in a container or an app HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk-simple.