xpra icon
Bug tracker and wiki

Opened 19 months ago

Last modified 12 months ago

#2243 closed task

basic gtk wayland client — at Version 2

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: platforms Version: 2.5.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Needs many workarounds for the never ending API deprecation in GTK3.
Many API calls now fail or return nothing: no default screen, no root window, etc. No x11 gl code, no x11 clipboard, no keyboard layout, etc

We should be able to at least run the client without xwayland:

DISPLAY="" GDK_BACKEND=wayland /usr/bin/python3 /usr/bin/xpra attach tcp://localhost:10000/

Related to #1925. For server support, see #387

Change History (2)

comment:1 Changed 19 months ago by Antoine Martin

Status: newassigned


  • r22236 transparency issue: GTK3 on wayland always paints with alpha
  • r22237 don't try to load the native X11 clipboard (#812)
  • r22239 keymap, dpi, transparency check, x11 display check, etc..

Still TODO:

  • re-implement all the functionality currently using the x11 bindings (ie: workspace, etc)
  • get DPI from somewhere
  • get_mouse_position : make sure the server will ignore this (-1, -1) position if we can't get a real value
  • get_current_modifiers : as above - #1942 may help
  • icon theme missing : gtk bug? do we care?
  • get the keymap from somewhere
  • get_root_size : query all monitors? Add them up? (we can still get monitors from the default display, example: https://askubuntu.com/a/1104252/14126)
  • window has no decorations
  • opengl context adapter


Last edited 19 months ago by Antoine Martin (previous) (diff)

comment:2 Changed 19 months ago by Antoine Martin

Description: modified (diff)
Note: See TracTickets for help on using tickets.