maim
maim copied to clipboard
When using selection mode -s sometimes I get just the background
Fedora Linux 31 Awesome WM 4.3 Compositor Compton git-v0.1_beta2
Description:
- Invoke maim with the -s flag
- Select an area on the screen, possibly only within a window/client
Result:
Sometimes the screenshot only contains what's on the background
Expected results:
The screenshot contains what's within the selection rectangle
Related: Is it possible to have separate flags for capturing a single window/client or selecting an area?
Compositor Compton git-v0.1_beta2
By the time of me replying, compton is already deprecated in favour of its fork: picom.
Related: Is it possible to have separate flags for capturing a single window/client or selecting an area?
Definitely should be possible!
I have a similar issue. I get a blank background when running maim -s
on Alacritty. I'm using AwesomeWm with Picom as my compositor.
I get a blank background
It doesn't happen without a screen composer, right?
Yup, just tested it, works without the compositor.
I guess you could play around with compositor settings and maim's OpenGL flag (--no-opengl
).
I don't know what else we can do about it.
I encountered a very similar issue to this and #199. Interestingly, it's only when using awesomewm. Compositor active or not, I would get blank, transparent screenshots when selecting terminal windows running a terminal app such as vim. Doing the same on a different window manager, compositor or not, produces the correct result. Seems to be a bug or quirk with awesomewm itself.