Skip to content
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

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

Open
arielnmz opened this issue May 11, 2020 · 6 comments
Open

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

arielnmz opened this issue May 11, 2020 · 6 comments

Comments

@arielnmz
Copy link

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?

@foxpy
Copy link
Collaborator

foxpy commented Dec 30, 2020

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
Copy link

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
Copy link
Collaborator

foxpy commented Jun 18, 2022

I get a blank background

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

@dylanpjx
Copy link

Yup, just tested it, works without the compositor.

@foxpy
Copy link
Collaborator

foxpy commented Jun 19, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants