This sounds just like another dreaded thread
Just sayin'...Try compiling the viewer against your distro's version of LibPNG as LibPNG 1.2 and 1.5 is NOT 100% compatible.
That, a few more small tweaks and using the non-blocking file picker solves all similar (file-picker-related) issues on my by-developing-standards-super-old system (it's Debian).
And yes Henri, it is likely a problem with more than one distro now, and if it's a working workaround what's bad with trying it?
(Not all of us can pull down single updated libraries without running into dependency issues that can not be solved until next distro update. Updates have a tendency to escalate somehow...)