View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012702VTK(No Category)public2011-11-03 10:122013-04-05 20:32
ReporterCJ Bourn 
Assigned ToLeo Liu 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.6.1 
Target VersionFixed in Version 
Summary0012702: vtkWin32OpenGLRenderWindow does not initialize all members
DescriptionThe vtkWin32OpenGLRenderWindow class does not initialize the following members:

  this->ScreenMapped = 0;
  this->ScreenWindowSize[0] = 0;
  this->ScreenWindowSize[1] = 0;
  this->ScreenDoubleBuffer = 1;
  this->ScreenContextId = 0;

If you build the VTK with offScreen support and toggle OffscreenSupport off (when it is already off), the ContextId of the class will be filled with stack junk.

Fixed file attached. Also a problem in 5.8.0.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Filescxx file icon vtkWin32OpenGLRenderWindow.cxx [^] (43,861 bytes) 2011-11-03 10:12

 Relationships

  Notes
(0027998)
Leo Liu (developer)
2012-01-27 16:44

This is fixed. When you already build with VTK_USE_OFFSCREEN, You shouldn't have to call toggle OffscreenSupport off anymore.

 Issue History
Date Modified Username Field Change
2011-11-03 10:12 CJ Bourn New Issue
2011-11-03 10:12 CJ Bourn File Added: vtkWin32OpenGLRenderWindow.cxx
2012-01-23 10:04 Utkarsh Ayachit Assigned To => Leo Liu
2012-01-23 10:04 Utkarsh Ayachit Status backlog => tabled
2012-01-27 16:44 Leo Liu Note Added: 0027998
2012-01-27 16:44 Leo Liu Status tabled => customer review
2012-01-27 16:44 Leo Liu Resolution open => fixed
2013-04-05 20:32 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team