Xpra: Ticket #192: mouse cursor shown as 'X' in some applications.

Is some applications and in some dialogs mouse cursor looks like 'X' even though server and client configuration are similar i.e. same set of packages etc.

While most of the time cursor looks normal occasionally on dialogs OK/Cancel cursor turns to 'X'.

In "Gnucash" application cursor stays 'X' most of the time except for hovering on links, navigating menu or selecting text.

It will be nice to have this resolved after other issues of greater priority. Thanks.



Mon, 08 Oct 2012 03:14:54 GMT - onlyjob:

"geany" is another application where mouse cursor looks like 'X' in all panels, dialogs and menus.


Mon, 08 Oct 2012 09:51:40 GMT - Antoine Martin: status, milestone changed

the 'X' is the default X11 cursor, what you are seeing is the cursor the application has asked for, but using the default theme rather than the theme your client normally uses.

You should be able to set xpra to use the same theme (using whatever mechanism your DE uses - .Xresources?)

$ xrdb -global -query | grep Xcursor
Xcursor.size:	18
Xcursor.theme:	Adwaita
Xcursor.theme_core:	true

We should not try forwarding the client's theme name automatically as there are no guarantees that the theme the client is requesting actually exists on the server.

We should send the cursor name from XFixesCursorImage (if the server's XFIXES_MAJOR version is 2 or higher) to the client instead of sending the cursor's pixels. Then the client can request this new cursor by name and should therefore use the default client theme. Would save bandwidth too.


Sat, 03 Nov 2012 09:28:05 GMT - Antoine Martin:

The proper ticket for this is #205 (use cursor_name instead of pixels).

Can you try trunk or the beta 0.8 packages available here and let me know if that fixes your problem?


Sat, 03 Nov 2012 10:52:22 GMT - onlyjob:

I tried trunk r2030 but there is no difference whatsoever neither in "geany" not in "gnucash". (Cursor still look like 'X' as before).

xrdb -global -query | grep Xcursor

returns nothing.


Sun, 04 Nov 2012 09:43:16 GMT - Antoine Martin:

I think you get what you expect to find if you run this command in xpra:

xsetroot -cursor_name  left_ptr

(replace left_ptr with the default cursor used in your client session)

Now, I need to figure out how to get this value from the client and apply it to the server.


Sun, 04 Nov 2012 10:57:20 GMT - Antoine Martin: status changed; resolution set

fixed in r2035 (see changeset for details)


Sun, 04 Nov 2012 12:07:56 GMT - onlyjob:

Thank you, it works very well.


Sat, 23 Jan 2021 04:48:02 GMT - migration script:

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