menu buttons not always displayed when they should be

Claude Heiland-Allen <[email protected]> Mon, 13 Mar 2006 00:38:46 +0000
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------050604030102000304080903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I've spent several hours lately trying to work out why my dvd.iso file 
was not playing correctly in ogle, thinking it was a bug in my dvd.xml 
that I was feeding to dvdauthor.  Now having installed totem, I believe 
it to be a bug in ogle.


In ogle-0.9.2-r1 from Gentoo Portage:

When playing titleset 1 title 2, upon returning to the menu at the end 
of the video the buttons are completely invisible in ogle, although they 
work when you click in the appropriate empty space.  Pressing 'r' makes 
the buttons appear.  Titleset 1 titles 1 and 3 do not exhibit this 
issue, ie, when returning to the menu at the end of the video everything 
appears as it should be.


In totem-1.2.1 from Gentoo Portage:

Menus work without any problem.


Attached is my dvd.xml, in case that sheds any light on the matter, if 
you need me to debug I'll be happy to help, if you provide instructions.


Claude

--------------050604030102000304080903
Content-Type: text/xml;
 name="dvd.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dvd.xml"

<!--
g0 = play mode
   0 = menu
   1 = play one title
   2 = play all titles of one titleset
   3 = play all titles of all titlesets
-->
<dvdauthor dest="dvd">
  <vmgm>
    <menus>
      <video />
      <audio />
      <pgc entry="title" pause="inf">
        <vob file="0_0_ClaudiusMaximus.mpg" />
        <pre>{ g0 = 0; button = 4 * 1024; }</pre>
        <button name="softrockep">{ g0 = 0; jump titleset 1 menu entry root; }</button>
        <button name="scanned"   >{ g0 = 0; jump titleset 1 menu entry root; }</button>
        <button name="1010"      >{ g0 = 0; jump titleset 1 menu entry root; }</button>
        <button name="playall"   >{ g0 = 3; jump titleset 1 menu entry root; }</button>
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <menus>
      <video />
      <audio />
      <pgc entry="root" pause="inf">
        <vob file="1_0_SoftRockEP.mpg" />
        <pre>{ if(g0 > 2) { jump title 1; } else { g0 = 0; button = 5 * 1024; } }</pre>
        <button name="mainmenu" >{ g0 = 0; jump vmgm menu entry title; }</button>
        <button name="magma"    >{ g0 = 1; jump title 1; }</button>
        <button name="lavaflow" >{ g0 = 1; jump title 2; }</button>
        <button name="quicksand">{ g0 = 1; jump title 3; }</button>
        <button name="playall"  >{ g0 = 2; jump title 1; }</button>
      </pgc>
    </menus>
    <titles>
      <pgc>
        <vob file="1_1_Magma.mpg" />
        <post>{ if(g0 > 1) { jump title 2; } else { call menu entry root; } }</post>
      </pgc>
      <pgc>
        <vob file="1_2_LavaFlow.mpg" />
        <post>{ if(g0 > 1) { jump title 3; } else { call menu entry root; } }</post>
      </pgc>
      <pgc>
        <vob file="1_3_Quicksand.mpg" />
        <post>{ if(g0 > 2) { call vmgm menu entry title; } else { call menu entry root; } }</post>
      </pgc>
    </titles>
  </titleset>
</dvdauthor>

--------------050604030102000304080903--