View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014985VTK(No Category)public2014-09-07 10:492016-08-12 09:55
ReporterVictor Lamoine 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0014985: CloseWindow example not working on Linux Ubuntu
DescriptionThe example CloseWindow (http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CloseWindow [^]) does not work as expected; the first window remains opened (but frozen) until the application is terminated.

Tested with VTK 6.1.0
gcc 4.8.2
Ubuntu 14.04 x64

I believe the problem is in vtkRenderWindowInteractor:
http://www.vtk.org/doc/nightly/html/classvtkRenderWindowInteractor.html#a538b1adf29d41c990bd494005c962eb7 [^]

http://www.vtk.org/doc/nightly/html/classvtkXRenderWindowInteractor.html#a2cc229d0bcba69569b3783660f48c367 [^]

When the second window is drawn the first one becomes frozen, clicking on the X icon does not close the window; the user cannot spin the viewer with the mouse.

Please find enclosed a screenshot.
Tagslinux
ProjectTBD
Typeincorrect functionality
Attached Filespng file icon vtk-6.1-not_closing.png [^] (22,491 bytes) 2014-09-07 10:49

 Relationships

  Notes
(0034741)
Victor Lamoine (reporter)
2015-07-10 11:08

With VTK latest trunk (6.3) closing the first window by clicking the (X) button crashes the program with the following error:

Window 1 closed...
X Error of failed request: GLXBadDrawable
  Major opcode of failed request: 155 (GLX)
  Minor opcode of failed request: 11 (X_GLXSwapBuffers)
  Serial number of failed request: 196
  Current serial number in output stream: 198

Closing the first window by hitting 'q' on the keyboard does not crash program but does not close the window either.
(0035382)
atenpas (reporter)
2015-10-23 11:42

Same problem here.
(0035847)
Christopher Mitchell (reporter)
2016-03-18 12:50

This problem still exists. Hitting 'q' to close the window does not close the window, and creating future instances of the same class causes overlapping windows (and later double free problems).
(0035925)
Eduardo Ruiz (reporter)
2016-05-03 11:24

I have the same problem.
(0036211)
Utkarsh Ayachit (administrator)
2016-07-06 13:32

I can't reproduce this with latest master and OpenGL2 rendering backend.
(0036313)
Victor Lamoine (reporter)
2016-07-06 17:18

I can still reproduce this issue.

VTK version compiled:
9fcbac099c4540370b5e75a1e2154df50c9b9126

Linux desktop 4.2.0-39-generic #46~14.04.1-Ubuntu SMP Mon Jun 13 15:40:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I'm using Unity desktop environment.


CMakeCache + CloseWindow ldd output are here:
https://gist.github.com/VictorLamoine/ae4834e017a06a18053d4372d20fe39b [^]

What information can I provide to help you?
(0037340)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-09-07 10:49 Victor Lamoine New Issue
2014-09-07 10:49 Victor Lamoine File Added: vtk-6.1-not_closing.png
2015-02-12 05:02 Victor Lamoine Tag Attached: linux
2015-07-10 11:08 Victor Lamoine Note Added: 0034741
2015-10-23 11:42 atenpas Note Added: 0035382
2016-03-18 12:50 Christopher Mitchell Note Added: 0035847
2016-05-03 11:24 Eduardo Ruiz Note Added: 0035925
2016-07-06 12:51 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2016-07-06 12:51 Utkarsh Ayachit Status backlog => active development
2016-07-06 13:32 Utkarsh Ayachit Note Added: 0036211
2016-07-06 13:32 Utkarsh Ayachit Assigned To Utkarsh Ayachit =>
2016-07-06 13:33 Utkarsh Ayachit Status active development => backlog
2016-07-06 17:18 Victor Lamoine Note Added: 0036313
2016-08-12 09:55 Kitware Robot Note Added: 0037340
2016-08-12 09:55 Kitware Robot Status backlog => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team