GithubHelp home page GithubHelp logo

blank screenshot about maim HOT 17 CLOSED

eoli3n avatar eoli3n commented on July 28, 2024 3
blank screenshot

from maim.

Comments (17)

naelstrof avatar naelstrof commented on July 28, 2024 4

Ok, release candidate was merged. New tag released: https://github.com/naelstrof/maim/releases/tag/v4.4.47

It works fine from what I tested. Sorry it took so long!

from maim.

alezost avatar alezost commented on July 28, 2024

I recall I had the same problem in the past but it began to work
since... I don't remember what version. Currently I use 3.4.47, what
maim --version do you have?

from maim.

eoli3n avatar eoli3n commented on July 28, 2024

maim v3.4.47

from maim.

alezost avatar alezost commented on July 28, 2024

@Streetwalrus says it's related to Xorg 1.19. I still use Xorg 1.18, and "it works for me", so it's probably the root of the issue indeed.

from maim.

tckmn avatar tckmn commented on July 28, 2024

I can confirm that this issue recently started happening to me as well—selecting with click and drag and full screen screenshots work perfectly, but clicking a window results in a blank image. I am also on Arch with i3 and recently updated Xorg to 1.19.

from maim.

676339784 avatar 676339784 commented on July 28, 2024

Unsure if this applies to you guys, but i find that maim -s and then clicking/hitting Enter only breaks on urxvt. Doing the same works in Firefox, as an example.

from maim.

9ary avatar 9ary commented on July 28, 2024

It breaks on chromium and telegram for me as well, haven't tried anything else.

from maim.

rhssk avatar rhssk commented on July 28, 2024

Same problem here with maim 3.4.47. -s + click gets window partially or not at all (just black background) while with -s + mouse slide or no -s at all works perfectly. Maybe this is an issue with slop?

from maim.

CamilleScholtz avatar CamilleScholtz commented on July 28, 2024

Exact same problem here @rhssk.

With click: https://punpun.xyz/bznv.png
with drag: https://punpun.xyz/puq1.png

from maim.

9ary avatar 9ary commented on July 28, 2024

We've already established that it's Xorg 1.19 that is at fault, not slop nor maim.

from maim.

CamilleScholtz avatar CamilleScholtz commented on July 28, 2024

@Streetwalrus Is this really xorg though? I'm writing a screenshot tool for fun (and partly because of this issue), and my program does window selection scrots just fine.

EDIT: I didn't read the linked thread.. :)

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

OK since I found out Wayland literally doesn't support screen shots. Instead of porting maim to Wayland I'm going to rewrite maim to not use imlib2.
Meanwhile a temporary fix would be to not use the window ID flag. (Maim uses it by default when selecting Windows) This might involve writing a tiny script that chains slop into maim's geometry flag.

from maim.

dmitry-saritasa avatar dmitry-saritasa commented on July 28, 2024

Would be nice to support wayland.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

It will have limited support. I have to support each individual compositor, and Wayland is too secure to allow for window screenshots..

from maim.

Lemmmy avatar Lemmmy commented on July 28, 2024

Unfortunately the latest versions of several packages on my system including my DE require Xorg 1.19 now, so I can't keep it downgraded, meaning it's time to move on from maim for me...

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

I've fixed the issue in the release candidate. You can find it here with some basic instructions on how to install: https://github.com/naelstrof/maim/tree/maim-release-candidate

The interface has changed dramatically, there's a few bugs left to squash, and help/man pages haven't been written yet. Up to you to switch though Lemmmy, good luck!

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

I'm going to close this thread because I believe the issue is resolved.

from maim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.