MantisBT - NetSurf
View Issue Details
0002562NetSurfRISC OS-specificpublic2017-10-03 19:532018-08-29 14:59
ReporterDave Higton 
Assigned ToMichael Drake 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformBBxMOSRISC OSOS Version5.23 (08-Sep-17)
Product Version3.7 
Target Version3.8Fixed in Version3.8 
Fixed in CI build #4368
Reported in CI build #
URL of problem page
Summary0002562: Hotlist and global history redraw issues
DescriptionIn some circumstances the hotlist and global history windows are not redrawn correctly. The bottom item disappears when a higher item is expanded. When two items are contracted, the last item is not erased.
Steps To ReproduceOpen a hotlist or global history window with blank space below the bottom item.

1) Expand an item other than the bottom one, and observe that the bottom item disappears. Contract the expanded item, and observe the bottom item reappear.

2) Expand two items, then contract them. Observe that the bottom item appears in its correct position, but also in its last position prior to the contraction.

In both cases, dragging another window over the area in question causes it to be correctly redrawn.
Additional InformationObserved in CI #4213 and a few versions before it. It probably crept in with the search feature.
TagsNo tags attached.
Attached Fileszip jpegs.zip (874,995) 2018-04-21 20:55
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=544&type=bug

Notes
(0001755)
Vincent Sanders   
2018-04-21 09:46   
we are unable to reproduce this on the current build in gtk can you please provide a confirmation it is still occurring and if it is screenshots of each stage
(0001769)
Dave Higton   
2018-04-21 20:55   
(Last edited: 2018-04-21 20:56)
Screen shots taken with CI #4326 on RISC OS:

screen1.jpg: Hotlist
screen2.jpg: Hotlist with one section expanded - note the bottom item has disappeared
screen3.jpg: Hotlist with two sections expanded
screen4.jpg: One section contracted - note the bottom line appears twice
screen5.jpg: as screen4 but after dragging another window over part of the last line, in order to force a redraw.

I kind of expect it to be RO-specific. It looks like an off-by-one error when calculating how many rows to render.

(0001784)
Michael Drake   
2018-07-26 15:16   
Please try with build 4368 or later.
(0001826)
Vincent Sanders   
2018-08-29 14:59   
Thank you for your report, this has been resolved in the 3.8 release

Issue History
2017-10-03 19:53Dave HigtonNew Issue
2018-04-21 09:46Vincent SandersStatusnew => feedback
2018-04-21 09:46Vincent SandersSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2005#r2005
2018-04-21 09:46Vincent SandersNote Added: 0001755
2018-04-21 20:55Dave HigtonFile Added: jpegs.zip
2018-04-21 20:55Dave HigtonNote Added: 0001769
2018-04-21 20:55Dave HigtonStatusfeedback => new
2018-04-21 20:56Dave HigtonNote Edited: 0001769bug_revision_view_page.php?bugnote_id=1769#r2025
2018-07-20 16:09Michael DrakeAssigned To => Michael Drake
2018-07-20 16:09Michael DrakeStatusnew => acknowledged
2018-07-26 15:16Michael DrakeStatusacknowledged => resolved
2018-07-26 15:16Michael DrakeResolutionopen => fixed
2018-07-26 15:16Michael DrakeFixed in Version => 3.8
2018-07-26 15:16Michael DrakeTarget Version => 3.8
2018-07-26 15:16Michael DrakeFixed in CI build # => 4368
2018-07-26 15:16Michael DrakeNote Added: 0001784
2018-08-29 14:59Vincent SandersStatusresolved => closed
2018-08-29 14:59Vincent SandersNote Added: 0001826