summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/962
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/962')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/96219
1 files changed, 19 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/962 b/gitlab/issues_text/target_missing/host_missing/accel_missing/962
new file mode 100644
index 000000000..8cae31303
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/962
@@ -0,0 +1,19 @@
+Screenshot images are skewed
+Description of problem:
+1. Start a guest with SPICE
+2. Connect with a SPICE client
+3. Resize screen to a width that is not a multiple of 4 (e. g. 487x956)
+4. Take a screenshot
+
+The screenshot ppm file will contain the actual dimensions in the header, e. g.
+```
+P6
+487 956
+255
+```
+but the image data will contain more than that (e. g. 488 * 956 * 3 bytes).
+As a result, when displaying the image it appears skewed.
+Steps to reproduce:
+See above.
+Additional information:
+I'm not familiar with qemu code nor the pixman library, but I assume that in [this line](https://gitlab.com/qemu-project/qemu/-/blob/bc6ec396d471d9e4aae7e2ff8b72e11da9a97665/ui/console.c#L316) `get_stride` is wrong. Instead, it should write `width*3` bytes.