View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014122VTK(No Category)public2013-06-07 10:532013-07-22 19:35
ReporterAndy Kula 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version6.0.0 
Summary0014122: vtkRenderWindow GetSize() returns unexpected results with VS2012 builds
DescriptionFrom: Andy Kula [mailto:akula@sympatico.ca]
Sent: June-07-13 12:48 AM
To: 'Julien Jomier'; 'Joachim Pouderoux'
Cc: 'Yves Berquin'
Subject: FW: VERTIGO-949 Guided Biopsy image artifacts

Hi Julien,

After moving over to Visual Studio 2012, we found a strange problem where vtkRenderWindow GetSize() returns something different than what was provided to SetSize(). Specifically, width and height are 8 pixels less than expected. I found a problem report which appears to describe what we are seeing. The problem goes away if we change the desktop theme to Windows Classic.

I wanted to check with you to see if this issue has been reported to you, and if you had planned to address it in VTK.

http://stackoverflow.com/questions/15936363/cant-understand-why-my-window-size-math-is-not-working-with-some-particular-com [^]

Thanks,
-Andy

From: Andy Kula [mailto:akula@sympatico.ca]
Sent: June-07-13 9:53 AM
To: 'Joachim Pouderoux'; 'Yves Berquin'
Cc: 'Julien Jomier'
Subject: RE: FW: VERTIGO-949 Guided Biopsy image artifacts

We are working with Win7-64b SP1 VS2012 Update 2.

-Andy

TagsNo tags attached.
ProjectKitware
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0030975)
David Cole (developer)
2013-06-07 11:13

Is 5.8 the version of VTK you're using?

This problem was already fixed in this commit:

    http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=5f8b3c0c03c6ebc8accd6bb6cf6bff629b6370cb [^]

The fix is available in 'master' and in the VTK 6.0 release candidates.

If you look at the diff, it's very local and isolated, and it should be fairly easy to apply a similar change to your own build of an earlier VTK if you must continue using the older version.
(0030976)
David Cole (developer)
2013-06-07 11:14

See previous note for link to commit that fixes this

 Issue History
Date Modified Username Field Change
2013-06-07 10:53 Andy Kula New Issue
2013-06-07 11:13 David Cole Note Added: 0030975
2013-06-07 11:13 David Cole Assigned To => David Cole
2013-06-07 11:13 David Cole Status backlog => tabled
2013-06-07 11:14 David Cole Note Added: 0030976
2013-06-07 11:14 David Cole Status tabled => customer review
2013-06-07 11:14 David Cole Resolution open => fixed
2013-06-07 11:14 David Cole Fixed in Version => 6.0.0
2013-07-22 19:35 Dave DeMarle Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team