Xpra: Ticket #2300: xpra-client gnome-terminal: mouse pointer disappears on typing, need to click to reappear

application: gnome-terminal

Now the mouse pointer disappears when typing. You need to click before it becomes visible again, even if you move the mouse (which usually makes the pointer re-appear)

Is this an accepted version for the cursor bug?

Xpra-Python3-x86_64_3.0-r22449\xpra_cmd" attach ssh://user@ip/2 -d cursor --opengl=no
2019-05-17 11:22:50,469 Xpra GTK3 client version 3.0-r22449 64-bit
2019-05-17 11:22:50,472  running on Microsoft Windows 10
2019-05-17 11:22:50,527 Warning: failed to import opencv:
2019-05-17 11:22:50,528  No module named 'cv2'
2019-05-17 11:22:50,528  webcam forwarding is disabled
2019-05-17 11:22:51,412 GStreamer version 1.14.4 for Python 3.7.2 64-bit
2019-05-17 11:22:52,013  keyboard settings: layout=us
2019-05-17 11:22:52,018  desktop size is 1600x900 with 1 screen:
2019-05-17 11:22:52,020   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2019-05-17 11:22:52,021     (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131)
2019-05-17 11:22:57,612 enabled remote logging
2019-05-17 11:22:57,615 Xpra GTK2 X11 server version 3.0-r22432 64-bit
2019-05-17 11:22:57,616  running on Linux Ubuntu 16.04 xenial
2019-05-17 11:22:57,640 Attached to ip:22
2019-05-17 11:22:57,642  (press Control-C to detach)
(Xpra_cmd.exe:13104): Pango-WARNING **: 11:22:58.258: couldn't load font "Bitstream Vera Sans Not-Rotated 11.7294921875", falling back to "Sans Not-Rotated 11.7294921875", expect ugly output.
2019-05-17 11:22:58,297 used PIL to convert png cursor to raw
2019-05-17 11:22:58,302 set_windows_cursor(dict_values([ClientWindow(1)]), args[13])
2019-05-17 11:22:58,304 make_cursor: has-name=True, has-cursor-types=True, xscale=1, yscale=1, USE_LOCAL_CURSORS=True
2019-05-17 11:22:58,307 server cursor sizes: default=24, max=128
2019-05-17 11:22:58,308 new b'raw' cursor at 7,7 with serial=0x1, dimensions: 16x16, len(pixels)=1024
2019-05-17 11:22:58,309 default cursor size is 32, maximum=(32, 32)
2019-05-17 11:22:58,315 make_cursor(..)=<__gi__.GdkWin32Cursor object at 0x00000000193dac60 (GdkWin32Cursor at 0x0000000018652a40)>
2019-05-17 11:22:58,659 used PIL to convert png cursor to raw
2019-05-17 11:22:58,664 set_windows_cursor(dict_values([ClientWindow(1)]), args[13])
2019-05-17 11:22:58,667 make_cursor: has-name=True, has-cursor-types=True, xscale=1, yscale=1, USE_LOCAL_CURSORS=True
2019-05-17 11:22:58,669 server cursor sizes: default=24, max=128
2019-05-17 11:22:58,672 new b'raw' cursor at 1,1 with serial=0x4, dimensions: 1x1, len(pixels)=4
2019-05-17 11:22:58,677 default cursor size is 32, maximum=(32, 32)
2019-05-17 11:22:58,688 make_cursor(..)=<__gi__.GdkWin32Cursor object at 0x000000001a6dbab0 (GdkWin32Cursor at 0x0000000018799540)>
2019-05-17 11:22:59,553 set_windows_cursor(dict_values([ClientWindow(1)]), args[0])
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/clipboard.py", line 176, in _process_clipboard_packet
  File "E:\Xpra\trunk\src/xpra/clipboard/clipboard_core.py", line 542, in process_clipboard_packet
  File "E:\Xpra\trunk\src/xpra/clipboard/clipboard_core.py", line 505, in _process_clipboard_contents
  File "E:\Xpra\trunk\src/xpra/clipboard/gdk_clipboard.py", line 66, in _munge_wire_selection_to_raw
  File "E:\Xpra\trunk\src/xpra/clipboard/clipboard_core.py", line 425, in _munge_wire_selection_to_raw
Exception: unhanled encoding: ('atoms', 'ATOM', 32)
2019-05-17 11:23:00,780 used PIL to convert png cursor to raw
2019-05-17 11:23:00,784 set_windows_cursor(dict_values([ClientWindow(1)]), args[13])
2019-05-17 11:23:00,786 make_cursor: has-name=True, has-cursor-types=True, xscale=1, yscale=1, USE_LOCAL_CURSORS=True
2019-05-17 11:23:00,790 server cursor sizes: default=24, max=128
2019-05-17 11:23:00,796 new b'raw' cursor at 1,1 with serial=0x4, dimensions: 1x1, len(pixels)=4
2019-05-17 11:23:00,799 default cursor size is 32, maximum=(32, 32)
2019-05-17 11:23:00,810 make_cursor(..)=<__gi__.GdkWin32Cursor object at 0x000000001a6dbfc0 (GdkWin32Cursor at 0x0000000018799580)>
2019-05-17 11:23:01,600 Warning: limited clipboard support for CLIPBOARD
2019-05-17 11:23:01,605  g-invoke-error-quark: Class GtkInvisible doesn't implement selection_get (1)
2019-05-17 11:23:02,715 set_windows_cursor(dict_values([ClientWindow(1)]), args[0])
2019-05-17 11:23:03,390 used PIL to convert png cursor to raw
2019-05-17 11:23:03,396 set_windows_cursor(dict_values([ClientWindow(1)]), args[13])
2019-05-17 11:23:03,399 make_cursor: has-name=True, has-cursor-types=True, xscale=1, yscale=1, USE_LOCAL_CURSORS=True
2019-05-17 11:23:03,402 server cursor sizes: default=24, max=128
2019-05-17 11:23:03,407 new b'raw' cursor at 7,7 with serial=0x1, dimensions: 16x16, len(pixels)=1024
2019-05-17 11:23:03,410 default cursor size is 32, maximum=(32, 32)
2019-05-17 11:23:03,423 make_cursor(..)=<__gi__.GdkWin32Cursor object at 0x000000001a6f33a8 (GdkWin32Cursor at 0x0000000018652a40)>
2019-05-17 11:23:04,178 set_windows_cursor(dict_values([ClientWindow(1)]), args[0])
2019-05-17 11:23:04,526 got signal SIGINT
2019-05-17 11:23:04,532 exiting


Fri, 17 May 2019 09:52:29 GMT - Antoine Martin: owner changed

Works fine here, tested with both with python2 and python3 builds (python3 needed this fix on Xenial: r22737), I've tested with r22272 and r22647.

The cursor switches to the "arrow" when I type, then back to the "normal" gnome-terminal if I move the cursor.

Can you try with a non-win32 client? And also a newer one? (new gtk2 and gtk3 builds uploaded today)


Fri, 17 May 2019 11:24:43 GMT - stdedos:

Kindly add the zip-client-builds :-)


Thu, 23 May 2019 14:54:15 GMT - Antoine Martin:

Kindly add the zip-client-builds :-)

Oops, forgot. Done now. (r22768 builds)


Fri, 24 May 2019 12:37:02 GMT - stdedos: status changed; resolution set

Verified as working. As soon as you touch the mouse, it re-appears.


Sat, 23 Jan 2021 05:47:35 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2300