FunKey-OS
FunKey-OS copied to clipboard
[SDL] Image viewing is broken since commit 9a181f4
Since the commit https://github.com/FunKey-Project/SDL-1.2/commit/9a181f478b9975bc4b4f858a411ff6d313736f62 for SDL 1.2, image viewing in Commander is broken for file formats like .png and .jpg.
Error message in the logs is:
loadImageToFit: ioctl(FBIOPAN_DISPLAY) failed
Steps to reproduce:
- Take any screenshot with Fn+up d-pad for instance
- Try to open it with Commander
- Notice that it fails and shows the raw content of the image file (see attached screenshot)
I fixed it a very dirty but working way by forcing the old SDL lib when executing Commander: https://github.com/DrUm78/commander/commit/5899bee4efc13e2c10cc38f4be69df358a4cefc3 So until a proper fix is pushed, I'll keep this workaround.
I reopened it as my fix is only a workaround.