View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013154 | VTK | (No Category) | public | 2012-05-07 11:29 | 2014-10-03 21:08 | ||||
Reporter | Félix C. Morency | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | 6.1.0 | |||||||
Summary | 0013154: VTK Qt Python wrapper unusable under Windows | ||||||||
Description | The toy example in [1] doesn't work under Windows (tested with PySide v1.1.0, PyQt4 v4.9.1, VTK 6.0.0 commit 6214dd0542d64a66c8a94797e938f1b15da747d2, Python 2.7.3): The source of the problem is located in QVTKRenderWindowInteractor.py:158 self._RenderWindow.SetWindowInfo(str(int(self.winId()))) With PySide, the winId() method returns a PyCObject. The bug is known and has been reported (see [2]). With PyQt4, the winId() method returns a 'sip.voidptr' that needs to be handled accordingly. [1]: https://gist.github.com/2596951 [^] [2]: https://bugreports.qt-project.org/browse/PYSIDE-46?focusedCommentId=177492#comment-177492 [^] | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033579) Ben Boeckel (Kitware) (developer) 2014-10-03 20:24 |
Looks related to recent changes about swig and voidp stuff. David? |
(0033580) David Gobbi (developer) 2014-10-03 21:04 |
Kind of related, but it will be unaffected by my change. This problem sounded familiar to me so I checked the logs, it looks like a fix has already been merged. The code that the reporter mentioned in the report has already been replaced with PyCObject code. commit 493dee9d11fddb9d78697e986caa846d76e264ac Author: Rodrigo Mologni <rodrigomologni@gmail.com> Date: Thu Sep 26 14:24:39 2013 -0300 This commit fixes an interoperability issue with PySide. |
(0033581) David Gobbi (developer) 2014-10-03 21:08 |
Fixed in the following commit: commit 493dee9d11fddb9d78697e986caa846d76e264ac Author: Rodrigo Mologni <rodrigomologni@gmail.com> Date: Thu Sep 26 14:24:39 2013 -0300 This commit fixes an interoperability issue with PySide. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-07 11:29 | Félix C. Morency | New Issue | |
2014-10-03 20:24 | Ben Boeckel (Kitware) | Note Added: 0033579 | |
2014-10-03 21:04 | David Gobbi | Note Added: 0033580 | |
2014-10-03 21:08 | David Gobbi | Note Added: 0033581 | |
2014-10-03 21:08 | David Gobbi | Status | backlog => closed |
2014-10-03 21:08 | David Gobbi | Resolution | open => fixed |
2014-10-03 21:08 | David Gobbi | Fixed in Version | => 6.1.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |