[mythtv-users] Re: When mythfrontend loses focus, some dialogs work, others don't

mythgnomer at rowelab.com mythgnomer at rowelab.com
Sun Feb 22 11:02:36 EST 2004


Yah, that does make it difficult.. Here's an idea.. Not sure if it'll work
100%, but it's worth a shot. Instead of using MythTV's built-in lirc
support, try using irxevent, with config = Key X mythtv .. That _should_
pump the events to the mythtv window. Now, I'm not sure if the windowID is
always 'mythtv' or if it changes with the different modules. From the
lirc.org docs.. 

config = Key [shift-][ctrl-][alt-]<key> <windowname> | WindowID id |
CurrentWindow | RootWindow
config = Button <button> <x> <y> <windowname> | CurrentWindow
config = xy_Key <x> <y> [shift-][ctrl-][alt-]<key> <windowname> | WindowID
id | CurrentWindow | RootWindow

Hope this helps,
-Scott Rowe

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Mark Haun
Sent: Sunday, February 22, 2004 9:07 AM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] Re: When mythfrontend loses focus, some dialogs
work, others don't

Scott Rowe asked:
> Mark, just out of idle curiosity, what kind of focus behavior do you 
> have set?

I use icewm (non-gnome) with ClickToFocus=0 and RaiseOnFocus=0.  Focus
follows the mouse, but windows do not lose focus until the mouse enters
another window.

Since this is my principal workstation, suggestions like "don't run anything
but myth on that box" won't work for me :|

Mark


-----Original Message-----
From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at
mythtv.org] On Behalf Of Mark Haun
Sent: Saturday, February 21, 2004 10:56 PM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] When mythfrontend loses focus, some dialogs
work,others don't

I recently set up MythTV 0.14 using the Debian unstable packages, with the
front and back ends running on the same machine (a fast Athlon).  I have
almost everything working and am very happy with it---my thanks to the
developers for their hard work!  Now I'm just ironing out some minor
annoyances...

I have a dual display (monitor/TV) setup, with mythfrontend on :0.1.  lirc
is configured and working fine, using mythtv's built-in lirc support (and
irw gives the expected results).  If I run "mythfrontend &" manually in an
xterm, all is well as long as that window retains focus.  Once it loses
focus, I can still use the IR remote to navigate most of the menus, watch
recordings, live TV, skip around, etc. BUT certain dialogs become
inoperable:

1)  I can enter "Schedule Recordings" -> "Program Guide" whereupon the
program grid appears and I can use the arrows (on the IR remote) to move the
highlight box exactly *once* (in any direction).  Then I cannot move the box
any more, but I can exit back to the previous menu and regain control.

2)  I can enter "Delete Recordings" and navigate freely through the program
lists, but once I select a program to delete and the confirmation dialog
pops up, I cannot select any of its options; again, I can still exit back to
the previous menu level.

3)  None of the setup menus (the ones with back/next/cancel at the bottom)
are functional.


I'd like to resolve this so I can start mythfrontend from my .xsession. 
Right now, I'm trying that, and it behaves just like when I start it from an
xterm and subsequently move focus to another window.  i.e. I can do most
things except browse the program guide, delete recordings, or change
settings.  With verbose logging, mythfrontend isn't complaining about
anything, as far as I can tell.

Any ideas?

Thanks,

Mark





More information about the mythtv-users mailing list