Uzbl

Tasklist

FS#164 - keycmd contains html, which is not parsed for window title

Attached to Project: Uzbl
Opened by Israel Levin (israellevin1) - 2009-12-23 02:39:52 PM
Last edited by Anonymous Submitter - 2009-12-26 01:02:25 PM
Task Type Bug Report
Category uzbl-browser & sample material
Status Closed
Assigned To No-one
Operating System Linux
Severity Medium
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The keycmd variable contains html, for the cursor (underline). When the status line is hidden it is displayed in the window title, and the HTML displays verbatim. Pretty horrible.

My quick fix was to change the underscore into a simple space, which works for me, but there must be a better solution.
This task depends upon

Closed by  Anonymous Submitter
2009-12-26 01:02:25 PM
Reason for closing:  Fixed
Additional comments about closing:  Check out the fix here: http://github.com/mason-larobina/uzbl/co mmit/3733d86d0d28e072697a17a43eff360dcda c8038
Comment by Israel Levin (israellevin1) - 2009-12-24 02:53:28 PM
If this helps anyone, my fix was to set the KEYCMD_FORMAT from "%s<span @cursor_style>%s</span>%s" to = "%s %s%s".

This happens at the beginning of keycmd.py, in the plugins directory (/usr/local/share/uzbl/data/uzbl/plugins - and what is up with this tedious file structure, BTW?), where line 12 changed from:

KEYCMD_FORMAT = "%s<span @cursor_style>%s</span>%s"

to:

KEYCMD_FORMAT = "%s %s%s"
Comment by Anonymous Submitter - 2009-12-26 01:01:59 PM
I've updated the keycmd plugin to dump raw_keycmd and raw_modcmd variables and I've updated the title format to use these new variables. This should solve your problems.

Check out the changes here: http://github.com/mason-larobina/uzbl/commit/3733d86d0d28e072697a17a43eff360dcdac8038

Loading...