Mailing List Archive

mythtv window issues
I'm having trouble in general with windows being on top/having focus vs.
being invisible and not having focus...

More specifically, if I'm watching live tv, and I press 'm', the program
guide shows up behind the TV window. It's not visible, but it gets
keystrokes.

In the new recording interface, if I select 'Schedule a Recording' and
then hit escape to go back to the main window, the main window is
visible but it doesn't get keystrokes (I have to click on it, then it
gets them).

I guess there is some interaction with the window manager going on
here... or something... I'm not an X window api guru (yet)

Can anyone suggest a window manager that, when set to its defaults,
works well with mythtv? I'd like to see the expected behavior of mythtv.
Then maybe I could get it to Do The Right Thing on my desktop.

<rant>

BTW I run icewm, with some deviant customized settings. My most hated
thing in the world used to be when I was typing in one window, and some
other window popped up and started stealing the keystrokes. I do a lot
of work over vpn where it can take a while for a window to pop up, so
you go do something else instead of just wait for it. Then the window
pops up and steals keystrokes ("Aaah F@#$!".) So I tried some wm's, and
found that icewm had some options to prevent this from happening. These
options are like "FocusWindowOnFoobarEvent" and I set them all to
false. This had a profound positive effect on my Q of L.

</rant>

Some apps still pop up and grab keystrokes anyway, so it may be possible
to request this from the x server? Maybe mythtv windows could request to
be at the front and get keystrokes,

or I need a more normal wm,

or I need a life, or a pshrink, or something...

later,

john
Re: mythtv window issues [ In reply to ]
On Thursday 11 July 2002 07:44 pm, John Coiner wrote:
> I'm having trouble in general with windows being on top/having focus vs.
> being invisible and not having focus...
>
> More specifically, if I'm watching live tv, and I press 'm', the program
> guide shows up behind the TV window. It's not visible, but it gets
> keystrokes.
>
> In the new recording interface, if I select 'Schedule a Recording' and
> then hit escape to go back to the main window, the main window is
> visible but it doesn't get keystrokes (I have to click on it, then it
> gets them).

Both of these are weird -- I'm explicitly telling the program guide to bring
itself to the front of the stacking order. Else, I think I am, I'm still
kinda new to Qt. Could be why the other problem's happening too =)

> I guess there is some interaction with the window manager going on
> here... or something... I'm not an X window api guru (yet)
>
> Can anyone suggest a window manager that, when set to its defaults,
> works well with mythtv? I'd like to see the expected behavior of mythtv.
> Then maybe I could get it to Do The Right Thing on my desktop.

I'm using kwin, from KDE 3.0.2. I think the only thing that's non default is
I've got it set to sloppyfocus, instead of click-to-focus. I've been using
KDE for 'bout a year now, and I think it's pretty slick.

> <rant>
>
> BTW I run icewm, with some deviant customized settings. My most hated
> thing in the world used to be when I was typing in one window, and some
> other window popped up and started stealing the keystrokes. I do a lot
> of work over vpn where it can take a while for a window to pop up, so
> you go do something else instead of just wait for it. Then the window
> pops up and steals keystrokes ("Aaah F@#$!".) So I tried some wm's, and
> found that icewm had some options to prevent this from happening. These
> options are like "FocusWindowOnFoobarEvent" and I set them all to
> false. This had a profound positive effect on my Q of L.
>
> </rant>

Those settings might be why the dialogs aren't getting their keystrokes when
they're changed.. dunno, though.

> Some apps still pop up and grab keystrokes anyway, so it may be possible
> to request this from the x server? Maybe mythtv windows could request to
> be at the front and get keystrokes,

There's probably something way to tell Qt to behave properly in your WM too..

I just went and installed icewm, but it all worked as expected -- maybe I
could get a copy of your config, and I'll see if I can reproduce things?

On a side note, recordings were broken until a couple hours ago =) I had
changed it to use the same start + end time for the recording at some point
for testing, completely forgot 'bout it, and checked the change in.. Any
schedulings made while the code was broken won't happen, though..

Everything's working now, though -- just recorded a show, and it's all great
=)

Isaac