spice-gtk issueshttps://gitlab.freedesktop.org/spice/spice-gtk/-/issues2024-03-23T17:34:19Zhttps://gitlab.freedesktop.org/spice/spice-gtk/-/issues/182Has the MacOS remote viewer client been abandoned?2024-03-23T17:34:19Zpresi 300Has the MacOS remote viewer client been abandoned?I'm not sure if this is the correct place to add an issue about this, if it isn't, please do tell me.
The MacOS remote viewer spice client is in a horrible state. It looks and feels straight out of 2013, as that's when the copyright dat...I'm not sure if this is the correct place to add an issue about this, if it isn't, please do tell me.
The MacOS remote viewer spice client is in a horrible state. It looks and feels straight out of 2013, as that's when the copyright dates say it was last updated, however, this isn't the reason why I'm saying that it's in a horrible state. It's not the fact that no one has bothered to rebuild it for apple silicon, nor to update the build instructions in 10 years either.
The big issue with it is that it leaks memory all over the place, causing a system crash after a few hours of continuous use.
-So why not just restart it?
Because closing the application is also broken. It closes, the icon disappears from the dock, yet it's still running in the background with the only way to actually close it being to go to the system monitor and force quit it from there...
My question is, since obviously nobody hasn't given any attention to this application in 10 years, is it considered abandoned? And if yes, why isn't there any indication anywhere that it is abandoned?https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/181Has the MacOS spice-gtk client been abandoned?2024-03-23T17:42:04Zpresi 300Has the MacOS spice-gtk client been abandoned?I'm not sure if this is the correct place to add an issue about this, if it isn't, please do tell me.
The MacOS spice client is in a horribleI'm not sure if this is the correct place to add an issue about this, if it isn't, please do tell me.
The MacOS spice client is in a horriblehttps://gitlab.freedesktop.org/spice/spice-gtk/-/issues/180How to use a Port Channel on Windows guest?2024-02-16T19:54:41ZXws ZqHow to use a Port Channel on Windows guest?I'm trying to communicate between linux(host) and windows(guest) by using a Port Channel.
Based on the example provided in spicy I know how to implement the host side but not sure what to do on windows.
Is there any example code on how...I'm trying to communicate between linux(host) and windows(guest) by using a Port Channel.
Based on the example provided in spicy I know how to implement the host side but not sure what to do on windows.
Is there any example code on how to connect to my Port Channel from windows?https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/179Translation to German spice-gtk_0.42-2_de.po2023-12-16T18:15:42ZChr1stophTranslation to German spice-gtk_0.42-2_de.poDear Maintainer,
[spice-gtk_0.42-2_de.po](/uploads/061336b2ab33cc719b6a981b7feac2ff/spice-gtk_0.42-2_de.po)
I have updated the po file and reported the update as a bug on Debian. The Debian maintainer asked me to report the translatio...Dear Maintainer,
[spice-gtk_0.42-2_de.po](/uploads/061336b2ab33cc719b6a981b7feac2ff/spice-gtk_0.42-2_de.po)
I have updated the po file and reported the update as a bug on Debian. The Debian maintainer asked me to report the translation here. Please consider to include the po file to the repository. Kind regards, Christoph Brinkhaushttps://gitlab.freedesktop.org/spice/spice-gtk/-/issues/1780.42 build fails on missing vevent_* symbols2023-09-06T09:54:42ZTomasz Kłoczko0.42 build fails on missing vevent_* symbolsLooks like it is some issue with 0.42. Build fails on linking libspice-client-glib with missing vevent\_\* symbols. I'm configuring source code with:
```plaintext
%meson \
-D alignment-checks=false \
-D builtin-mjpeg=fal...Looks like it is some issue with 0.42. Build fails on linking libspice-client-glib with missing vevent\_\* symbols. I'm configuring source code with:
```plaintext
%meson \
-D alignment-checks=false \
-D builtin-mjpeg=false \
-D gtk=enabled \
-D introspection=enabled \
-D lz4=enabled \
-D polkit=enabled \
-D usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ \
-D usb-ids-path=%{_datadir}/hwdata/usb.ids \
-D usbredir=enabled \
-D vapi=enabled \
-D webdav=enabled \
%{nil}
```
Here is meso output
<details>
```
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D alignment-checks=false -D builtin-mjpeg=false -D gtk=enabled -D introspection=enabled -D lz4=enabled -D polkit=enabled -D usb-acl-helper-dir=/usr/libexec/spice-gtk-x86_64/ -D usb-ids-path=/usr/share/hwdata/usb.ids -D usbredir=enabled -D vapi=enabled -D webdav=enabled
The Meson build system
Version: 1.2.1
Source dir: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42
Build dir: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu
Build type: native build
Project name: spice-gtk
Project version: 0.42
C compiler for the host machine: /usr/bin/gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.41-5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Executing subproject spice-common
spice-common| Project name: spice-common
spice-common| Project version: undefined
spice-common| C compiler for the host machine: /usr/bin/gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)")
spice-common| C linker for the host machine: /usr/bin/gcc ld.bfd 2.41-5
spice-common| Has header "alloca.h" : YES
spice-common| Has header "arpa/inet.h" : YES
spice-common| Has header "dlfcn.h" : YES
spice-common| Has header "inttypes.h" : YES
spice-common| Has header "netinet/in.h" : YES
spice-common| Has header "stdlib.h" : YES
spice-common| Has header "sys/socket.h" : YES
spice-common| Has header "sys/stat.h" : YES
spice-common| Has header "sys/types.h" : YES
spice-common| Has header "unistd.h" : YES
spice-common| Has header "regex.h" : YES
spice-common| Has header "sys/mman.h" : YES
spice-common| Checking for function "alloca" : YES
spice-common| Checking for function "sigaction" : YES
spice-common| Checking for function "drand48" : YES
spice-common| Checking for function "setlinebuf" : YES
spice-common| Library m found: YES
spice-common| Found pkg-config: /usr/bin/pkg-config (1.9.5)
spice-common| Run-time dependency spice-protocol found: YES 0.14.4
spice-common| Run-time dependency glib-2.0 found: YES 2.77.3
spice-common| Run-time dependency pixman-1 found: YES 0.42.2
spice-common| Run-time dependency openssl found: YES 3.0.9-dev
spice-common| Run-time dependency gio-2.0 found: YES 2.77.3
spice-common| Run-time dependency opus found: YES 1.4
spice-common| Program python3 found: YES (/usr/bin/python3)
spice-common| Message: Checking for python module six
spice-common| WARNING: You should add the boolean check kwarg to the run_command call.
spice-common| It currently defaults to false,
spice-common| but it will default to true in future releases of meson.
spice-common| See also: https://github.com/mesonbuild/meson/issues/9300
spice-common| Message: Checking for python module pyparsing
spice-common| Run-time dependency libcacard found: YES 2.8.1
spice-common| Compiler for C supports arguments -DG_LOG_DOMAIN="Spice": YES
spice-common| Compiler for C supports arguments -Wno-unused-parameter: YES
spice-common| Compiler for C supports arguments -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38: YES
spice-common| Compiler for C supports arguments -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38: YES
spice-common| Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10
spice-common| Program asciidoc found: NO
spice-common| Configuring config.h using configuration
spice-common| Build targets in project: 14
spice-common| Subproject spice-common finished.
Executing subproject keycodemapdb
keycodemapdb| Project name: keycodemapdb
keycodemapdb| Project version: undefined
keycodemapdb| Program tools/keymap-gen found: YES (/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen)
keycodemapdb| Build targets in project: 14
keycodemapdb| Subproject keycodemapdb finished.
Program tools/keymap-gen found: YES (overridden)
Has header "termios.h" : YES
Has header "X11/XKBlib.h" : YES
Has header "sys/socket.h" : YES (cached)
Has header "sys/types.h" : YES (cached)
Has header "netinet/in.h" : YES (cached)
Has header "arpa/inet.h" : YES (cached)
Has header "valgrind/valgrind.h" : NO
Has header "sys/disk.h" : NO
Has header "epoxy/egl.h" : YES
Checking for function "clearenv" : YES
Checking for function "strtok_r" : YES
Dependency spice-protocol found: YES 0.14.4 (cached)
Dependency glib-2.0 found: YES 2.77.3 (cached)
Dependency gio-2.0 found: YES 2.77.3 (cached)
Run-time dependency gobject-2.0 found: YES 2.77.3
Dependency pixman-1 found: YES 0.42.2 (cached)
Dependency openssl found: YES 3.0.9-dev (cached)
Run-time dependency libjpeg found: YES 3.0.0
Run-time dependency zlib found: YES 1.2.13.zlib-ng
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency gio-unix-2.0 found: YES 2.77.3
Dependency opus found: YES 1.4 (cached)
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency epoxy found: YES 1.5.10
Run-time dependency x11 found: YES 1.8.6
Run-time dependency libva-x11 found: YES 1.19.0
Has header "gtk-3.0/gdk/gdkwayland.h" : YES
Run-time dependency wayland-protocols found: YES 1.32
Found pkg-config: /usr/bin/pkg-config (1.9.5)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency wayland-cursor found: YES 1.22.0
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency libphodav-3.0 found: YES 3.0
Run-time dependency libsoup-3.0 found: YES 3.4.2
Run-time dependency gstreamer-1.0 found: YES 1.22.5
Run-time dependency gstreamer-base-1.0 found: YES 1.22.5
Run-time dependency gstreamer-app-1.0 found: YES 1.22.5
Run-time dependency gstreamer-audio-1.0 found: YES 1.22.5
Run-time dependency gstreamer-video-1.0 found: YES 1.22.5
Run-time dependency libusbredirparser-0.5 found: YES 0.13.0
Run-time dependency libusbredirhost found: YES 0.13.0
Run-time dependency libusb-1.0 found: YES 1.0.26
Run-time dependency libcap-ng found: YES 0.8.3
Run-time dependency polkit-gobject-1 found: YES 123
Checking for function "acl_get_file" : NO
Library acl found: YES
Checking for function "acl_get_file" with dependency -lacl: YES
Dependency gio-unix-2.0 found: YES 2.77.3 (cached)
Checking for function "makecontext" : YES
Checking for function "swapcontext" : YES
Checking for function "getcontext" : YES
Run-time dependency gobject-introspection-1.0 found: YES 1.76.1
Run-time dependency vapigen found: YES 0.56.13
Run-time dependency liblz4 found: YES 1.9.4
Run-time dependency libsasl2 found: YES 2.1.29
Dependency libcacard found: YES 2.8.1 (cached)
Compiler for C supports arguments -DHAVE_CONFIG_H: YES
Compiler for C supports arguments -DSPICE_COMPILATION: YES
Compiler for C supports arguments -DG_LOG_DOMAIN="GSpice": YES
Compiler for C supports arguments -Wno-sign-compare: YES
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_52: YES
Compiler for C supports arguments -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_52: YES
Compiler for C supports arguments -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22: YES
Compiler for C supports arguments -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22: YES
Configuring config.h using configuration
src/meson.build:27: WARNING: Project targets '>= 0.56' but uses feature introduced in '0.58.0': str.replace.
Configuring spice-version.h using configuration
Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Compiler for C supports link arguments -Wl,--version-script=/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/src/test-map-file: YES
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Dependency glib-2.0 found: YES 2.77.3 (cached)
Dependency gtk+-3.0 found: YES 3.24.38 (cached)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref)
Program pod2man found: YES (/usr/bin/pod2man)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Program vapigen found: YES (/usr/bin/vapigen)
Program vapigen found: YES (/usr/bin/vapigen)
Build targets in project: 67
WARNING: Project specifies a minimum meson_version '>= 0.56' but uses features which were added in newer versions:
* 0.58.0: {'str.replace'}
spice-gtk 0.42
prefix : /usr
opus : YES
gtk : YES
wayland-protocols : YES
webdav : YES
builtin-mjpeg : NO
usbredir : YES
libcap-ng : YES
polkit : YES
pie : YES
usb-acl-helper-dir : /usr/libexec/spice-gtk-x86_64/
usb-ids-path : /usr/share/hwdata/usb.ids
coroutine : ucontext
introspection : YES
vapi : YES
lz4 : YES
sasl : YES
smartcard : YES
valgrind : NO
libspice-client-glib.so version: 8.8.2
libspice-client-gtk.so version : 5.1.1
gtk_doc : YES
Subprojects
keycodemapdb : YES
spice-common : YES 2 warnings
User defined options
auto_features : enabled
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib64
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/sbin
sharedstatedir : /var/lib
sysconfdir : /etc
wrap_mode : nodownload
alignment-checks : false
builtin-mjpeg : false
gtk : enabled
introspection : enabled
lz4 : enabled
polkit : enabled
usb-acl-helper-dir : /usr/libexec/spice-gtk-x86_64/
usb-ids-path : /usr/share/hwdata/usb.ids
usbredir : enabled
vapi : enabled
webdav : enabled
```
</details>
aAnd above is filing on
<details>
```plaintext
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja
[1/22] Linking target src/libspice-client-glib-2.0.so.8.8.2
FAILED: src/libspice-client-glib-2.0.so.8.8.2
/usr/bin/gcc -o src/libspice-client-glib-2.0.so.8.8.2 src/libspice-client-glib-2.0.so.8.8.2.p/meson-generated_.._spice-marshal.c.o src/libspice-client-glib-2.0.so.8.8.2.p/meson-generated_.._spice-glib-enums.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-cursor.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-display.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-inputs.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-main.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-playback.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-port.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-record.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-smartcard.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-usbredir.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-webdav.c.o src/libspice-client-glib-2.0.so.8.8.2.p/qmp-port.c.o src/libspice-client-glib-2.0.so.8.8.2.p/smartcard-manager.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-audio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-channel.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-client.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-option.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-session.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-util.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-util-glib.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-device-manager.c.o src/libspice-client-glib-2.0.so.8.8.2.p/bio-gio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-base.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-display-gst.c.o src/libspice-client-glib-2.0.so.8.8.2.p/client_sw_canvas.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-glz.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-jpeg.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-zlib.c.o src/libspice-client-glib-2.0.so.8.8.2.p/gio-coroutine.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-file-transfer-task.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-glib-main.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-gstaudio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-uri.c.o src/libspice-client-glib-2.0.so.8.8.2.p/vmcstream.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-acl-helper.c.o src/libspice-client-glib-2.0.so.8.8.2.p/giopipe.c.o src/libspice-client-glib-2.0.so.8.8.2.p/continuation.c.o src/libspice-client-glib-2.0.so.8.8.2.p/coroutine_ucontext.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usbutil.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-backend.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-device-cd.c.o src/libspice-client-glib-2.0.so.8.8.2.p/cd-scsi.c.o src/libspice-client-glib-2.0.so.8.8.2.p/cd-usb-bulk-msd.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libspice-client-glib-2.0.so.8 -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none subprojects/spice-common/common/libspice-common-client.a subprojects/spice-common/common/libspice-common.a -Wl,--version-script=/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/src/map-file-glib -lm /usr/lib64/libglib-2.0.so /usr/lib64/libpixman-1.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libopus.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjpeg.so /usr/lib64/libz.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libphodav-3.0.so /usr/lib64/libsoup-3.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libusbredirparser.so /usr/lib64/libusbredirhost.so /usr/lib64/libusb-1.0.so /usr/lib64/liblz4.so /usr/lib64/libsasl2.so -Wl,--end-group
../subprojects/spice-common/common/canvas_base.c: In function ‘canvas_draw_stroke’:
../subprojects/spice-common/common/canvas_base.c:2945:55: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
2945 | gc.base.dash[stroke->attr.style_nseg - 1] = fix_to_int(style[0]);
| ^
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_channel_init':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:116:(.text.spice_smartcard_channel_init+0x25): undefined reference to `vreader_free'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_manager_finalize':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:119:(.text.spice_smartcard_manager_finalize+0x2e): undefined reference to `vreader_free'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_get_type_once':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:63:(.text.spice_smartcard_reader_get_type_once+0x13): undefined reference to `vreader_free'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:63:(.text.spice_smartcard_reader_get_type_once+0x1a): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_finalize':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:341:(.text.smartcard_source_finalize+0x19): undefined reference to `vevent_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_dispatch':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:329:(.text.smartcard_source_dispatch+0x3d): undefined reference to `vevent_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_prepare':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:302:(.text.smartcard_source_prepare+0x34): undefined reference to `vevent_get_next_vevent'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_check':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:302:(.text.smartcard_source_check+0x2d): undefined reference to `vevent_get_next_vevent'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_is_software':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:541:(.text.spice_smartcard_reader_is_software+0xe): undefined reference to `vreader_get_name'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_insert_card':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:561:(.text.spice_smartcard_reader_insert_card+0x1e): undefined reference to `vcard_emul_force_card_insert'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_remove_card':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:583:(.text.spice_smartcard_reader_remove_card+0x1e): undefined reference to `vcard_emul_force_card_remove'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_manager_get_readers':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:609:(.text.spice_smartcard_manager_get_readers+0x16): undefined reference to `vreader_get_reader_list'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:614:(.text.spice_smartcard_manager_get_readers+0x2d): undefined reference to `vreader_list_get_first'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:621:(.text.spice_smartcard_manager_get_readers+0x54): undefined reference to `vreader_reference'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:616:(.text.spice_smartcard_manager_get_readers+0x6a): undefined reference to `vreader_list_get_next'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:619:(.text.spice_smartcard_manager_get_readers+0x7a): undefined reference to `vreader_list_get_reader'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:623:(.text.spice_smartcard_manager_get_readers+0xb4): undefined reference to `vreader_list_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `send_msg_generic_with_data':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:340:(.text.send_msg_generic_with_data+0x45): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:343:(.text.send_msg_generic_with_data+0x52): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `reader_added_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:376:(.text.reader_added_cb+0x19): undefined reference to `vreader_get_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:378:(.text.reader_added_cb+0x24): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `card_removed_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.card_removed_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `send_msg_atr':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:367:(.text.send_msg_atr+0x2d): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:368:(.text.send_msg_atr+0x45): undefined reference to `vreader_power_on'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `card_inserted_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.card_inserted_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:239:(.text.card_inserted_cb+0x34): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `handle_smartcard_msg':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:538:(.text.handle_smartcard_msg+0xf1): undefined reference to `vreader_get_reader_by_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:541:(.text.handle_smartcard_msg+0x113): undefined reference to `vreader_xfr_bytes'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:500:(.text.handle_smartcard_msg+0x23d): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:504:(.text.handle_smartcard_msg+0x261): undefined reference to `vreader_set_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `reader_removed_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.reader_removed_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:262:(.text.reader_removed_cb+0x44): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_monitor_dispatch':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:262:(.text.smartcard_monitor_dispatch+0x5e): undefined reference to `vreader_free'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:251:(.text.smartcard_monitor_dispatch+0x151): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_manager_init':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:443:(.text.smartcard_manager_init+0xee): undefined reference to `vcard_emul_options'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:456:(.text.smartcard_manager_init+0x1a7): undefined reference to `vcard_emul_init'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_channel_up_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:454:(.text.spice_smartcard_channel_up_cb+0x206): undefined reference to `vreader_card_is_present'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.spice_smartcard_channel_up_cb+0x224): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:239:(.text.spice_smartcard_channel_up_cb+0x244): undefined reference to `vreader_reference'
collect2: error: ld returned 1 exit status
```
</details>https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/177Missing resource file2023-12-16T19:54:46ZxiaonaiquanMissing resource fileI don't know what's missing from the spicy interface that's causing the ICONS to disappear.
![Snipaste_2023-08-29_17-20-19](/uploads/27a29f4b46e9c1a63ed4fc68cb2b55cd/Snipaste_2023-08-29_17-20-19.png)
![Snipaste_2023-08-29_17-20-38](/uplo...I don't know what's missing from the spicy interface that's causing the ICONS to disappear.
![Snipaste_2023-08-29_17-20-19](/uploads/27a29f4b46e9c1a63ed4fc68cb2b55cd/Snipaste_2023-08-29_17-20-19.png)
![Snipaste_2023-08-29_17-20-38](/uploads/0fdd9a557eaca643318cc472f5dceab3/Snipaste_2023-08-29_17-20-38.png)https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/176Incorrect auto resize VM with window when using Plasma KDE Wayland rescaled2024-02-27T06:44:24ZxndpxsIncorrect auto resize VM with window when using Plasma KDE Wayland rescaledI am getting a 3072 x 1410 when a 1080p monitor is rescaled to 125%, and 5120x2160 when rescaled to 150%.
Normal Behavior:
This should keep in a resolution above ~= 1920 x 900 even if a monitor on KDE plasma is rescaled.I am getting a 3072 x 1410 when a 1080p monitor is rescaled to 125%, and 5120x2160 when rescaled to 150%.
Normal Behavior:
This should keep in a resolution above ~= 1920 x 900 even if a monitor on KDE plasma is rescaled.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/173How to support gstreamer's decoder2023-10-07T02:52:12ZxiaonaiquanHow to support gstreamer's decoderHow does a Windows client support the gstreamer decoder?How does a Windows client support the gstreamer decoder?https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/172openssl_verify: Error in server certificate verification: CA signature digest...2023-07-04T19:47:03Zdarkblaze69openssl_verify: Error in server certificate verification: CA signature digest algorithm too weakWe cannot connect with virt-viewer to old oVirt instance with old CA certificate
`(remote-viewer:12662): Spice-WARNING \*\*: 17:44:19.398: ../spice-gtk-0.42/subprojects/spice-common/common/ssl_verify.c:480:openssl_verify: Error in serve...We cannot connect with virt-viewer to old oVirt instance with old CA certificate
`(remote-viewer:12662): Spice-WARNING \*\*: 17:44:19.398: ../spice-gtk-0.42/subprojects/spice-common/common/ssl_verify.c:480:openssl_verify: Error in server certificate verification: CA signature digest algorithm too weak (num=68:depth0:/O=XXX/CN=XXXXX)`
Is it somehow possible to skip this kind of verification?
OS: Arch Linux
Edit: As it appeared it happened after switching to openssl 3. With building against openssl 1.1.1 it works great.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/171Duplicate ABIs exported by spice-glib and spice-gtk2023-06-26T11:55:28ZFrediano ZiglioDuplicate ABIs exported by spice-glib and spice-gtkNot causing many problems at the moment but 5 functions are exported and implemented by both `spice-glib` and `spice-gtk` libraries. Specifically:
- `spice_g_signal_connect_object`;
- `spice_util_get_debug`;
- `spice_util_get_version_str...Not causing many problems at the moment but 5 functions are exported and implemented by both `spice-glib` and `spice-gtk` libraries. Specifically:
- `spice_g_signal_connect_object`;
- `spice_util_get_debug`;
- `spice_util_get_version_string`;
- `spice_util_set_debug`;
- `spice_uuid_to_string`.
Most of them will behave properly and as expected however `spice_util_get_debug` and `spice_util_set_debug` save the state in library variables but there are 2 versions of them (one in `spice-glib` and another in `spice-tk`). So potentially you could enable debug with `spice_util_set_debug` but then some debug information won't be printed as they rely on other library `spice_util_get_debug`.
Beside that duplicating exports were not intended. But unfortunately they now are in the ABI and both libraries should continue to export them.
To fix that I would introduce 5 new functions in `spice-glib` (were these functions should be) and have all functions (from both libraries) call the new ones. Also, to avoid future mistakes like that it would be nice to have 2 separate symbols file, one for `spice-glib` and another for `spice-gtk`.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/170Release 0.42 on spice-space.org2023-01-30T10:30:02ZAinolaRelease 0.42 on spice-space.orgHi! Thanks for your work on releasing 0.42! Would it be possible to sign/upload the release on spice-space.org so packagers can update?Hi! Thanks for your work on releasing 0.42! Would it be possible to sign/upload the release on spice-space.org so packagers can update?https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/169spice-gtk-0.41-r1 fails to link during build due to excess -export-symbols param2023-06-22T19:00:14ZSlaviuszspice-gtk-0.41-r1 fails to link during build due to excess -export-symbols paramBased on the information in the sys-devel/mold bug tracker the linker params are constructed in a way that breaks linking and only works because it is being ignored when building shared library with GNU ld (-fuse-ld=bfd).
More specifica...Based on the information in the sys-devel/mold bug tracker the linker params are constructed in a way that breaks linking and only works because it is being ignored when building shared library with GNU ld (-fuse-ld=bfd).
More specifically there's an excess param `-export-symbols /path/to/sym/file` that breaks linking even with GNU ld if forced.
```
.../spice-gtk-0.39/src/spice-glib-sym-file: file format not recognized; treating as linker script
.../spice-glib-sym-file:2: syntax error
```
Please see the linked bug report: https://github.com/rui314/mold/issues/931https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/168Question about coroutine (use ucontext)in spice-gtk2023-02-17T08:19:21Zzkm111Question about coroutine (use ucontext)in spice-gtkHello, I'm a little confused. details in
https://gitlab.freedesktop.org/spice/spice-gtk/-/commit/0f9a432c547d16529c0ca8b83048a065f620aaf1#note_1668025
@elmarco
Looking forward to your reply.Hello, I'm a little confused. details in
https://gitlab.freedesktop.org/spice/spice-gtk/-/commit/0f9a432c547d16529c0ca8b83048a065f620aaf1#note_1668025
@elmarco
Looking forward to your reply.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/167Audio hasn't worked right for nearly a year+ (pipewire related?)2023-04-02T09:11:14ZCole MickensAudio hasn't worked right for nearly a year+ (pipewire related?)I don't know what's going on but audio hasn't worked right for me for nearly a year or longer.
```
❯ virt-viewer --connect "qemu+ssh://cole@192.168.1.10/system" 'linux2020'
(virt-viewer:300596): GSpice-WARNING **: 12:57:19.200: Warning...I don't know what's going on but audio hasn't worked right for me for nearly a year or longer.
```
❯ virt-viewer --connect "qemu+ssh://cole@192.168.1.10/system" 'linux2020'
(virt-viewer:300596): GSpice-WARNING **: 12:57:19.200: Warning no automount-inhibiting implementation available
(virt-viewer:300596): GSpice-WARNING **: 12:57:26.111: (../src/spice-session.c:2333):spice_session_channel_new: runtime check failed: (s->playback_channel == NULL)
(virt-viewer:300596): GSpice-CRITICAL **: 12:57:26.111: connect_channel: assertion 'p->pchannel == NULL' failed
```
This happens every single time I try to use virt-viewer, or virt-manager, with any guest. If I quickly close the client and reopen it, IT WORKS FINE. But the second audio playback stops, the channel seems to close and then it just ... **doesn't work any more until you restart the client again.**
Combining this with the infuriating behavior WRT to hidpi clients makes using virt-{viewer,manager} an extremely frustrating exercise.
There's no other journal messages for the system or my user that look relevant.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/166spice-gtk support in OpenEmbedded2022-10-10T19:17:01ZFabio Estevamspice-gtk support in OpenEmbeddedHi,
I am trying to install spice support to remmina in OpenEmbedded, but spice-gtk recipe is not available there:
```
-- Finding suggested package LIBVNCSERVER.
-- Disable this using "-DWITH_LIBVNCSERVER=OFF".
-- Checking for module ...Hi,
I am trying to install spice support to remmina in OpenEmbedded, but spice-gtk recipe is not available there:
```
-- Finding suggested package LIBVNCSERVER.
-- Disable this using "-DWITH_LIBVNCSERVER=OFF".
-- Checking for module 'libvncserver'
-- Found libvncserver, version 0.9.13
-- Found LIBVNCSERVER: /work/festevam/project/oe/poky/build/tmp/work/aarch64-phglinux-linux/remmina/1.4.24-r0/recipe-sysroot/usr/lib/libvncserver.so
-- Disabling GVNC plugin.
-- Finding suggested package Spice.
-- Disable this using "-DWITH_SPICE=OFF".
-- Checking for module 'spice-client-gtk-3.0'
-- No package 'spice-client-gtk-3.0' found
```
Has anyone already worked on creating a spice-gtk recipe for OpenEmbedded?
Thankshttps://gitlab.freedesktop.org/spice/spice-gtk/-/issues/165Potential leak for gst_bus_add_watch2023-01-23T10:12:14ZduanwujiePotential leak for gst_bus_add_watchIn the channel-display-gst.c
```C
bus = gst_pipeline_get_bus(GST_PIPELINE(decoder->pipeline));
gst_bus_add_watch(bus, handle_pipeline_message, decoder);
gst_object_unref(bus);
```
the gst_bus_add_watch's bus id not be free,which will ...In the channel-display-gst.c
```C
bus = gst_pipeline_get_bus(GST_PIPELINE(decoder->pipeline));
gst_bus_add_watch(bus, handle_pipeline_message, decoder);
gst_object_unref(bus);
```
the gst_bus_add_watch's bus id not be free,which will be cause gst_poll_read_controll assert error.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/164Cannot detach the keyboard when I switch to other virtual desktop.2023-01-23T10:15:00Z赵怡然Cannot detach the keyboard when I switch to other virtual desktop.Bug Step:
1.the virt-manager(spice) uses the mouse/keyboard alone in FULLSCREEN (catch all of the mouse/keyboard event)
2.leave the virtual machine by shortcut key
3.use KDE's hot corners to switch others virtual desktop
4.keyboard d...Bug Step:
1.the virt-manager(spice) uses the mouse/keyboard alone in FULLSCREEN (catch all of the mouse/keyboard event)
2.leave the virtual machine by shortcut key
3.use KDE's hot corners to switch others virtual desktop
4.keyboard doesn't work,what I have typed will be redirected to the virtual machine but I have exited it, and virtual machine window is in the other virtual desktop.
I reproduced the same problem with `virt-viewer win10 --attach`, I guess it is the "Spice GL/Virtio 3D support graphical issues" because I passthough my NVIDIA and vGPU , Enable OpenGL with spice
but when I move mouse to show the top tool bar, and press Ctrl+F8 to switch virtual desktop, the bug is gone, the bug is only emerged when I switch virtual desktop by hot corners
Original issue: https://github.com/virt-manager/virt-manager/issues/428
UPDATE: When I use QXL (without OPENGL and passthough), problem is disappeared.https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/163keygrepping works incorrectly in Linux when screen reader is used2022-08-15T05:39:47Zilya paschukkeygrepping works incorrectly in Linux when screen reader is usedhello
to interact with the computer, visually impaired users use special programs called screen readers.
in Linux the Orca screen reader is usually used.
to provide some features, screen reader greps some keyboard keys and combination...hello
to interact with the computer, visually impaired users use special programs called screen readers.
in Linux the Orca screen reader is usually used.
to provide some features, screen reader greps some keyboard keys and combinations (for example, all keys on the numpad block are usually remapped).
if you will run any vm (I used virt-manager for this) with screen reader enabled, and grep the keyboard, you will found that allmost all system key combinations are captured, but the screen reader's combinations are not grepped.
as a result of this, you can't use screen reader key combinations in a guest vm, and all typed letters are spoken 2 times: by the host screen reader and by the screen reader of the guest system.
I may disable host screen reader when I work in the vm, but it is very inconvenient.
the following github issue in virt-manager can give you more information, including explanation why it happens and how to fix it.
https://github.com/virt-manager/virt-manager/issues/206https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/162I can't get key repeat and mouse selection to work2022-08-09T15:58:27ZVictorien PlanckeI can't get key repeat and mouse selection to workHello :)
I'm building my own spice client, so i use libspice-client-glib
1) For keyboard input i use :
`spice_inputs_channel_key_press` and `spice_inputs_channel_key_release`.
But it don't work when i hold the key, for example i...Hello :)
I'm building my own spice client, so i use libspice-client-glib
1) For keyboard input i use :
`spice_inputs_channel_key_press` and `spice_inputs_channel_key_release`.
But it don't work when i hold the key, for example i press and hold 'a' i am expecting to have 'aaaaaaaaaaaaaaaaaaaa' but only one 'a' key is sent.
2) The same behavior with the mouse, i use `spice_inputs_channel_button_press` and `spice_inputs_channel_button_release`
when i hold a click and move the mouse, i am expecting a selection of text, or a line drawing on paint, but i just got one click instead.
Here i tried to draw lines :
![image](/uploads/4246b2748eebec166d1f94dc6f086762/image.png)
In both situation the release is send when i release the key/button.
Am I doing something wrong ?
Thanks for your help !https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/161Cannot disconnect properly the spice session2022-08-08T13:52:16ZVictorien PlanckeCannot disconnect properly the spice sessionHello,
In a application i'm building, i'm using spice-client library (version 0.35 on debian 10) to connect to a VM.
I used the spicy example. I can connect and use the cursor, inputs channel correctly.
But when i disconnect, i don't r...Hello,
In a application i'm building, i'm using spice-client library (version 0.35 on debian 10) to connect to a VM.
I used the spicy example. I can connect and use the cursor, inputs channel correctly.
But when i disconnect, i don't receive the "disconnected" signal on the session.
Then if i try to reconnect, it don't work (the main channel disconnect). Only if i kill and restart my application i can finally connect.
Here is how i do :
```
spice_session_open_fd (connecting using a socket)
i connect to cursor and inputs channel with : spice_channel_connect
Then later i do : spice_session_disconnect
I listen to "channel-destroy" signals, so i can set my variables cusor, inputs, main channel to NULL, when they are destroyed.
I listen to "disconnected" signal to destroy the connection variable : unref conn->session and free(conn) like in spicy
=> But this signal never happen
```
I listed all the channels of my sessions, other channels are display and webdav. I dont connect to them.
Here is the last log i have (spice debug log) :
```
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: spice-session.c:2311 main-1:0: the session lost the main channel
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: spice-channel.c:2880 main-1:0: channel disconnect 0
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: spice-channel.c:2670 main-1:0: Coroutine exit main-1:0
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: spice-channel.c:2863 main-1:0: reset
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: channel-main.c:1552 agent connected: no
(wt-streamer:18249): GSpice-DEBUG: 10:18:52.934: spice-session.c:1765 no migration in progress
```
Am i missing something ?
Thanks for your help !