Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits
Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType
 

Index | Next | Previous | View Flat


noreply at mythtv

May 6, 2012, 4:05 AM


Views: 110
Permalink
Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType

#10695: [PATCH] libmythui: Fix a redraw bug in MythUIType
--------------------------------------+----------------------------------
Reporter: Lawrence Rust <lvr@…> | Type: Patch - Bug Fix
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: Master Head | Severity: medium
Keywords: keypress redraw tearfree | Ticket locked: 0
--------------------------------------+----------------------------------
While evaluating the ATI Catalyst driver 'TearFree Desktop' option I
noticed that sometimes a keypress was apparently being held up until the
time on the main menu was updated. Initially I thought that this was a
lirc or fglrx issue, but on investigation it turned out that
MythMainWindow::animate was requesting updates for empty repaint regions.
Delving further showed that MythUIType::Draw was resetting m_DirtyRegion
to empty even if the clipRect was smaller, thus leaving unpainted regions.

m_DirtyRegion may be extended by HandleMovementPulse, SetRedraw or
SetChildNeedsRedraw etc AFTER GetDirtyArea is called. So when
MythUIType::Draw is called, clipRect may not include the whole of
m_DirtyRegion.

This patch subtracts the Draw clipRect from m_DirtyRegion instead of
simply emtying it.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10695>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

Subject User Time
Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType noreply at mythtv May 6, 2012, 4:05 AM
    Re: Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType noreply at mythtv Jul 5, 2012, 12:51 AM
    Re: Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType noreply at mythtv Oct 8, 2012, 11:28 AM
    Re: Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType noreply at mythtv Oct 8, 2012, 11:58 AM
    Re: Ticket #10695: [PATCH] libmythui: Fix a redraw bug in MythUIType noreply at mythtv Oct 8, 2012, 12:03 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.