[mythtv-commits] Ticket #3385: opengl painter doesn't handle GUI offset correctly in drawTimeout
MythTV
mythtv at cvs.mythtv.org
Tue May 1 03:57:46 UTC 2007
#3385: opengl painter doesn't handle GUI offset correctly in drawTimeout
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: unknown
Severity: low |
-----------------------+----------------------------------------------------
MythMainWindow moves its origin to xoffset,yoffset. In drawTimeout if the
painter doesn't support clipping (which the opengl painter says it
doesn't), the repaint region is forced to include the whole screen via
screenRect. Unfortunately, screenRect contains the xoffset/yoffset,
causing the redraw to redraw an strange set of rectangles. Normally this
doesn't show up as a visible problem because it tends to be a superset of
the visible screen. In the presence of alphapulse, however, it causes the
background image to get redrawn 1 extra time at the end, after the pulsing
image, erasing the whole menu. The occurs in both G.A.N.T. and MePo
themes for me with the GUI set to 1170x670 offset 60,16. This patch fixes
this by using the rectangle returned by GetUIScreenRect() instead of the
member screenRect.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3385>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list