|
Bugzilla – Bug 29 |
Some plugins freeze Fiji |
Last modified: 2012-01-12 09:44:59 CST |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
|||||
> http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=VIB.git;a=commit;h=cfffe3433011c445e4aa6c73342233e46b08d60d;hb=refs/heads/VIB > > Jean-Yves, could you try that out and see if it fixes the bug? > Hey Unfortunately, the symptoms stay the same. Can someone confirm?Created attachment 6 thread states on plugin hangI don't properly understand this yet, but here's some more information. With VIB at d23b0e8d5775602c92 (i.e. using GenericDialog as before) the plugin seems to be waiting forever on AWTTreeLock. (I've attached the kill -3 dump of the thread states.) I think this is something to do with the ScrollPane used in vib.app.gui.FileGroupDialog, since with the following patch (just adding the List directly, rather than in a ScrollPane) it doesn't happen: iff --git a/vib/app/gui/FileGroupDialog.java b/vib/app/gui/FileGroupDialog.java index 47f00fe..dc75049 100644 --- a/vib/app/gui/FileGroupDialog.java +++ b/vib/app/gui/FileGroupDialog.java @@ -76,15 +76,12 @@ public class FileGroupDialog extends Panel gridbag.setConstraints(name, c); this.add(name); - ScrollPane scroll = new ScrollPane(); - scroll.add(list); - scroll.setPreferredSize(new Dimension(300,100)); c.gridx = 0; c.gridy++; c.fill = GridBagConstraints.BOTH; c.weightx = c.weighty = 0.5; - gridbag.setConstraints(scroll, c); - this.add(scroll); + gridbag.setConstraints(list, c); + this.add(list); Panel buttons = new Panel(new GridLayout(3,1)); add = new Button("Add to files");