[mythtv] Re: [mythtv-commits] mythtv commits

Bruce Markey bjm at lvcm.com
Wed Feb 16 18:45:48 UTC 2005


mythtv at cvs.mythtv.org wrote:
> ----------------------------------------------------------------------------
> Changes committed by jdonavan on Wed Feb 16 10:58:17 2005
> 
> Modified Files:
>    in mythtv/libs/libmyth:
>         themedmenu.cpp 
> Log Message:
> Take the image offsets into account when determining what to draw / invalidate.
> Allow wrapping to the left/right when there's only one row of buttons

Since this check in, the menu highlight for the selected menu
item disappears when the window loses focus. It does not reappear
when the focus returns to mythfrontend but does appear when an
arrow key is pressed to move to another menu item. This happens
for blue, Iulius and others.

Commenting out the erase() that was added seems to fix the problem.
Is there a better way to do what you need to do here?

--  bjm
-------------- next part --------------
Index: libs/libmyth/themedmenu.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/themedmenu.cpp,v
retrieving revision 1.105
diff -u -r1.105 themedmenu.cpp
--- libs/libmyth/themedmenu.cpp	16 Feb 2005 11:28:02 -0000	1.105
+++ libs/libmyth/themedmenu.cpp	16 Feb 2005 18:35:41 -0000
@@ -1953,7 +1953,7 @@
     else
         cr = tbutton->posRect;
 
-    parent->erase(tbutton->paintRect);
+    //parent->erase(tbutton->paintRect);
     if (!erased)
     {
         if (tbutton->status == 1 && activebutton == tbutton)


More information about the mythtv-dev mailing list