[mythtv] Ticket #9674: MythUIEditBar broken

Jim Stichnoth stichnot at gmail.com
Sun Mar 20 15:46:09 UTC 2011


On Sat, Mar 19, 2011 at 7:42 PM,  <noreply at mythtv.org> wrote:
> #9674: MythUIEditBar broken
>
> Comment (by markk):
>
>  I've just tested on two boxes with the latest master on both and I can't
>  see any problems. If there were issues with the latest painter changes,
>  they would be showing up elsewhere and not just in the edit bar. Are you
>  sure you're up to date? - there was a fix that went in for the shape
>  cache.
>
> --
> Ticket URL: <http://code.mythtv.org/trac/ticket/9674#comment:1>

Mark,

Thanks for checking into this.  I'm definitely up to date with trunk,
and the behavior persists after rebooting the frontend.

Looking at the code, I'm not sure how the cropping could work.
MythUIEditBar::AddBar() calls MythUIShape::SetCropRect() which sets
m_cropRect which is not looked at again.  It looks like MythUIEditBar
and MythUIProgressBar are the only components that call
MythUIShape::SetCropRect(), so it's not surprising that the problem
doesn't show up elsewhere.  Unfortunately, my git skills aren't strong
enough to roll back to the previous version to see how it was working
before.

Jim


More information about the mythtv-dev mailing list