[mythtv] MythVideo focus problem (with patch)

John Kirkland jpk at bl.org
Mon Mar 3 22:47:44 EST 2003


Hi, All,

I've been experiencing a focus problem with MythVideo when I exit mplayer.

System stats:

RedHat 8
kde
newest cvs of mytheverything

Steps to Reproduce:

1. start up terminal in kde
2. start up irxevent in terminal
3. start up mythbackend in terminal
4. start up mythfrontend in terminal
5. navigate with mythfrontend to MythVideo
6. select a video to play within MythVideo
7. exit the Video

The focus is on the terminal now instead of the MythVideo selection
window.

The following simple patch has solved the issue for me:

diff -c -r1.8 databasebox.cpp
*** databasebox.cpp     27 Feb 2003 03:42:46 -0000      1.8
--- databasebox.cpp     4 Mar 2003 04:39:39 -0000
***************
*** 142,147 ****
--- 142,150 ----
   //    cout << "command:" << command << endl;

          system((QString("%1 ") .arg(command)).ascii() );
+
+       raise();
+       setActiveWindow();
      }
      else if (mdata != NULL && mdata->Genre() == "dir")
      {

Regards,
John Kirkland



More information about the mythtv-dev mailing list