[mythtv-commits] Ticket #11990: Mythtv-setup ignores keyboard input

MythTV noreply at mythtv.org
Fri Apr 4 09:58:46 UTC 2014


#11990: Mythtv-setup ignores keyboard input
--------------------------------------------+----------------------------
 Reporter:  Craig Treleaven <ctreleaven@…>  |          Owner:  jyavenard
     Type:  Bug Report - General            |         Status:  closed
 Priority:  minor                           |      Milestone:  unknown
Component:  Ports - OSX                     |        Version:  0.27-fixes
 Severity:  medium                          |     Resolution:  fixed
 Keywords:                                  |  Ticket locked:  0
--------------------------------------------+----------------------------

Comment (by Jean-Yves Avenard <jyavenard@…>):

 In [changeset:"39686c6c6800053fe25764d2f27cfdfc2dd21fab/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="39686c6c6800053fe25764d2f27cfdfc2dd21fab"
 Fix old Qt setting screens preventing them from accepting keyboard inputs

 Hopefully this is the final fix…
 The issue seems to only have occurred on macs. When opening two
 MythDialogs (that includes MythPopup) in a row, often the 2nd one would
 not accept any used input anymore, only causing a “beep”; making it
 impossible to even exit that window.

 The existing logic (and there was nothing wrong with it) was to simply
 disable the current MythDialog and put the new one on top of it. However,
 when doing so, somehow key events are now ignored.
 So instead, we now disable all widgets within that MythDialog, without
 disabling the dialog itself.

 When doing so, the newly created MythDialog is always working as expected.
 This code should not be necessary, it is a workaround to what appears to
 be a Qt bug.

 Fixes #11990.

 (cherry picked from commit 9edb6d6c4aa0ed930be222ddd32cfc008d709d9f)
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11990#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list