Focus jumping in Browser after K!TV restart

TychoBarfy
2009-04-24
2012-11-15
  • TychoBarfy

    TychoBarfy - 2009-04-24

    Hi Tom,
    I start K!TV, what opens nxtview.
    After closing K!TV and restarting K!TV, and than confirming nxtview's
    message, that already one instance of nxtview is running, in
    channel list of the browser the focus is jumping endlessly between
    one programme line (Kabel 1, that's my provider) and the line of
    the last selected programme viewed before closing K!TV.

    This will not end until I select any channel by double clicking the
    mouse in the browser or in K!TV itself.

    Using 2.9.0pre2 on XP Sp3.

     
    • TychoBarfy

      TychoBarfy - 2009-04-28

      Here is the dbgview.log.

      1. K!TV 2.4.0.2 Beta and nxtvepg is started.

      2. I close K!TV and leave nxtvepg open.

      3. I start K!TV and confirm nxtvepg's dialog to not open a second instance of it.

      4. I Select any channel (Kabel 1) in this case.

      http://www.famlehm.de/deleteme/tychobarfy/files/dbgview_ktv.LOG

       
      • Tom Zoerner

        Tom Zoerner - 2009-04-29

        Thanks for the log.  Apparently the cause is that you're switching from a channel with two types of channel identification (probably VPS and PDC) to one with a single type of identification. There's a design bug in nxtvepg, as it remembers only the sequence number of the last used ID type, so old information can be used again (and again...) when falling back to a different type of ID, which can happen frequently when polling more often than new IDs are coming in on the new channel.

        Should be fixed in this build: http://nxtvepg.sourceforge.net/tmp/nxtvepg-2.9.0pre3-dbg5-win.zip

        (I hope I haven't introduced any new bug; I'll have to review this once more later as it's a rather tricky change.)

        Thanks for reporting this bug.

        -tom

         
    • TychoBarfy

      TychoBarfy - 2009-04-29

      Great, thanks! Toggling has gone.
      By the way, this was also an issue of previous versions of nxtvepg.
      I didn't tell it, because I thought it would be solved automatically in newer versions :D

       
    • Tom Zoerner

      Tom Zoerner - 2009-04-26

      > After closing K!TV and restarting K!TV, and than confirming nxtview's
      > message, that already one instance of nxtview is running, in
      > channel list of the browser the focus is jumping endlessly between
      > one programme line (Kabel 1, that's my provider) and the line of
      > the last selected programme viewed before closing K!TV.

      This sequence sounds odd. K!TV shouldn't start nxtvepg if it's already running. Also, normally K!TV will terminate nxtvepg when K!TV is terminated and nxtvepg was started by K!TV.

      > This will not end until I select any channel by double clicking the
      > mouse in the browser or in K!TV itself.

      So this happens after you start K!TV again? Above you said you had closed K!TV at the end.

      Anyway, this sounds as if nxtvepg gets conflicting information from K!TV and VPS/PDC in the TV-signal. Yet I cannot see why it would keep toggling. The station name provided by K!TV is only used when K!TV indicates a station change to nxtvepg (or when pressing key "i" in nxtvepg.)

      Maybe it's best if you just capture and mail me a debug log (captured using "DebugView"): http://nxtvepg.sourceforge.net/tmp/nxtvepg-2.9.0pre3-dbg4-win.zip

      -tom

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks