[mythtv-commits] Ticket #8128: Mythbrowser: cannot use next/prev link w remote control
MythTV
mythtv at cvs.mythtv.org
Fri Mar 5 11:19:11 UTC 2010
#8128: Mythbrowser: cannot use next/prev link w remote control
-------------------------------------------------+--------------------------
Reporter: Alec Leamas <leamas.alec@…> | Owner: paulh
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythBrowser | Version: 0.22
Severity: medium | Mlocked: 0
-------------------------------------------------+--------------------------
Comment(by Alec Leamas <leamas.alec@…>):
Tried to do some debugging on this. Added logging statements to
eventFilter and customEvent in .../libmythui/mythmainwindow.cpp. The
patched functions are attached. Running w these, I got the attached log
using '-v most'. One conclusion is that the eventFilter function is not
called when the keyboard is used (probably obvious for those knowing the
code?).
Besides this, this excerpt from the log looks more than weird:
{{{
2010-03-05 11:53:52.005 MythMainWindow, got lirc key, text Z:
2010-03-05 11:53:52.006 Sending QKeyEvent Z
2010-03-05 11:53:52.006 Filtering QKeyEvent Z
2010-03-05 11:53:52.006 currentWidget == 0
2010-03-05 11:53:52.022 Sending QKeyEvent to main stack
2010-03-05 11:53:52.022 MythMainWindow, got lirc key, text Z:
2010-03-05 11:53:52.023 Sending QKeyEvent Z
}}}
Note how the QKeyEvent all of a sudden doesn't have a printable text
argument, it just seems to have disappeared. And this repeated line "got
lirc key" is also strange (I only tapped once on the remote, and the
timing also says this is the same event.)
Frankly, I cannot understand this at all. Anyone else?
--alec
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8128#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list