MantisBT - NetSurf
View Issue Details
0002079NetSurf[All Projects] Generalpublic2014-02-15 21:062015-03-10 11:00
ReporterHarriet Bazley 
Assigned ToMichael Drake 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformARMOSRISC OSOS Version5.19
Product Version3.1 
Target VersionFixed in Version3.0 
Fixed in CI build #1733
Reported in CI build #1727
URL of problem page
Summary0002079: Text area redraw
DescriptionWhen using Ctrl-X to delete a selected area of text in a text box, NetSurf can fail to redraw the following lines correctly as the text reflows.
Steps To ReproduceType the following text into the text box: "one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty"
Select the words "three four" and delete. Observe the effect on the text at the beginning of the second line. (In my case, the word 'fifteen' now appears both at the end of one line and the beginning of the next.)
Forcing a redraw by dragging a window or menu over the text area reveals the true content.
Additional InformationSee also the uploaded screenshots.
TagsNo tags attached.
Attached Fileszip new.zip (15,802) 2014-02-15 21:06
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=81&type=bug

Notes
(0000244)
John-Mark Bell   
2014-02-16 14:11   
This is not specific to RISC OS; it can be reproduced on GTK, too.
(0000246)
Michael Drake   
2014-02-17 12:23   
textarea_selection clear was optimised to redraw only the lines that got deselected. Code that deleted/replaced selections was relying on it to do a full redraw. Fixed to redraw correct area.
(0000685)
Vincent Sanders   
2015-03-10 11:00   
Confirmed fixed in 3.0 release

Issue History
2014-02-15 21:06Harriet BazleyNew Issue
2014-02-15 21:06Harriet BazleyFile Added: new.zip
2014-02-15 23:43Vincent SandersAssigned To => Steve Fryatt
2014-02-15 23:43Vincent SandersStatusnew => acknowledged
2014-02-15 23:43Vincent SandersProduct Version3.0 => 3.1
2014-02-15 23:43Vincent SandersSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1148#r1148
2014-02-15 23:43Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=1150#r1150
2014-02-16 14:11John-Mark BellNote Added: 0000244
2014-02-16 14:11John-Mark BellAssigned ToSteve Fryatt => Michael Drake
2014-02-16 14:11John-Mark BellCategoryRISC OS-specific => General
2014-02-16 14:11John-Mark BellSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1151#r1151
2014-02-16 14:11John-Mark BellAdditional Information Updatedbug_revision_view_page.php?rev_id=1152#r1152
2014-02-17 00:40John-Mark BellStatusacknowledged => confirmed
2014-02-17 00:40John-Mark BellSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1153#r1153
2014-02-17 00:40John-Mark BellAdditional Information Updatedbug_revision_view_page.php?rev_id=1154#r1154
2014-02-17 12:23Michael DrakeFixed in CI build # => 1733
2014-02-17 12:23Michael DrakeNote Added: 0000246
2014-02-17 12:23Michael DrakeStatusconfirmed => resolved
2014-02-17 12:23Michael DrakeResolutionopen => fixed
2014-02-17 12:23Michael DrakeFixed in Version => 3.0
2015-03-10 11:00Vincent SandersNote Added: 0000685
2015-03-10 11:00Vincent SandersStatusresolved => closed