View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006292VTK(No Category)public2008-02-01 11:052008-02-19 13:19
ReporterJerome Robert 
Assigned ToJeff Baumes 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006292: [Java] Xlib: unexpected async reply in vtkVisibleCellSelector.Select();
DescriptionvtkVisibleCellSelector.Select(); call Render() internally and is not synchronized with AWT. So we get this well known message:
Xlib: unexpected async reply
Additional InformationA workaround is to publish lock and unlock methods which are protected:
    static class VTKCanvas extends vtkCanvas
    {
        public void lock()
        {
            Lock();
        }
        
        public void unLock()
        {
            UnLock();
        }
    }

And use them to synchronize the Select() call:

myCanvas.lock();
selector.Select();
myCanvas.unlock();

TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0010589)
Jeff Baumes (administrator)
2008-02-19 13:19

Added the suggested public methods to vtkPanel in VTK CVS. Since the Java wrapper layer cannot control when renders happen, we must give control to the user to avoid synchronization issues.

 Issue History
Date Modified Username Field Change
2008-02-01 11:05 Jerome Robert New Issue
2008-02-06 09:30 Jeff Baumes Status backlog => tabled
2008-02-06 09:30 Jeff Baumes Assigned To => Jeff Baumes
2008-02-19 13:19 Jeff Baumes Status tabled => closed
2008-02-19 13:19 Jeff Baumes Note Added: 0010589
2008-02-19 13:19 Jeff Baumes Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team