Xpra: Ticket #1248: Xephyr resizeable window goes into a loop

Just start Xephyr as a child: --start=Xephyr -resizeable, then it goes into a spin as soon as you try to resize it. Log attached.



Thu, 07 Jul 2016 11:45:21 GMT - Antoine Martin: attachment set

log of server endless resize loop


Thu, 07 Jul 2016 12:34:42 GMT - Antoine Martin: status changed

Sequence of events from the log sample above:

All further events follow the same pattern. That's before the problem occurs. At some point we stop resizing yet the stream of ConfigureNotify events does not stop: whilst we resize the corral window (up or down), Xephyr is busy resizing its own window to match, and then we try to match this size.. causing the loop:

resize_corral_window() resize from (712, 481) to (705, 480)
resize_corral_window() resize from (705, 480) to (712, 481)
resize_corral_window() resize from (712, 481) to (705, 480)

etc

Maybe #723 would help with this? Or this patch: ephyr: Don't configure window while responding to configure events


Thu, 07 Jul 2016 12:38:03 GMT - Antoine Martin: attachment set

actual ConfigureNotify? loop


Thu, 07 Jul 2016 16:25:46 GMT - Antoine Martin: attachment set

trying to rate limit corral window resizing


Thu, 07 Jul 2016 16:59:38 GMT - Antoine Martin: attachment set

upstream patch


Thu, 07 Jul 2016 17:04:06 GMT - Antoine Martin: status changed; resolution set

The bug is fixed in Xephyr by applying the patch attached, I have requested its inclusion in a future stable update: Re: ephyr: Don't configure window while responding to configure events

Closing as not an xpra bug. Follow up ticket: #1249, further Xephyr geometry issues.


Tue, 12 Jul 2016 16:52:22 GMT - Antoine Martin: milestone changed

Milestone renamed


Sat, 23 Jan 2021 05:19:04 GMT - migration script:

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