#2212 closed defect (needinfo)
Values x and y for positioning window are always 0 (zero)
Reported by: | Dušan Vejnovič | Owned by: | Dušan Vejnovič |
---|---|---|---|
Priority: | minor | Milestone: | 3.0 |
Component: | client | Version: | 2.4.x |
Keywords: | Cc: |
Description (last modified by )
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
Change History (3)
comment:1 Changed 3 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 2.5 → 3.0 |
Owner: | changed from Antoine Martin to Dušan Vejnovič |
Priority: | major → minor |
comment:2 Changed 3 years ago by
Resolution: | → needinfo |
---|---|
Status: | new → closed |
Not heard back, closing.
comment:3 Changed 17 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2212
I'm not sure what that is for - probably doesn't do anything.
That's expected.
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)