View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014266VTK(No Category)public2013-09-06 15:382015-01-09 13:40
ReporterClinton Stimpson 
Assigned ToSean McBride 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.1.0 
Target Version6.2.0Fixed in Version6.2.0 
Summary0014266: Cocoa interactor reports wrong size
DescriptionRun the attached example.

Resize the window, then hit the 'x' button to close the window.
It'll print out the size reported by vtkRenderWindow and vtkRenderWindowInteractor.

The interactor reports the wrong size, and its size is not updated when the window is resized.
Tagshackaton
ProjectTBD
Typeincorrect functionality
Attached Files? file icon cone.py [^] (772 bytes) 2013-09-06 15:38

 Relationships

  Notes
(0033434)
Sean McBride (developer)
2014-10-02 10:21

OK, I can reproduce this. Will investigate...
(0033509)
Sean McBride (developer)
2014-10-02 14:34

Clinton, thanks for reporting this glaring bug. I only wished I noticed it months ago. I only found it searching for keywords like "Cocoa" before today's bug hack-a-thon.

The cause of the bug is that we start observing for NSView size changes *before* we actually create the NSView. i.e. we observe nothing. Whoops. I probably broke this.

Fix forthcoming...
(0033541)
Sean McBride (developer)
2014-10-02 16:29

http://review.source.kitware.com/17362 [^]

 Issue History
Date Modified Username Field Change
2013-09-06 15:38 Clinton Stimpson New Issue
2013-09-06 15:38 Clinton Stimpson File Added: cone.py
2014-10-01 10:54 Sean McBride Assigned To => Sean McBride
2014-10-01 10:54 Sean McBride Status backlog => tabled
2014-10-01 10:55 Sean McBride Tag Attached: hackaton
2014-10-01 12:40 Berk Geveci Status tabled => backlog
2014-10-02 10:21 Sean McBride Note Added: 0033434
2014-10-02 10:21 Sean McBride Target Version => 6.2.0
2014-10-02 14:34 Sean McBride Note Added: 0033509
2014-10-02 16:29 Sean McBride Note Added: 0033541
2014-10-02 16:29 Sean McBride Status backlog => gerrit review
2014-10-02 16:29 Sean McBride Resolution open => fixed
2014-10-04 08:49 David Gobbi Status gerrit review => closed
2014-10-04 08:49 David Gobbi Fixed in Version => 6.2.0
2015-01-09 13:33 Sean McBride Source_changeset_attached => VTK master fca2fd59
2015-01-09 13:39 Sean McBride Source_changeset_attached => VTK master 8bc22e48
2015-01-09 13:40 Sean McBride Source_changeset_attached => VTK master b6a4db16


Copyright © 2000 - 2018 MantisBT Team