[mythtv-commits] Ticket #8454: Border margin around pictures painted with OpenGL transitions
MythTV
mythtv at cvs.mythtv.org
Thu May 13 21:32:14 UTC 2010
#8454: Border margin around pictures painted with OpenGL transitions
-----------------------------------------------------+----------------------
Reporter: Klaas de Waal <klaas.de.waal@…> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythGallery | Version: 0.23-fixes
Severity: low | Mlocked: 0
-----------------------------------------------------+----------------------
In the MythGallery settings you can select "Use OpenGL transitions".
An unwanted side effect is that all pictures drawn by MythGallery are not
full-screen but they now have a border margin of 9 pixels on all sides.
This is also the case when you do not use the slide show but select the
pictures individually.
If the "Use OpenGL transitions" is not selected then the pictures are
full-screen without border, but then of course you do not get the nice
OpenGL transitions in the slide show.
The reason is that OpenGL paints into a QBoxLayout widget and this widget
has by default a border margin of 9 pixels on all sides.
The problem is easily fixed by setting the border margin to zero after
creating the widget.
This is in file glsingleview.cpp, function GLSDialog::GLSDialog.
A patch for this, tested on svn revision 24615, will be attached.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8454>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list