I have trouble to save the window positioning, I can only save window dimensions.
I got initial position of new window with the new-window packet where x and y values are 0 (zero). When move this window to the new location I send new values for x, y and old values for the window size (width and height values not changed) with the configure-window packet. In that case server don't send any new packet, no answer from the server. When send new data for changed window's dimensions then I got answer from the server in window-move-resize packet where the window position values fox x and y are 0 (zero). For window dimensions I got correct values.
I found temporary solution: when send values fox x and y that are not zero I also have to change values for window's width and height. In that case I got correct values in window-move-resize packet: values for x and y are equals to the values from the configure-window packet.
Bellow are the values for the client capabilities:
version=2.4.3, desktop_size=[663, 895], dpi=96, client_type=Java, screen_sizes=[663, 895], auto_refresh_delay=500, png=70, encoding=png, encoding.icons.max_size=[40, 40], encoding.flush=true, encoding.transparency=true, encodings=[jpeg, png, rgb, rgb24, rgb32], encodings.core=[jpeg, png, rgb, rgb24, rgb32], encodings.cursor=[png], encoding.rgb_zlib=true, encoding.rgb24zlib=true, encodings.window-icon=[png], zlib=true, lzo=false, compression_level=1, windows=true, clipboard=false, notifications=false, cursors=true, named_cursors=false, bell=true, bencode=false, rencode=false, chunked_compression=false, platform=linux, uuid=(value hidden) keyboard=true, system_tray=false, xkbmap_layout=si
png=70,
I'm not sure what that is for - probably doesn't do anything.
When move this window to the new location I send new values for x, y and old values for the window size (width and height values not changed) with the configure-window packet. In that case server don't send any new packet, no answer from the server.
That's expected.
When send new data for changed window's dimensions then I got answer from the server in window-move-resize packet where the window position values fox x and y are 0 (zero).
Then that means that the server - or the application decides that it wants to override the new location and force it back to 0,0.
-d geometry
debug output)
Not heard back, closing.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2212