View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013710VTK(No Category)public2012-12-07 05:312013-06-25 14:09
ReporterJoó Péter 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version6.0.0 
Summary0013710: vtkCaptionActor2D: texts are cropped
DescriptionStarting from VTK 5.8 version there is a regression in vtkCaptionActor2D class.
This bug exists in VTK 5.10.1 too.

The regression is that the last character's half portion (approximation) gets cropped.

Even in the official examples the error is present!
Run the TestCaptionActor.tcl example or check my attached screenshot.

Please note that in each class which uses vtkCaptionActor2D the problem is present, such as:

vtkAxesActor
vtkCaptionRepresentation
vtkCaptionWidget

That problem can be easily reproducated by the attached C++ program too.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Fileszip file icon cropping.zip [^] (18,666 bytes) 2012-12-07 05:31

 Relationships

  Notes
(0029843)
Matthias Binninger (reporter)
2012-12-07 05:42

For me, applying the following patch to 5.10.1 solved the issue:
https://github.com/Kitware/VTK/commit/5fff9333cb8434b22e867e6707bac6d77855bdec [^]
(0029844)
Joó Péter (reporter)
2012-12-07 07:00
edited on: 2012-12-07 07:02

Thank you Matthias, I am very happy with your incredibly rapid response!

Do you think that the upcoming VTK release can include your patch?

(0029853)
Matthias Binninger (reporter)
2012-12-07 09:37

The patch is not from me, I just found it when the same problem came up here last week.
The patch is already in VTKs source repository, so my guess is, that it will be included in the next release. But I'm in no way involved in the VTK development, so I don't know when that will be or on which basis patches are chosen for bugfix/main releases.
(0031057)
Dave DeMarle (administrator)
2013-06-25 13:41

Fixed in via:
commit 5fff9333cb8434b22e867e6707bac6d77855bdec
Date: Sat Jun 2 09:49:52 2012 -0400

 Issue History
Date Modified Username Field Change
2012-12-07 05:31 Joó Péter New Issue
2012-12-07 05:31 Joó Péter File Added: cropping.zip
2012-12-07 05:42 Matthias Binninger Note Added: 0029843
2012-12-07 07:00 Joó Péter Note Added: 0029844
2012-12-07 07:02 Joó Péter Note Edited: 0029844
2012-12-07 09:37 Matthias Binninger Note Added: 0029853
2013-06-25 13:41 Dave DeMarle Note Added: 0031057
2013-06-25 13:41 Dave DeMarle Status backlog => todo
2013-06-25 13:41 Dave DeMarle Resolution open => fixed
2013-06-25 13:41 Dave DeMarle Assigned To => Dave DeMarle
2013-06-25 13:41 Dave DeMarle Status todo => active development
2013-06-25 13:41 Dave DeMarle Status active development => gatekeeper review
2013-06-25 13:41 Dave DeMarle Status gatekeeper review => customer review
2013-06-25 13:41 Dave DeMarle Fixed in Version => 6.0.0
2013-06-25 14:09 Dave DeMarle Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team