Activity log for bug #2000739

Date Who What changed Old value New value Message
2022-12-29 18:57:10 Markus S bug added bug
2023-01-03 19:36:14 Lena Voytek qemu (Ubuntu): status New Incomplete
2023-01-03 21:13:41 Markus S attachment added iso.png https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2000739/+attachment/5638999/+files/iso.png
2023-01-03 21:15:13 Markus S attachment added installed.png https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2000739/+attachment/5639001/+files/installed.png
2023-01-08 01:37:52 Markus S bug watch added https://gitlab.com/qemu-project/qemu/-/issues/1423
2023-01-09 10:55:03 Markus S attachment added qemu.webm https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2000739/+attachment/5640124/+files/qemu.webm
2023-01-09 11:38:22 Christian Ehrhardt  qemu (Ubuntu): status Incomplete Confirmed
2023-01-09 13:17:30 Christian Ehrhardt  summary QEMU 6.2.0 fullscreen problem Window actions (like maximize) no more work in wayland for QEMU using GTK backend once the guest UI is intialized.
2023-01-09 13:22:57 Christian Ehrhardt  description Running QEMU version 4.2.1 on Ubuntu 20.04 via qemu-system-x86_64 \ -boot d \ -cdrom ubuntu-22.04.1-desktop-amd64.iso \ -m 4096M \ -machine type=q35,accel=kvm \ -cpu host \ -smp 2 \ -device qxl-vga and pressing ctrl+alt+f after booting the Ubuntu 22.04 live ISO and adjusting the display resolution to match the native resolution, works as expected, i.e., the VM screen is correctly displayed in fullscreen. However, after running the same command for QEMU version 6.2.0 on Ubuntu 22.04 and pressing ctrl+alt+f after making the resolution adjustment, yields a fullscreen view where the space occupied by the GNOME top bar (top panel with date in center) of the host is not used. The top bar itself is not visible but instead the purple background is shown where the top bar resides. The problem also occurs when replacing '-device qxl-vga' by '-device VGA,vgamem_mb=64'. The problem however does not occur when using '-device virtio-vga'. Window actions (like maximize) no more work in wayland for QEMU using GTK backend once the guest UI is intialized. This can be seen by running an installed or even a trial Ubuntu from an ISO like: $ qemu-system-x86_64 \   -boot d \   -cdrom ubuntu-22.04.1-desktop-amd64.iso \   -m 4096M \   -machine type=q35,accel=kvm \   -cpu host \   -smp 2 \   -device qxl-vga The GTK UI of qemu has a feature called "fullscreen" which disables the screen decorations and sets the window to maximize. The decorations go away, but maximize doesn't work. The following details were found so far: - running with GDK_BACKEND=x11 works - using sdl instead of gtk backend works - using the old qemu of Focal, or the newest from upstream git in jammy all fails (no qemu change AFAICS) - host UI widgets (the square at the window top) do not work either - hotkeys (super-up) do not work either It seems that once the guest has enabled the desktop something changes and the maximize/minimize/... actions are no more processed. Not sure were to debug next in regard to the gnome/wayland UI handling of this - any idea? P.S. We can reproduce this in git builds of qemu, so we can debug of modify the code as needed. The code for this is mostly in [1] [1]: https://gitlab.com/qemu-project/qemu/-/blob/master/ui/gtk.c --- original report --- Running QEMU version 4.2.1 on Ubuntu 20.04 via qemu-system-x86_64 \   -boot d \   -cdrom ubuntu-22.04.1-desktop-amd64.iso \   -m 4096M \   -machine type=q35,accel=kvm \   -cpu host \   -smp 2 \   -device qxl-vga and pressing ctrl+alt+f after booting the Ubuntu 22.04 live ISO and adjusting the display resolution to match the native resolution, works as expected, i.e., the VM screen is correctly displayed in fullscreen. However, after running the same command for QEMU version 6.2.0 on Ubuntu 22.04 and pressing ctrl+alt+f after making the resolution adjustment, yields a fullscreen view where the space occupied by the GNOME top bar (top panel with date in center) of the host is not used. The top bar itself is not visible but instead the purple background is shown where the top bar resides. The problem also occurs when replacing '-device qxl-vga' by '-device VGA,vgamem_mb=64'. The problem however does not occur when using '-device virtio-vga'.
2023-01-09 13:23:47 Christian Ehrhardt  bug task added wayland (Ubuntu)
2023-01-10 02:15:42 Daniel van Vugt bug task deleted wayland (Ubuntu)
2023-01-10 02:16:07 Daniel van Vugt tags focal session wayland
2023-01-10 02:16:16 Daniel van Vugt tags focal session wayland focal wayland wayland-session
2023-01-10 02:17:05 Daniel van Vugt tags focal wayland wayland-session focal jammy wayland wayland-session
2023-03-20 07:51:23 Christian Ehrhardt  bug added subscriber Ubuntu Server
2023-03-20 08:03:37 Christian Ehrhardt  bug task added gtk+3.0 (Ubuntu)