[mythtv] Myth Status display not updated

Marcel Meier linux at meiersos.ch
Wed Oct 6 14:50:34 UTC 2004


Chris,
you have to check for the position if it's the first not to decrease by one otherwise
it move of the top.
Think it would be best to check the position for plausibility in the Update function and not
to relay on the data provided to be correct. - writing is one thing but doing...

Marcel

Am Mittwoch, 6. Oktober 2004 16.18 schrieb Marcel Meier:
> Am Mittwoch, 6. Oktober 2004 12.45 schrieb Marcel Meier:
> Here  the Patch for b)
> 
> Please try it out, it worked for me, but maybe I should also to check for not move up when at
> the first position, but I think you already make this check in your function.
> 
> Marcel
> 
> Index: statusbox.cpp
> ===================================================================
> RCS file: /var/lib/mythcvs/mythtv/programs/mythfrontend/statusbox.cpp,v
> retrieving revision 1.9
> diff -u -d -r1.9 statusbox.cpp
> --- statusbox.cpp       6 Oct 2004 03:10:27 -0000       1.9
> +++ statusbox.cpp       6 Oct 2004 14:13:07 -0000
> @@ -457,6 +457,8 @@
>                  QSqlDatabase *db = QSqlDatabase::database();
>                  db->exec(query);
>                  doLogEntries();
> +                contentPos--;
> +                update(ContentRect);
>              }
>          }
>          else if (currentItem == QObject::tr("Job Queue"))
> 
> > Hi,
> > First let me know, Chris which modules did you code? Don't want to find bugs only in
> > your part of the program. lol ;-{
> > I like all the new things you did in the Status screen!!
> > But as always with new things there are here and there littel things to get straight.
> > I'll will test a + c and give you my feedback, but I have no doubt they will work.
> > 
> > I'll also look at problem b and will give it a try. :-)
> > 
> > Cheers Marcel
> > 
> > PS: for the sake of naviation wouldn't it be perfect, when the Home, End, PgUp and PgDown keys would also
> > work in the detail lists, because with the arrow keys to navigate the detail list is not the best way I think.
> > 
> > 
> > Am Mittwoch, 6. Oktober 2004 02.59 schrieb Chris Pinkham:
> > > > a) when you select "Listing Status" or "Tuner Status" or on of the other 
> > > > entry's at the top of the screen the corresponding explanation will be 
> > > > displayed.
> > > > Now when you select a detail (right arrow) the explanation at the top will 
> > > > change, but when you then use the left arrow, the explanation will not 
> > > > change, but remain the last seen entry until you use arrow up or down.
> > > 
> > > This is fixed in CVS now.
> > > 
> > > > b) when you move totally to the end of the Log entries list and then 
> > > > acknowledge the last entry, the focus will move down beyond the list and the 
> > > > list is not updated but the entry is deleted even it's still visible when you 
> > > > then move the cursor up so that the list will be redrawn then the log 
> > > > reflects the changes (entry which was deleted are gone)
> > > 
> > > This I haven't looked at yet.
> > > 
> > > > c) In all the other menu the left arrow exits out of the menu but not in 
> > > > status menu where you have to use the ESC/EXIT-key
> > > 
> > > This is fixed in CVS now also.  You must have UseArrowAccels on which is
> > > what allows LEFT to exit the other screens, so I assume you do.
> > > 
> > > a & c were easy, I haven't looked over the code enough to know about b
> > > yet, so if you get the urge, feel free. :)
> > > 
> > 
> 


More information about the mythtv-dev mailing list