[Python-apps-team] Bug#480193: mayavi2: PNG images are messed up if the axes indicator has been dragged from its original position
Francesco Poli
frx at firenze.linux.it
Thu May 8 16:41:39 UTC 2008
Package: mayavi2
Version: 2.1.1-2+b1
Severity: normal
Hi!
I think I found another issue.
Steps to reproduce the bug:
$ mayavi2 -d /usr/share/doc/mayavi2/examples/mayavi/data/heart.vtk
The main window shows up.
* from menus, select Visualize -> Modules -> IsoSurface
* from menus, select Visualize -> Modules -> Outline
* in the MayaVi pane, left-click on Modules
* in the MayaVi object editor pane, check Show scalar bar
* (rotate/translate/zoom the visualization so that it looks nice)
* from menus, select File -> Save Scene As -> PNG Image
* in the dialog window, enter "foo.png" as name and click on the Save
button
* in the TVTK Scene 1 pane, click on the Toggle axes indicator button
* in the TVTK Scene 1 pane, drag the axes indicator up, so that it does
not overlap with the scalar bar
* from menus, select File -> Save Scene As -> PNG Image
* in the dialog window, enter "bar.png" as name and click on the Save
button
The first image (foo.png) is correctly created; the second one is
instead messed up, since the visualization is shortly shifted up,
while the image is being created!
See the attached images.
I've tested this on an i386 box with nVidia chipset based video card
(and, sigh!, nvidia proprietary drivers) and on an amd64 box with
Intel 965G integrated graphics chipset (and intel drivers).
I can reproduce the bug on both of them.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mayavi2 depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
ii python 2.5.2-1 An interactive high-level object-o
ii python-central 0.6.6 register and build utility for Pyt
ii python-enthought-traits 2.0.4-2 Manifest typing and reactive progr
ii python-enthought-traits-ui 2.0.4-2 User interface related modules for
ii python-numpy 1:1.0.4-8 Numerical Python adds a fast array
ii python-pkg-resources 0.6c8-3 Package Discovery and Resource Acc
ii python-vtk 5.0.4-1+b1 Python bindings for VTK
ii python-wxgtk2.6 2.6.3.2.2-2 wxWidgets Cross-platform C++ GUI t
ii python2.5 2.5.2-3 An interactive high-level object-o
mayavi2 recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.png
Type: image/png
Size: 59019 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20080508/059eb429/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bar.png
Type: image/png
Size: 63469 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20080508/059eb429/attachment-0003.png
More information about the Python-apps-team
mailing list