naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.13k stars 78 forks source link

When using selection mode -s sometimes I get just the background #206

Open arielnmz opened 4 years ago

arielnmz commented 4 years ago

Fedora Linux 31 Awesome WM 4.3 Compositor Compton git-v0.1_beta2

Description:

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?

foxpy commented 3 years ago

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!

dylanpjx commented 2 years ago

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.

foxpy commented 2 years ago

I get a blank background

It doesn't happen without a screen composer, right?

dylanpjx commented 2 years ago

Yup, just tested it, works without the compositor.

foxpy commented 2 years ago

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.

yoshiyoshyosh commented 1 year ago

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.