traitement en boucle après un évènement graphique

Issue #1 open
ndrx created an issue

Le programme est simple, il s'agit d'un formulaire avec une toile et une xtoile. Dans la toile, un rectangle est projeté.

La fenêtre est à l'écoute des clics de souris pour la fermeture du programme et le rectangle est aussi à l'écoute des clics de souris.

Après un simple clic sur le rectangle, un thread tourne en boucle. Au début je pensais que c'était peut-être lié au formulaire mais j'ai eu le même comportement après avoir essayé sans formulaire.

Le programme pour reproduire le bug est en annexe.

Je ne sais pas si ça peut vous être utile, mais voici ce que j'ai pu obtenir comme information à partir de jvisualvm :

"FrameProcess" #74 prio=6 os_prio=0 tid=0x6790f800 nid=0x4637 runnable [0x63dfe000] java.lang.Thread.State: RUNNABLE at org.linotte.moteur.xml.analyse.Mathematiques.chargerActeur(Mathematiques.java:1644) at org.linotte.moteur.xml.analyse.Mathematiques.shrink(Mathematiques.java:910) at org.linotte.moteur.xml.analyse.Mathematiques.shrink(Mathematiques.java:968) at org.linotte.moteur.xml.analyse.ItemXML.retourneValeurTransformee(ItemXML.java:142) at org.linotte.moteur.xml.analyse.ItemXML.retourneValeurTransformee(ItemXML.java:122) at org.linotte.moteur.xml.alize.kernel.Action.extractionDesActeurs(Action.java:56) at org.linotte.moteur.xml.alize.kernel.Action.extractionDesActeurs(Action.java:43) at org.linotte.moteur.xml.actions.EtatCondition.analyseCondition(EtatCondition.java:139) at org.linotte.moteur.xml.appels.TantQue.suiteBoucle(TantQue.java:21) at org.linotte.moteur.xml.appels.SousParagraphe.next(SousParagraphe.java:63) at org.linotte.moteur.xml.actions.EtatFermer.analyse(EtatFermer.java:57) at org.linotte.moteur.xml.alize.kernel.processus.ProcessusDispatcher.execute(ProcessusDispatcher.java:135) at org.linotte.moteur.xml.alize.kernel.Job.execute(Job.java:80) at org.alize.kernel.AKJob.execute(AKJob.java:66) at org.alize.kernel.AKRuntime.execute(AKRuntime.java:51) at org.linotte.frame.moteur.FrameProcess.action(FrameProcess.java:179) at org.linotte.frame.moteur.FrameProcess.run(FrameProcess.java:393)

Comments (1)

  1. Log in to comment