Version: unspecified (using KDE 4.5.0)
(Using ksnapshot 0.81 which is not listed)
I like pressing Print Screen key, choose “Grab window under mouse cursor”, click “Take screenshot” and open that file in kolourpaint for further editing and then save it and send it to a friend for example.
But if I use Open With Kolourpaint, kolourpaint is given a jpeg file which shows strong compression artefacts (not that strong, that is not the point of this bugreport, but you can see it‘s a jpeg file). Save that temp file kolourpaint is given as PNG (or let me choose).
Does this also happen with a clean configuration (remove .kde/share/config/ksnapshotrc)?
From looking at the source, it explicitly requests PNG format.
Now I deleted ksnapshotrc and now kolourpaint is given an empty PNG file „Screenshot1.png” (don‘t know the exact term, have german version).
Ok, it seems that if I just press PrintScreen and then directly use “open with kolourpaint” there‘s an empty file given to colourpaint (well kolourpaint states it is displaying file ~/Documents/Screenshot1.png) but this file does not exist and I am given with the same look as if I had opened a new istance of kolourpaint, so a white picture with the size of the last edited one.
If I now press “New screenshot” and then choose “Open with kolourpaint” it is indeed given a PNG file. Seems I have got another bug besides the JPEG-one.
It remembers the last used file name to increase the number on it (Screenshot1.png -> Screenshot2.png etc.)
You probably saved it once in JPEG format, as such all subsequent files are in JPEG format.
As for the initial snapshot file not being passed to applications correctly, that is bug 240051.
*** This bug has been marked as a duplicate of bug 240051 ***
But it shouldn‘t care about the last used file format and for the instant open option it should use PNG no matter what was used the last time, because if I open it directly I am likely to edit it and there I don‘t want compression artefacts.
You are right. Changed request accordingly.
Great :) Thanks.
*** Bug 252122 has been marked as a duplicate of this bug. ***
*** Bug 260859 has been marked as a duplicate of this bug. ***
*** Bug 287402 has been marked as a duplicate of this bug. ***
*** Bug 308736 has been marked as a duplicate of this bug. ***
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. Spectacle is the replacement for ksnapshot now. Please test again and file a new bug for Spectacle if you still have issues. Thank you!