[mythtv-commits] Ticket #12738: Mythfrontend Service API SendAction not working

MythTV noreply at mythtv.org
Thu Apr 13 14:57:14 UTC 2017


#12738: Mythfrontend Service API SendAction not working
----------------------------------------------+--------------------------
 Reporter:  paul@…                            |          Owner:  bmeek
     Type:  Bug Report - General              |         Status:  assigned
 Priority:  minor                             |      Milestone:  unknown
Component:  MythTV - Services API - Frontend  |        Version:  0.28.0
 Severity:  medium                            |     Resolution:
 Keywords:                                    |  Ticket locked:  0
----------------------------------------------+--------------------------

Comment (by rsiddons):

 Doh! I'd missed that !SendAction is explicitly setting the key code to 0.

 So the issue is !SendAction was sending an "Unknown Key" but Stuart found
 real unknown keys, which could also be code 0 according to Qt, i.e. you
 might be breaking Stuart's patch.

 The negative thing makes me uneasy. Qt defines key codes as bit patterns.
 We shouldn't be assuming how they are interpreted as some platforms may
 differ. However I don't think that's too relevant here.

 I think keycodes of 0 should always be examined but unrecognised
 nativeScanCodes should be allowed through. It seems wrong but
 !TranslateKeyPress depends on it.

 According to the comment MythFEXML (whatever that is) may also be broken
 by this.

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


More information about the mythtv-commits mailing list