[Debichem-devel] Bug#507046: avogadro: Graphics export does not work on most systems

Michael Banck mbanck at debian.org
Thu Nov 27 12:28:54 UTC 2008


Package: avogadro
Severity: important
Version: 0.8.1-4
Tags: patch

The File->Export->"Graphics Export" menu item is greyed out on all
system which do not support the GL_EXT_framebuffer_object OpenGL
extension, which seems to be the case at least for intel and radeon
x.org drivers, while proprietary nvidia drivers are reported to work.

As graphics export is a major feature of a molecule viewer/builder, this
issue severly reduces functionality (there is a "PovRay Export" item as
well, but as povray is non-free, and the output is slightly different,
png export is still highly desirable).

Tim Vandermeersch has developped a small patch which grabs a QPixmap via
QPixmap::grabWindow() rather than a QImage via
QGLWidget::grabFrameBuffer and which seems to work fine with all
graphics cards/drivers (at last on my radeon it now works).  The patch
is here:
http://svn.debian.org/wsvn/debichem/unstable/avogadro/debian/patches/11_ExportGraphics.patch?op=file&rev=0&sc=0

Michael





More information about the Debichem-devel mailing list