Bug: when the file name is not given an extension, Skanlite fails to save the scanned image to the file and gives the error message "Failed to save image: No such file or directory". How to reproduce the bug: - click on the button "Scan"; - when the preview window appears, click on the button "Save"; - choose a directory and file name to where to save the scanned image but not adding an extension to the file name; - click on the button "Save"; - appears the error message "Failed to save image: No such file or directory" and the scanned image is not saved to the file. Workaround: when choosing the file name, add an extension to the file name. Versions: - Skanlite 2.0.0; - KDE Frameworks 5.26.0; - Qt 5.6.1.
Thanks for the report! I can reproduce when I have unchecked the "Automatically select file-name extension" checkbox. What desktop are you using? Plasma or something else? If you are using something else is there the checkbox available at all in the save dialog?
> I can reproduce when I have unchecked the "Automatically select file-name > extension" checkbox. > > What desktop are you using? Plasma or something else? If you are using > something else is there the checkbox available at all in the save dialog? I can reproduce the bug using Ubuntu Unity Desktop. I cannot find an "Automatically select file-name extension" checkbox.
Git commit 76574ffbbc82825fa4965bd57dc7a2270d6fc7be by Kåre Särs. Committed on 17/01/2017 at 19:19. Pushed by sars into branch 'master'. Default to PNG format if no format is provided. FIXED-IN: 2.0.2 M +14 -2 src/skanlite.cpp https://commits.kde.org/skanlite/76574ffbbc82825fa4965bd57dc7a2270d6fc7be