#1511 closed defect (wontfix)
xpra screenshot cobbles windows together
Reported by: | Teran McKinney | Owned by: | Teran McKinney |
---|---|---|---|
Priority: | minor | Milestone: | future |
Component: | server | Version: | 2.0.x |
Keywords: | screenshot | Cc: |
Description
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
Attachments (1)
Change History (7)
comment:1 Changed 4 years ago by
Component: | client → server |
---|---|
Milestone: | → 2.0 |
Owner: | changed from Antoine Martin to Teran McKinney |
Priority: | major → minor |
Version: | → 2.0.x |
Changed 4 years ago by
Attachment: | xpra-screenshot.png added |
---|
Screenshot with terminal blacked out intentionally. (Left terminal appears fine)
comment:2 Changed 4 years ago by
Owner: | changed from Teran McKinney to Antoine Martin |
---|
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
comment:3 Changed 4 years ago by
Milestone: | 2.0 → future |
---|
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.
comment:4 Changed 4 years ago by
Owner: | changed from Antoine Martin to Teran McKinney |
---|
comment:6 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1511
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.