Opened 12 years ago

Closed 11 years ago

#10587 closed Bug Report - General (fixed)

MythTV-Setup stops listening to some keyboard input

Reported by: Brian Boonstra <mythtv@…> Owned by: JYA
Priority: minor Milestone: 0.25.1
Component: Ports - OSX Version: 0.25
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythTV-Setup.app will behave normally with keyboard input for about a minute. Then it will stop listening to the Enter key, arrow keys and Escape key at the top level menus. This can be worked around, mostly, by task-switching to find the mouse cursor and clicking buttons using the mouse. However the app must be killed by hand to quit it.

Logging with -v shows the following output:

AppleRemote::startListening() failed

This is on a machine that lacks an Apple Remote. It is running OSX 10.7 Lion, using the backend binaries downloaded from SourceForge? on April 10 2012.

Change History (6)

comment:1 Changed 12 years ago by JYA

Note that this issue only occurs when you use Qt 4.7 and later, and compile using llvm/clang

It doesn't occur when compiling with gcc (Xcode 3.x)

Also, unlike the initial report, it has nothing to do with timing. It only occurs when you go into the settings menu. If you only ever go into playback, recording screens etc... the problem will not occur

comment:2 Changed 12 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: newclosed

In b2dcd7ba68ae0b3e5b59d8c55cf49603ca1aa7fd/mythtv:

Fix non-responsive keyboard on mac

QWidget::winId() forces a widget to be native. Why it causes some keyboard issues on mac I'm not sure. It's likely we don't need this call at all, including non-mac. Take the safe approach and only disable the call on mac

Fixes #10587

comment:3 Changed 12 years ago by Jean-Yves Avenard <jyavenard@…>

In eb7e73e6224ebc67aa36dc665b34a49c12ac3b66/mythtv:

Fix non-responsive keyboard on mac

QWidget::winId() forces a widget to be native. Why it causes some keyboard issues on mac I'm not sure. It's likely we don't need this call at all, including non-mac. Take the safe approach and only disable the call on mac

Fixes #10587

[cherry-picked from b2dcd7ba68ae0b3e5b59d8c55cf49603ca1aa7fd]

comment:4 Changed 12 years ago by Raymond Wagner

Milestone: unknown0.25.1

comment:5 Changed 11 years ago by JYA

Resolution: fixed
Status: closednew

This is still occurring for me from time to time... Highly annoying as you must exit the application for the keyboard to work again

comment:6 Changed 11 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: newclosed

In 995db9d284a40d695271302a0fa812d9353b9faa/mythtv:

Make sure MainWindow? has focus when we returned from a child QWidget

On a mac, if you simply delete the child QWidget, the focus isn't returned, making all keyboard presses simply doing "beep". Earlier fix done in b2dcd7ba68ae0b3e5b59d8c55cf49603ca1aa7fd didn't help under all circumstances.

Fixes #10587

Note: See TracTickets for help on using tickets.