xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 5 years ago

Closed 5 years ago

Last modified 17 months ago

#1583 closed defect (fixed)

hello startup-complete race

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 2.1
Component: core Version: trunk
Keywords: Cc:


If a window is being resized (ie: another client keeps it mapped, or using shadow / desktop servers and randr) the new client may get a window-move-resize packet before it has had a chance to initialize the packet handlers, causing a warning to be printed.

Looks like we need an internal "startup-complete" ("handshake"? "hello"?) state flag to ignore all such events until we've been able to send the hello back. (which sets the authenticated packet handlers)
Alternatively, the client could null route them.

Similar problem for clipboard packets, which we may process before authentication is complete..

Change History (2)

comment:1 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: newclosed


  • r16386: keep track of "hello sent", don't send window packets before that
  • r16387: use "hello sent" flag in more places, fix "raise_window" to honour can_send_window
  • r16388: fix clipboard (removing ugly and slow special case for clipboard packets)

comment:2 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.