Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

GLib-GIO-CRITICAL *and other issues* #4210

Closed stdedos closed 6 months ago

stdedos commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

I was shadowing, Shuffing Gifs at Slack, and uploaded a file (tried to "auto-find" it by pasting its quoted path inside the file-picker window; didn't work).

"Xpra-x86_64_6.0-r35620\xpra_cmd" shadow ssh://user@ip/1 --ssh="plink -ssh -agent" --modal-windows=no --headerbar=off --title="@title@ on @@/@server-display@" --encodings=-webp --microphone=off --speaker=off --webcam=no --pulseaudio=no --opengl=no --min-speed=70 --key-shortcut=Shift+F2:toggle_pointer_grab

XPRA_EXECUTABLE=Xpra-x86_64_6.0-r35620

2024-05-02 20:55:03,414 Xpra GTK3 client version 6.0-r35620 (g79036646b) beta
2024-05-02 20:55:03,672  running on Microsoft Windows Microsoft Windows 10 Enterprise
2024-05-02 20:55:03,672  cpython 3.11
2024-05-02 20:55:04,178 GStreamer version 1.24.1
2024-05-02 20:55:04,196 created named pipe 'Xpra\13960'
2024-05-02 20:55:04,405 Error setting up the pipeline:
2024-05-02 20:55:04,405  gst_parse_error: could not link decoder to sink (3)
2024-05-02 20:55:04,406  GStreamer pipeline for:
2024-05-02 20:55:04,406   appsrc name=src emit-signals=1 block=0 is-live=1 do-timestamp=1 stream-type=0 format=2 caps=video/x-h264,width=128,height=128,profile=(string)main,stream-format=(string)byte-stream,alignment=(string)au ! \
2024-05-02 20:55:04,406   d3d11h264dec name=decoder ! \
2024-05-02 20:55:04,406   appsink name=sink emit-signals=1 max-buffers=10 drop=False sync=False async=True qos=False caps=video/x-raw,width=128,height=128,format=(string)I420
2024-05-02 20:55:04,406 Error creating context h264 128x128 YUV420P
2024-05-02 20:55:04,406 gstreamer: h264 decoding failed: failed to setup gstreamer pipeline
2024-05-02 20:55:04,412 keyboard layout 'United States - English' : 'us' (0x409)
2024-05-02 20:55:04,517  keyboard settings: layout=us
2024-05-02 20:55:04,519  desktop size is 4480x1516:
2024-05-02 20:55:04,519   Default (1185x401 mm - DPI: 96x96) workarea: 4480x1476
2024-05-02 20:55:04,519     Samsung C32JG5x  2560x1440 at    0x0    (697x392 mm - DPI: 93x93) workarea: 2560x1400
2024-05-02 20:55:04,519     LG IPS234        1920x1080 at 2560x436  (510x290 mm - DPI: 96x95) workarea: 1920x1040 at 2560x436
2024-05-02 20:55:09,554 enabled remote logging
2024-05-02 20:55:09,556 Xpra shadow server version 5.0
2024-05-02 20:55:09,556  remote desktop size is 1920x1200
2024-05-02 20:55:09,556   :1.0 (508x318 mm - DPI: 96x96) workarea: 1848x1173 at   72x27
2024-05-02 20:55:09,557     LGD eDP-1        (336x210 mm - DPI: 145x145)
2024-05-02 20:55:09,889 running, 1 windows
2024-05-02 20:55:16,616 server is not responding, drawing spinners over the windows
2024-05-02 20:55:16,867 server is OK again
E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: The "buttons" argument must be a Gtk.ButtonsType enum value. Please use the "add_buttons" method for adding buttons. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
C:/msys64/mingw64/lib/python3.11/site-packages/gi/overrides/Gtk.py:566: PyGTKDeprecationWarning: The keyword(s) "parent" have been deprecated in favor of "transient_for" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
2024-05-02 20:55:28,039 UI thread is now blocked

(xpra_cmd:13960): Gtk-WARNING **: 20:55:28.193: Could not find the icon 'bookmark-new-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
2024-05-02 20:55:28,211 UI thread is running again, resuming

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.110: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.113: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.117: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.119: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.122: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.125: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.128: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.131: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.134: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.137: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.140: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.142: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.145: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.148: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.151: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.154: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.158: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.161: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.164: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.166: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.169: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.171: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.175: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.177: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.181: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.184: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.187: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.188: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.197: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.198: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.202: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.204: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.207: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.209: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.217: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.219: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.223: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.225: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.228: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.231: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.235: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.237: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.241: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.243: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.248: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.250: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.256: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.258: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.262: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.264: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.269: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.271: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.276: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.279: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.282: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.285: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.288: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.290: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.296: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.298: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.302: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.304: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.308: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.311: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.315: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.318: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.322: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.324: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.327: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.330: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.356: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.358: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.362: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.364: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.369: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.373: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.380: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.382: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.387: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.388: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.392: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.395: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.399: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.402: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.405: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.407: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.411: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.414: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.420: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.422: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.425: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.427: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.431: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.433: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.437: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.439: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.442: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.444: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.448: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.450: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.454: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.456: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.459: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.461: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.465: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.467: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.471: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.473: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.476: GFileInfo created without standard::size

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.478: file ../glib-2.80.0/gio/gfileinfo.c: line 1845 (g_file_info_get_size): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.481: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:37.484: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.745: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.747: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.751: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.753: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.758: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.761: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.765: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.767: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.770: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.772: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.776: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.778: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.781: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.784: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.787: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.789: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.792: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.794: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.798: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.800: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.803: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.805: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.808: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.812: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.817: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.820: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.823: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.825: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.838: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.841: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.844: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.848: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.852: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.855: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.859: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.861: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.865: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.868: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.871: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.874: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.877: GFileInfo created without standard::type

(xpra_cmd:13960): GLib-GIO-CRITICAL **: 20:55:38.879: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached
2024-05-02 21:08:26,801 server is not responding, drawing spinners over the windows
2024-05-02 21:08:29,813 server is OK again

To Reproduce Steps to reproduce the behavior:

  1. server command
  2. client command
  3. specific action to trigger the bug

System Information (please complete the following information):

Additional context Add any other context about the problem here. Please see "reporting bugs" in the wiki section.

totaam commented 6 months ago

E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: The "buttons" argument must be a Gtk.ButtonsType enum value. Please use the "add_buttons" method for adding buttons. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations C:/msys64/mingw64/lib/python3.11/site-packages/gi/overrides/Gtk.py:566: PyGTKDeprecationWarning: The keyword(s) "parent" have been deprecated in favor of "transient_for" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations

Thanks. All of these warnings are fixed in the commit above.

As for all the GLib-GIO-CRITICAL **: 20:55:38.879: file ../glib-2.80.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached, I cannot reproduce the problem.

My guess is that this is: Check for attribute availability before accessing it which has been fixed in GTK. Perhaps the version of GTK in your builds is older than mine?

Can you try with 6.1-r35715 or later?

stdedos commented 6 months ago

Perhaps the version of GTK in your builds is older than mine?

WDYM? I haven't installed any GTK by myself. ... the only GTK-thing I have installed is "C:\Program Files (x86)\GtkSharp\2.12\", via Pinta

I just downloaded https://www.xpra.org/beta/windows/Xpra-Light-x86_64_6.1-r35715.zip

Clicking to upload the file gives:

"Xpra-x86_64_6.0-r35620\xpra_cmd" shadow ssh://user@ip/1 --ssh="plink -ssh -agent" --modal-windows=no --headerbar=off --title="@title@ on @@/@server-display@" --encodings=-webp --microphone=off --speaker=off --webcam=no --pulseaudio=no --opengl=no --min-speed=70 --key-shortcut=Shift+F2:toggle_pointer_grab

XPRA_EXECUTABLE=Xpra-x86_64_6.0-r35620

2024-05-04 12:06:54,323 Xpra GTK3 client version 6.0-r35620 (g79036646b) beta
2024-05-04 12:06:54,563  running on Microsoft Windows Microsoft Windows 10 Enterprise
2024-05-04 12:06:54,563  cpython 3.11
2024-05-04 12:06:55,064 GStreamer version 1.24.1
2024-05-04 12:06:55,081 created named pipe 'Xpra\26052'
2024-05-04 12:06:55,258 Error setting up the pipeline:
2024-05-04 12:06:55,259  gst_parse_error: could not link decoder to sink (3)
2024-05-04 12:06:55,259  GStreamer pipeline for:
2024-05-04 12:06:55,259   appsrc name=src emit-signals=1 block=0 is-live=1 do-timestamp=1 stream-type=0 format=2 caps=video/x-h264,width=128,height=128,profile=(string)main,stream-format=(string)byte-stream,alignment=(string)au ! \
2024-05-04 12:06:55,259   d3d11h264dec name=decoder ! \
2024-05-04 12:06:55,259   appsink name=sink emit-signals=1 max-buffers=10 drop=False sync=False async=True qos=False caps=video/x-raw,width=128,height=128,format=(string)I420
2024-05-04 12:06:55,260 Error creating context h264 128x128 YUV420P
2024-05-04 12:06:55,260 gstreamer: h264 decoding failed: failed to setup gstreamer pipeline
2024-05-04 12:06:55,265 keyboard layout 'United States - English' : 'us' (0x409)
2024-05-04 12:06:55,359  keyboard settings: layout=us
2024-05-04 12:06:55,361  desktop size is 4480x1516:
2024-05-04 12:06:55,361   Default (1185x401 mm - DPI: 96x96) workarea: 4480x1476
2024-05-04 12:06:55,361     Samsung C32JG5x  2560x1440 at    0x0    (697x392 mm - DPI: 93x93) workarea: 2560x1400
2024-05-04 12:06:55,361     LG IPS234        1920x1080 at 2560x436  (510x290 mm - DPI: 96x95) workarea: 1920x1040 at 2560x436
2024-05-04 12:06:59,812 enabled remote logging
2024-05-04 12:06:59,814 Xpra shadow server version 5.0
2024-05-04 12:06:59,814  remote desktop size is 1920x1200
2024-05-04 12:06:59,815   :1.0 (508x318 mm - DPI: 96x96) workarea: 1848x1173 at   72x27
2024-05-04 12:06:59,815     LGD eDP-1        (336x210 mm - DPI: 145x145)
2024-05-04 12:07:00,182 running, 1 windows
E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
E:/xpra/xpra/client/gtk3/client_base.py:618: PyGTKDeprecationWarning: The "buttons" argument must be a Gtk.ButtonsType enum value. Please use the "add_buttons" method for adding buttons. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
C:/msys64/mingw64/lib/python3.11/site-packages/gi/overrides/Gtk.py:566: PyGTKDeprecationWarning: The keyword(s) "parent" have been deprecated in favor of "transient_for" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
2024-05-04 12:08:41,841 UI thread is now blocked

(xpra_cmd:26052): Gtk-WARNING **: 12:08:41.939: Could not find the icon 'bookmark-new-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
2024-05-04 12:08:41,957 UI thread is running again, resuming

but uploading the file (shuffling gifs etc) works as normal.

If "somehow" you could fix that the "E:\path\to\file.txt" would work similarly to E:\path\to\file.txt, that'd be great šŸ™

totaam commented 6 months ago

WDYM? I haven't installed any GTK by myself.

I wasn't saying you did! Every win32 build is going to have whatever updates were available in the MSYS2 rolling distribution. Which means that even on the same day, you may get two different GTK versions in 2 different builds...

PyGTKDeprecationWarning: Using positional arguments ...

Well, that's weird! 1ec038bf9a8ca398fd74016a7acf4ebfce5c1942 definitely removes parent and uses add_buttons instead of the constructor. And now I see:

Xpra GTK3 client version 6.0-r35620 (g79036646b) beta

Which is older than the r35715 required.

If "somehow" you could fix that the "E:\path\to\file.txt" would work similarly to E:\path\to\file.txt, that'd be great šŸ™

I have no idea what this is about! :shrug:

stdedos commented 6 months ago

And now I see:

Xpra GTK3 client version 6.0-r35620 (g79036646b) beta

Which is older than the r35715 required.

Daaaaamn. ... forgot to save the variable change šŸ˜“

If "somehow" you could fix that the "E:\path\to\file.txt" would work similarly to E:\path\to\file.txt, that'd be great šŸ™

I have no idea what this is about! šŸ¤·

If you have the Upload window open, you are able to "paste" the path on the Upload window to paste it on the location image

and then you don't have to locate the file locally.

However, that doesn't work if the path is double-quoted

stdedos commented 6 months ago

PyGTKDeprecationWarning: Using positional arguments ...

Well, that's weird! 1ec038b definitely removes parent and uses add_buttons instead of the constructor. And now I see:

Xpra GTK3 client version 6.0-r35620 (g79036646b) beta

Which is older than the r35715 required.

You are right. It's fixed šŸŽ‰ šŸŽ‰ šŸŽ‰

totaam commented 6 months ago

However, that doesn't work if the path is double-quoted

Ah, gotcha. This is a GTK widget and we have no control over these implementation details. Feel free to file a bug upstream.

stdedos commented 6 months ago

Is it https://docs.gtk.org/gtk3/class.FileChooserWidget.html / https://gitlab.gnome.org/GNOME/gtk/?

stdedos commented 6 months ago

WDYT? https://gitlab.gnome.org/GNOME/gtk/-/issues/6688

totaam commented 6 months ago

Apparently, we're supposed to use FileChooserNative on win32 and macos: fec4bb7e410c490753c9433acae2870f639f6525

Please try 6.1-r35733 or later.

stdedos commented 6 months ago

Apparently, we're supposed to use FileChooserNative on win32 and macos: fec4bb7

No self.file_dialog.add_buttons(*buttons)?

totaam commented 6 months ago

No self.file_dialog.add_buttons(*buttons)?

Nope, not supported. Why?

stdedos commented 6 months ago

Just checking. It is "slight" deviation of your current experience (default action was "Open").

... tbh, I do prefer the upload function to upload, instead of open

totaam commented 6 months ago

Well, there is a set_accept_label function. We could set it to "Upload" - that should work.

totaam commented 6 months ago

I am starting to prefer the old non-native chooser: at least it lets you choose between "upload" and "upload then open". The native one does not.

stdedos commented 6 months ago

I am starting to prefer the old non-native chooser: at least it lets you choose between "upload" and "upload then open". The native one does not.

Yeah, that's what I meant:

Just checking. It is "slight" deviation of your current experience (default action was "Open").


But also

... tbh, I do prefer the upload function to upload, instead of open

Probably you could do it with checkboxes, but I do agree nothing beats a "Upload / Open (remote) / Cancel" combo from a functionality standpoint. ... and nothing beats native look & feel either :sweat_smile:

totaam commented 6 months ago

Partially reverted: c594c346db9ad6037576b8e8c3b2a0bfcfbe0376

stdedos commented 6 months ago

... so, FILE_CHOOSER_NATIVE=2 does my stuff :upside_down_face: :heart:

stdedos commented 6 months ago

Partially reverted: c594c34

Do you mind swapping the options?

Response Codes Gtk.FileChooserNative inherits from Gtk.NativeDialog, which means it will return Gtk.ResponseType.ACCEPT if the user accepted, ...

In your code:

https://github.com/Xpra-org/xpra/blob/5486d94c3d7ab7f5e1d6a249ce166e098eaaa936/xpra/client/gtk3/client_base.py#L612-L614

Which means that the dialog sends ACCEPT, but that executes a different action from the "Upload" label the button has

totaam commented 6 months ago

Sorry, I have no idea what you want me to do. You know you can just edit the file here: https://github.com/Xpra-org/xpra/blob/526c6a81925f3e21fbad5221d984e683214b409f/xpra/client/gtk3/client_base.py#L612-L613