~jolars


#39 Screenshots from rotated display are rotated a month ago

Ticket created by ~jolars on ~whynothugo/shotman

I have a monitor that's in portrait mode, rotated 90 degrees counterclockwise. When I take a screenshot using shotman, I see this: https://imgur.com/C9rd7Y6

In other words, the screenshot is rotated (or unrotated, I guess, depending on how you see it). I am on shotman 0.4.7, running on sway through nixos.

Using

grim -g "$(slurp)" - | wl-copy

however, the result looks fine: https://imgur.com/QxSEHEo

Grim has some code that deals with this: https://gitlab.freedesktop.org/emersion/grim/-/blob/17da4b1f65cfd5d51a3a456f3ee38bd96861c745/output-layout.c

Maybe this is also related to https://github.com/emersion/xdg-desktop-portal-wlr/pull/245?

Thanks for a great screenshot tool!

#38 panicked a month ago

Comment by ~jolars on ~whynothugo/shotman

Oops. Sorry, never meant to open this. I accidentally posted this instead of searching.

#38 panicked a month ago

Ticket created by ~jolars on ~whynothugo/shotman