[mythtv] [PATCH] Add keybindings to MythBrowser

Paul mythtv at dsl.pipex.com
Sun Mar 20 20:35:57 UTC 2005


Not sure how many people use MythBrowser. It doesn't seem to
get many mentions on the lists but here goes anyway.

This patch makes MythBrowser a little more remote control
friendly by allowing you to change the keybindings. Adds a few
keys to change zoom, switch tabs etc. See the modified readme
for a full list of key bindings. You can always change them with
MythWeb.

Adds mouse emulation using the number keys (default key bindings)
to move the mouse pointer and emulate a left mouse button click.
Doesn't work as smoothly as I would have liked, helps if you have a low
repeat count set for the number keys in your lircrc config file.

Changed the background color of the web page widget to white
which fixed a problem where some web pages don't set the background color
of the page which caused MythBrowser to sometimes use the default
widget background color which in GANT at least is a near black color with
black text. Try viewing some of the MythTV documentation with the current
MythBrowser to see what I mean. I think it may depend on what QT style
you use though.

Added a dialog to enter a URL from the browser (press 'I' key) so you don't
have to navigate to the BookmarkManager just to add a web page URL to view.

Two problems I noticed with MythBrowser while testing:

It ignores completely requests to open a popup window. Some sort of warning
would be nice. Even better would be to open a new tab with the page in it.

It doesn't seem to obey opening of URL's with an anchor in them. It always
opens the
page at the top regardless of any anchor in the URL. Try viewing the Myth
docs pages
and clicking a link in the table of contents. Anybody know anything about
the KDE
html stuff to shed any light on how to fix these problems?


Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythbrowser.diff.zip
Type: application/octet-stream
Size: 7866 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050320/93027350/mythbrowser.diff.obj


More information about the mythtv-dev mailing list