2024-04-19 19:37 BST

View Revisions: Issue #2189

Summary 0002189: Redraw issues at ends of lines in text boxes
Revision 2014-09-02 01:12 by Harriet Bazley
Description When editing text in a text box on a Web form, Netsurf can fail to redraw the ends of lines correctly if the edit causes text to rewrap. The 'ghost' of the word that was previously at the start of the new line can be left visible in place of the replacement text.

Unfortunately this doesn't seem to be universally applicable (I've failed to get the issue to show up on the text entry boxes on this page, for example, even after switching to a proportional font), which makes it harder to demonstrate. This redraw problem often happens to me when using the GMail web interface, for example, and when using the 'private messaging' system on Fanfiction.net.
Revision 2014-09-02 11:08 by Vincent Sanders
Description When editing text in a text box on a Web form, Netsurf can fail to redraw the ends of lines correctly if the edit causes text to rewrap. The 'ghost' of the word that was previously at the start of the new line can be left visible in place of the replacement text.

Unfortunately this doesn't seem to be universally applicable (I've failed to get the issue to show up on the text entry boxes on this page, for example, even after switching to a proportional font), which makes it harder to demonstrate. This redraw problem often happens to me when using the GMail web interface, for example, and when using the 'private messaging' system on Fanfiction.net.
Revision 2014-09-02 01:12 by Harriet Bazley
Steps To Reproduce Open the GMail 'Compose Mail' window using the Basic HTML interface. Paste in the text "Yes, there is in fact a plot for this one under all the angst-- not much of a plot idea, but Chapter 1 was never more than just an isolated vignette!" (Image 1)


Place the cursor at the start of the second line, before the word "just", and delete the space between this word and the preceding word, thus creating a new word "justnever" and forcing Netsurf to rewrap it onto the line below. The 'ghost' of the old word "never" is still visible at the end of the first line, and the words "just a" are visible in their old position at the start of the second line as well as in their new position further along the line. (Image2)

Forcing a redraw by dragging another window over the left-hand side of the text box reveals the true state of affairs on the second line, though the first line has not yet been redrawn here (Image3).

Second example: usaing the same initial text, place the cursor at the end of the first line after the word "never", and insert the words "more than". There is only room for the letter "m", so after this is typed all the next text has to rewrap onto the line below. However, the first two letters on the new line never get redrawn, and the "m" is still visible in its initial position at the end of the first line (Image4)
Revision 2014-09-02 11:08 by Vincent Sanders
Steps To Reproduce Open the GMail 'Compose Mail' window using the Basic HTML interface. Paste in the text "Yes, there is in fact a plot for this one under all the angst-- not much of a plot idea, but Chapter 1 was never more than just an isolated vignette!" (Image 1)


Place the cursor at the start of the second line, before the word "just", and delete the space between this word and the preceding word, thus creating a new word "justnever" and forcing Netsurf to rewrap it onto the line below. The 'ghost' of the old word "never" is still visible at the end of the first line, and the words "just a" are visible in their old position at the start of the second line as well as in their new position further along the line. (Image2)

Forcing a redraw by dragging another window over the left-hand side of the text box reveals the true state of affairs on the second line, though the first line has not yet been redrawn here (Image3).

Second example: usaing the same initial text, place the cursor at the end of the first line after the word "never", and insert the words "more than". There is only room for the letter "m", so after this is typed all the next text has to rewrap onto the line below. However, the first two letters on the new line never get redrawn, and the "m" is still visible in its initial position at the end of the first line (Image4)