SUMMARY In the collection, the preview of the puzzle image are not shown anymore. Re-importing or re-creating the puzzle shows the image, but after restarting the application the preview is gone again. Starting in a terminal, the following message are shown, indicating it has to do with a recent update of libpng: libpng error: IDAT: invalid distances set libpng error: bad adaptive filter value libpng warning: zTXt: CRC error libpng error: bad adaptive filter value libpng error: IDAT: invalid code lengths set libpng error: IDAT: invalid literal/lengths set libpng warning: iCCP: CRC error libpng warning: iCCP: invalid distance too far back libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng warning: iCCP: CRC error libpng warning: iCCP: incorrect data check libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng error: IDAT: invalid distance too far back libpng warning: iCCP: CRC error libpng warning: iCCP: invalid distance too far back libpng error: IDAT: invalid literal/lengths set libpng warning: zTXt: CRC error libpng error: bad adaptive filter value libpng error: IDAT: invalid code -- missing end-of-block libpng warning: iCCP: CRC error libpng warning: iCCP: incorrect data check libpng error: bad adaptive filter value libpng warning: iCCP: CRC error qt.gui.icc: Invalid curv table qt.gui.icc: fromIccProfile: Invalid rTRC QPngHandler: Failed to parse ICC profile libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng error: IHDR: CRC error STEPS TO REPRODUCE 1. open Palapeli 2. go to collection, previews are missing the image 3. OBSERVED RESULT Puzzles are available, no preview image EXPECTED RESULT Preview of puzzle is shown SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Opensuse Tumbleweed (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Should be fixed in the next release with https://invent.kde.org/games/palapeli/commit/e73bce0854c12dbb25a494670845da7c6363a7df
Works fine in version 2.1.20123
I'm using version 2.1.21043 on Fedora 33. Palapeli does not show any images either. Tried to reinstall but no change.
I've updated my openSUSE Tumbleweed to Palapeli 2.1.21043. The preview images still work. In my troubleshooting last time I've recreated the puzzles. Not sure if that could explain the different behavior?
To be more precise, a new puzzle did show its icon next to the other invisible ones. After two restarts these were gone too. The same type of errors as shown in the first report of this bug issue.
I'm not sure this helps, the png libs on fedora 33; libpng-devel-1.6.37-6.fc33.x86_64 libpng-1.6.37-6.fc33.i686 libpng12-1.2.57-12.fc33.x86_64 libpng-1.6.37-6.fc33.x86_64 I've removed libpng12* and have tried to downgrade png libs but it did not give better results
Done the following; - Start out in a new account with a fresh palapeli; everything looks fine - Add some puzzles kf.notifications: Failed to play sound with canberra: Not available kf.notifications: Failed to play sound with canberra: Not available kf.itemviews: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! kf.itemviews: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! kf.itemviews: User of KWidgetItemDelegate should not delete widgets created ... Images are visible - stop and start again libpng warning: known incorrect sRGB profile libpng warning: profile matches sRGB but writing iCCP instead Images are still visible - again, stop and start libpng error: IDAT: invalid code -- missing end-of-block libpng warning: iCCP: CRC error libpng warning: iCCP: incorrect data check libpng error: bad adaptive filter value libpng error: IHDR: CRC error libpng warning: iCCP: CRC error libpng warning: iCCP: invalid distance too far back libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng error: bad adaptive filter value libpng warning: iCCP: CRC error ...
Btw, all images were jpeg images. So, I've also tried to convert one image to png before making a puzzle. The same sad end takes place after two restarts. No preview images visible!
Can you attach the $HOME/.config/palapeli-collectionrc that reproduces this broken behaviour?
Created attachment 140629 [details] base64 encoded palapeli-collectionrc I tried to attach the palapeli-collectionrc but it failed with an error, so, I try it this way. It is a base64 encoded version of the rc file. This rc is generated in a fresh account, started palapeli and added one image. After that, I restarted the program two times after which the images are gone. Hopefully, you find something in there.
Marcel, the palapeli in Fedora 33 is too old. You need >= 2.1.20123
Thank you very much for your work. I was using the discover program on fedora and had the misconception that from the two versions viewed, that both were installed. Instead, only the fedora version was. After some fiddling, I was able to install the flatpak version too which kept viewing the preview images after several restarts. Now, something different. The new version seems to have a different location of the config, can I have the previous puzzles set up back, or is that config too different to do that. Also, I am missing the irregular puzzle cutter which I also loved to use. (pointers to other issues perhaps, or plugins) Anyways, so far so good.