Xpra: Ticket #1511: xpra screenshot cobbles windows together

Hi!

I am using v2.0.2-r15657 on CentOS 7. If I take a screenshot of an xpra session with two windows, the one on the right gets covered up by the one on the left.

Does anyone else have this issue? I wonder if there's a window "stacking" algorithm that needs to be tweaked.

Thank you!

-Teran



Wed, 03 May 2017 17:33:16 GMT - Antoine Martin: owner, priority, component changed; version, milestone set

Are you using the screenshot sub-command or another method? Can you attach one example?

The problem with the screenshot command is that we're not in charge of the window stacking, the client is. And so we have no record of what the stacking should be, so we just guess based on the window currently in focus, and put the OR windows on top. See browser/xpra/tags/v2.0.x/src/xpra/x11/server.py.


Wed, 03 May 2017 21:29:22 GMT - Teran McKinney: attachment set

Screenshot with terminal blacked out intentionally. (Left terminal appears fine)


Wed, 03 May 2017 21:32:49 GMT - Teran McKinney: owner changed

Hi Antoine,

Thank you for getting back to me.

This is from the xpra screenshot subcommand. Would it be possible to show all windows, regardless of focus? I am hoping to have all windows captured fully. Orientation does not matter that much by comparison, at least for my use case.

I added a screenshot. The solid black section is intentional from my part -- the left xterm rendered fine.

Sincerely, Teran


Thu, 04 May 2017 06:13:41 GMT - Antoine Martin: milestone changed

This would require a new flag of some sort as the default behaviour makes sense for most people, and then we would need some new logic to layout the windows side by side.. until it runs out of space (fixed size? 4k?), then what? The OR and other tooltip / transient-for windows would still need to be layered on top of their parent window, etc. Tricky, and I just don't have time for it, sorry. Feel free to play with that one function I linked to, this is where the changes need to go.


Thu, 20 Jul 2017 17:10:03 GMT - Antoine Martin: owner changed


Mon, 22 Jan 2018 05:53:38 GMT - Antoine Martin: status changed; resolution set

Not heard back.


Sat, 23 Jan 2021 05:26:18 GMT - migration script:

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