Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 2 years ago

Closed 9 months ago

#10587 closed Bug Report - General (fixed)

MythTV-Setup stops listening to some keyboard input

Reported by: Brian Boonstra <mythtv@…> Owned by: jyavenard
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.

Attachments (0)

Change History (6)

comment:1 Changed 2 years ago by jyavenard

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 2 years ago by Jean-Yves Avenard <jyavenard@…>

  • Resolution set to fixed
  • Status changed from new to closed

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 2 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 2 years ago by wagnerrp

  • Milestone changed from unknown to 0.25.1

comment:5 Changed 9 months ago by jyavenard

  • Resolution fixed deleted
  • Status changed from closed to new

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 9 months ago by Jean-Yves Avenard <jyavenard@…>

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.