You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This enables drag&dropping screenshots directly into a browser window.
As a side effect when drag&dropping into most file managers (into
konquerror in particular) this will also cause them to copy a png file
instead of asking a user in what format they would like to save the
image.
Besides that commit includes:
- Rework of handling of temporary files, in particular:
- Temporary files now try to use a friendlier names with timestamps
e.g. `snapshot-20251108-211852.png`. And fallback to use
`mkstemp()`-style suffix if the name already in use.
- When "Open with" is issued several times the temporary file will be
created only once.
- If the file was already saved by the user ksnapshot won't create an
additional temporary one for drag&drop or "Open with", but rather
use the saved one.
- "Open with" temporary files are no longer removed after the process
terminates, but are kept around until exit from ksnapshot. Removing
the files right after process termination caused failures to open
the file when they were passed to another (already running) instance
of a program instead of a new one (e.g. in gimp).
- Some refactoring for code deduplocation.
- Some helper classes.
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdegraphics/issues/135
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
4 months ago | |
|---|---|---|
| .. | ||
| CMakeL10n.txt | 6 years ago | |
| CMakeLists.txt | 6 years ago | |
| ConfigureChecks.cmake | 14 years ago | |
| Makefile.am | 8 years ago | |
| README | 17 years ago | |
| configure.in.in | 15 years ago | |
| hi16-app-ksnapshot.png | 10 years ago | |
| hi22-app-ksnapshot.png | 10 years ago | |
| hi32-app-ksnapshot.png | 10 years ago | |
| hi48-app-ksnapshot.png | 10 years ago | |
| hisc-app-ksnapshot.svgz | 17 years ago | |
| ksnapshot.cpp | 4 months ago | |
| ksnapshot.desktop | 6 years ago | |
| ksnapshot.h | 4 months ago | |
| ksnapshotiface.h | 2 years ago | |
| ksnapshotwidget.ui | 2 years ago | |
| ksnapshotwidget.ui.h | 2 years ago | |
| main.cpp | 13 years ago | |
| regiongrabber.cpp | 2 years ago | |
| regiongrabber.h | 3 years ago | |
| uninstall.desktop | 17 years ago | |
| windowgrabber.cpp | 2 years ago | |
| windowgrabber.h | 3 years ago | |
README
KSnapshot Release Notes ======================= KSnapshot is intended to be an easy to use program for making screenshots. I can be bound to the Print Screen" key, as the program takes a snapshot of the desktop on startup (before it displays it window), so it's a simple way of of making snapshots. Currently Implemented features: - Mini Preview image - Adjustable time delay. - Auto hides it own window when grabbing. - Grabs desktop or specific windows - Save to various formats - Auto increment filename The original KSnapshot was implemented by Richard Moore (rich@kde.org) for KDE1. Shortly before KDE2 I rewrote most of it to bring it a bit closer to KDE2' higher standards. This version is still not good, but I wanted something that doesn't break translations and is still comfortable to old ksnapshot users. Use Pixie if you want more functionality. Matthias ( ettrich@kde.org)