Opened 15 years ago
Closed 15 years ago
#8139 closed defect (fixed)
[PATCH] mythbrowser: fix for crash when doing "next link"
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | Plugin - MythBrowser | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When using mythbrowser from through the remote, the button bound to 'Z* causes myhtbrowser to stop working. See bug 8128 for more.
The problem can also be triggered from the keyboard using the the 'NEXT' key.
After some interesting work I have found that the crashes occurs iff the MythUIWebBrowser::keyPressEvent method returns false. The attached patch tries to fix this with as small changes as possible. I have not completely understood why the crashes occur, but to my understanding the patch does reasonable things, and the crashes seems to be gone.
The patch is generated n fedora. To apply:
cd mythtv-**/mythtv patch -p2 < wherever/patch1
(In [23731]) Re-work the keypress handling in MythUIWebBrowser.
This fixes the TOGGLEINPUT key-binding not working properly so you can now enter text properly on web pages. Also fixes the NEXTLINK, PREVIOUSLINK and FOLLOWLINK key-bindings not working when using a remote with myths lirc support. Fixes #7363, #8139.