On Tue, 2 May 2006, Harriet Bazley wrote:
On the subject of keypress handling (although otherwise irrelevant)
I add that I get somewhat disconcerted by the fact that Netsurf appears
to implement *some* of its key handling independently of the Wimp, with
the result that in some but not all cases, 'extension' modules like
IcnClipBrd don't seem to work?
All text fields in the content area of NetSurf windows have nothing
whatsoever to do with the Wimp; they are implemented entirely within
NetSurf itself. Therefore, the likes of IcnClipBrd are unlikely to work
with them (as they're not Wimp icons).
In particular, the problems I remember encountering on a regular
are Netsurf (or possibly RISC OS 5)'s default "PC delete", which means
that attempting to delete the character to the right of the cursor (a
very frequent keypress on my part) duplicates the action of Ctrl-Down
arrow (a very infrequent keypress),
Yes, because that is exactly the behaviour the Style Guide mandates when
dealing with PC keyboards. On RISC OS 5, NetSurf behaves as follows:
Backspace: Delete left
Delete : Delete right
End : Go to end of text entry field
On RISC OS <5, NetSurf behaves as follows:
Backspace: Delete left
Delete : Delete left
End : Delete right
These are the correct behaviours for the versions of RISC OS in question.
If you wish to use old-style input, then I advise installing a module such
as PCKeys, which will remap the relevant keys to the old way of doing
things. It is not down to NetSurf to cater for this.
irrespective of the fact that I normally have this remapped, and the
extension "Ctrl-K" action, which deletes all text from the cursor to the
start of the icon... except in certain Netsurf writable icons.
Where is this documented? It's not in my copy of the Style Guide (nor
PRM3). NetSurf already implements this functionality (though with a
different key binding):
Ctrl-Delete will delete from the start of a line to the current caret
Ctrl-End will delete from the current caret position to the end of a line.
This is the same on all OS versions.
Also, when pasting things - generally URLS -- into text areas,
noticed that Netsurf frequently inserts the contents of the clipboard on
the line *above* the cursor position on a Ctrl-V keypress;
I believe this is a known issue - similar things happen when dragging
content to a text field.