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
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.
Screenshot with terminal blacked out intentionally. (Left terminal appears fine)
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
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.
Not heard back.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1511