-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshots wrong when display rotated #3259
Comments
Thanks @DAVID9SE, I can confirm this happening, thanks for letting us know, we'll get to work on a fix soon. |
Reproducer:
|
Actually… this may be a problem with |
Maybe related: #3236 This may be one big issue with our clip area disrespecting transformations |
This looks quite suspect:
|
Update for posterity's sake: setting the correct transform actually hurts us a lot more than it should. However, using a buffer size that has the correctly transformed extents fixes us 😄 |
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
…hat the final image is correct (#3292) fixes #3259 # Screenshots ## Left ![20240318_15h54m23s_grim](https://github.com/canonical/mir/assets/25062299/7815dfb9-ed03-491f-8422-e417d5d39d3b) ## Right ![20240318_15h54m44s_grim](https://github.com/canonical/mir/assets/25062299/412bd5a8-4935-4c4f-8c9a-6c710bf232b4) ## Inverted (Scaled) ![20240318_15h55m27s_grim](https://github.com/canonical/mir/assets/25062299/4bd4a102-c666-431f-86f8-ec005d3c457a) ## Normal ![20240318_15h56m07s_grim](https://github.com/canonical/mir/assets/25062299/f50be354-d664-4589-a75a-63e818d8597f)
## Release Notes mir (2.16.4) UNRELEASED; urgency=medium * Bugfix release: - Ignoring zero length gamma curves for KMS outputs (Fixes: #3238) - Add hardware cursor support (Fixes: #3198) - Screenshots now respect clipping areas and rotated outputs (Fixes: #3236) (Fixes: #3259) - Fixed custom attributes propagation on outputs (Fixes: canonical/ubuntu-frame#172) - Handle the Ubuntu 64-bit time_t apocalypse (Fixes: #3285)
Hi!
I am using ubuntu frame for a kiosk. Everything went smoothly but now I am trying to implement screenshot-based sanity checks. When I call
ubuntu-frame.screenshot
the output image is shifted.I am using a [email protected] screen that is rotated so orientation is set to left.
The program running is wpe-webkit-mir-kiosk.
Thanks a lot in advance
The text was updated successfully, but these errors were encountered: