MantisBT - NetSurf
View Issue Details
0002534NetSurfRISC OS-specificpublic2017-05-06 09:462018-08-29 15:03
ReporterSprow 
Assigned ToVincent Sanders 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.6 
Target Version3.8Fixed in Version3.8 
Fixed in CI build #4295
Reported in CI build #
URL of problem page
Summary0002534: ChkSprites utility doesn't verify the OS can actually plot alpha sprites
DescriptionChkSprites uses OS_SpriteOp 17 (verify area) to decide whether to use the alpha sprites versus plain masked sprites. However, with an updated SpriteExtend loaded on an older OS, the verify passes because the area is indeed valid, it's just the OS has no idea how to plot them.

This results in a corrupt quarter width sprite in the Filer/icon bar.
Additional InformationThe attached ChkSprites is improved in 2 ways
a) it doesn't waste time loading the ASprites file off disc, it just creates a 1x1 sprite in memory
b) it asks the kernel whether it can plot alpha sprites, and qualifies that with the previous area check

Tested on RISC OS Select 6.16, also 4.02 with softloaded SpriteExtend, and RISC OS 5.23.
TagsNo tags attached.
Attached Fileszip chkspr.zip (1,230) 2017-05-06 09:46
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=492&type=bug

Notes
(0001690)
Sprow   
2017-12-05 18:44   
Bump.

The history says "Fixed in Version 3.7", but it's not there in the 3.7 download, presumably it just needs putting in Git?
(0001710)
Michael Drake   
2018-01-20 18:55   
Thanks, should be fixed in build #4295.
(0001836)
Vincent Sanders   
2018-08-29 15:03   
Thank you for your report, this has been resolved in the 3.8 release

Issue History
2017-05-06 09:46SprowNew Issue
2017-05-06 09:46SprowFile Added: chkspr.zip
2017-06-09 20:48Vincent SandersAssigned To => Vincent Sanders
2017-06-09 20:48Vincent SandersStatusnew => confirmed
2017-06-09 20:48Vincent SandersFixed in Version => 3.7
2017-12-05 18:44SprowNote Added: 0001690
2018-01-20 18:55Michael DrakeFixed in Version3.7 => 3.8
2018-01-20 18:55Michael DrakeTarget Version => 3.8
2018-01-20 18:55Michael DrakeFixed in CI build # => 4295
2018-01-20 18:55Michael DrakeNote Added: 0001710
2018-01-20 18:55Michael DrakeStatusconfirmed => resolved
2018-01-20 18:55Michael DrakeResolutionopen => fixed
2018-08-29 15:03Vincent SandersStatusresolved => closed
2018-08-29 15:03Vincent SandersNote Added: 0001836