MantisBT - NetSurf
View Issue Details
0002386NetSurf[All Projects] Generalpublic2015-11-09 08:582016-11-22 21:59
ReporterAnthony J. Bentley 
Assigned ToVincent Sanders 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.6 
Fixed in CI build #3664
Reported in CI build #
URL of problem page
Summary0002386: Pass BMP suite
DescriptionThere's a BMP testsuite, written by Jason Summers, available here:

It provides a number of testcases, intentionally constructed to exercise a BMP decoder. Nearly every colored image fails in exactly the same way—the rightmost and leftmost columns are swapped. This seems to indicate some sort of bug in palettes?

You can easily view all images in NetSurf here:
TagsNo tags attached.
Attached Files

Chris Young   
2015-11-13 00:38   
What OS and hardware are you using?

I had a quick look here and I can't see the problem you describe, so I suspect it's an endian issue in libnsbmp, or NetSurf frontend issue (which could also be endian-related).

I am however getting a severe layout problem, where the column containing the BMP images is excessively wide, and the table is excessively tall. This is likely caused by one of the BMP images having a misinterpreted size. I'd be interested to know if you're getting this too.
Vincent Sanders   
2016-08-15 00:00   
This was an error in the bmp completion callback which caused gtk image fixup not to happen hence a messed up palette. Actually a bug in netsurf itself rather than the bmp library
Vincent Sanders   
2016-11-22 21:59   
this issue has been closed because it is included in the 3.6 release

Issue History
2015-11-09 08:58Anthony J. BentleyNew Issue
2015-11-13 00:38Chris YoungNote Added: 0001086
2016-08-15 00:00Vincent SandersFixed in CI build # => 3664
2016-08-15 00:00Vincent SandersNote Added: 0001388
2016-08-15 00:00Vincent SandersAssigned To => Vincent Sanders
2016-08-15 00:00Vincent SandersStatusnew => assigned
2016-08-15 00:00Vincent SandersResolutionopen => fixed
2016-08-15 00:01Vincent SandersProjectLibNSBMP => NetSurf
2016-08-15 00:01Vincent SandersStatusassigned => resolved
2016-08-15 00:01Vincent SandersFixed in Version => 3.6
2016-11-22 21:59Vincent SandersNote Added: 0001430
2016-11-22 21:59Vincent SandersStatusresolved => closed