SUMMARY STEPS TO REPRODUCE 1. Scan 2. "Tout enregistrer" 3. Choisir "png" (ou tout autre format) : seul un PDF est généré OBSERVED RESULT Un PDF est généré EXPECTED RESULT Un PNG ou tout autre format demandé SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Linux Mint 22.1 KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Hi, please remember to write your bug report in english :) If someone can test this, I do not have access to a scanner right now. Here's a translated version: STEPS TO REPRODUCE 1. Scan 2. "Save All" 3. Chose "png" (or any other format) : only a PDF is generated OBSERVED RESULT A PDF is generated EXPECTED RESULT A PNG or other asked format is generated SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux Mint 22.1
I tried to reproduce this but I failed. The version of skanpage used by Linux Mint 22.1 looks like to be "23.08.5-ubuntu4". I first tried to install linux mint on a virtual machine but failed to make it detect my network scanner. I then built the tag 23.08 with kde-builder and (after commenting out some QML code throwing an error about missing dependencies) tried to reproduce the error. Unlike the current version, here the "Save All" button effectively opens the FileDialog. Selecting different formats saves in the expected format. I tried playing with the file extension and the format but it always saved in the expected format. The only way I found to obtain a PDF even if selecting the PNG format is this: 1. remove check to "Automatically select filename extension" 2. select file type PNG 3. type a file name without extension In this case the program saves a PDF with a filename without extension. This happens because the code uses only the filename suffix to determine the format and falls back to PDF when the suffix is missing. I do not see why a user should behave this way, I doubt this is related to this bug. At this point I finished my ideas, anyone using an old linux mint? :)