MantisBT - VTK
View Issue Details
0000976VTK(No Category)public2004-07-08 11:312014-10-02 07:40
Clinton Stimpson 
David Cole 
lowminoralways
closedfixed 
 
6.2.0 
0000976: SetWindowName for Windows vtkRenderWindow doesn't always work
If I set the WindowName before vtkRenderWindow::Initialize is called, it doesn't respect the name I gave it.

See attached code.
No tags attached.
cpp bug.cpp (1,098) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5126/bug.cpp
Issue History
2008-11-30 09:25Mathieu MalaterreAssigned ToMathieu Malaterre => David Cole
2011-01-19 10:19David ColeAssigned ToDavid Cole =>
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-06-05 16:46Jean-Christophe Fillion-RobinNote Added: 0030928
2013-06-06 11:41Clinton StimpsonNote Added: 0030966
2014-10-02 07:04David ColeAssigned To => David Cole
2014-10-02 07:11David ColeNote Added: 0033412
2014-10-02 07:11David ColeStatusbacklog => active development
2014-10-02 07:30David ColeNote Added: 0033413
2014-10-02 07:38David ColeNote Added: 0033414
2014-10-02 07:40David ColeNote Added: 0033415
2014-10-02 07:40David ColeStatusactive development => closed
2014-10-02 07:40David ColeResolutionopen => fixed
2014-10-02 07:40David ColeFixed in Version => 6.2.0

Notes
(0030928)
Jean-Christophe Fillion-Robin   
2013-06-05 16:46   
Does the problem still occur with VTK 5.10 ? VTK 6 ?
(0030966)
Clinton Stimpson   
2013-06-06 11:41   
The code in vtkWin32OpenGLRenderWindow.cpp looks the same. The window title is set in CreateAWindow() not ignoring any user set title between the constructor and Initialize().
(0033412)
David Cole   
2014-10-02 07:11   
I choose the 2nd oldest non-expired bug to work on first for the hack-a-thon today! ;-)
(0033413)
David Cole   
2014-10-02 07:30   
Alas, it appears to be fixed already in current master, sometime since the 6.0.0 release...

I shall have to choose another.
(0033414)
David Cole   
2014-10-02 07:38   
Was fixed by this commit, which was merged a few months ago:

http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=98fcc712 [^]
(0033415)
David Cole   
2014-10-02 07:40   
Fixed by an earlier commit: http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=98fcc712 [^]