If the image format cannot be determined for a screenshot filename, simply return an error informing the user that this is not a valid image format. In the past, if we couldn't determine the file type, we simply saved it as a PNG, and appended a ".png" file extension to the filename. This has several problems. First, it can result in some oddly-named files (e.g. a screenshot named 'Screenshot.pdf.png'). Second, modifying the filename that is returned from the GtkFileChooser undermines the overwrite-confirmation functionality that is built into the gtk file chooser. When the user specifies a filename in the file chooser dialog, the chooser will automatically check whether a file of that name exists, and if it does, it will display a dialog asking whether the user wants to overwrite it. But if we then append a ".png" extension to the filename and save it, we may be overwriting an existing file without warning. By returning an error for unrecognized file types, we avoid this problem. Resolves: rhbz#1455832 |
||
|---|---|---|
| build-aux | ||
| data | ||
| docs | ||
| icons | ||
| man | ||
| po | ||
| src | ||
| tests | ||
| .mailmap | ||
| acinclude.m4 | ||
| AUTHORS.in | ||
| autobuild.sh | ||
| autogen.sh | ||
| cfg.mk | ||
| ChangeLog | ||
| configure.ac | ||
| COPYING | ||
| git.mk | ||
| GNUmakefile | ||
| intltool-extract.in | ||
| intltool-merge.in | ||
| intltool-update.in | ||
| maint.mk | ||
| Makefile.am | ||
| mingw-virt-viewer.spec.in | ||
| NEWS | ||
| README.md | ||
| virt-viewer.spec.in | ||
Virt Viewer
Virt Viewer provides a graphical viewer for the guest OS display. At this time is supports guest OS using the VNC or SPICE protocols. Further protocols may be supported in the future as user demand dictates. The viewer can connect directly to both local and remotely hosted guest OS, optionally using SSL/TLS encryption.
Virt Viewer is the GTK3 application. Virt Viewer 3.0 was the last release that supported GTK2.
Virt Viewer uses the GTK-VNC (>= 0.4.0) widget to provide a display of the VNC protocol, which is available from
https://wiki.gnome.org/Projects/gtk-vnc
Virt Viewer uses the SPICE-GTK (>= 0.33) widget to provide a display of the SPICE protocol, which is available from:
https://www.spice-space.org/download.html
Use of either SPICE-GTK or GTK-VNC can be disabled at time
of configure, with --without-gtk-vnc or --without-spice-gtk
respectively.
Virt Viewer uses libvirt to lookup information about the guest OS display. This is available from
Further information about the Virt Viewer application can be found on the Virt Manager website:
Feedback should be directed to the mailing list at