GithubHelp home page GithubHelp logo

Comments (12)

eigengrau avatar eigengrau commented on July 28, 2024

This is an example.

Note that the second screenshot contains transparency to the right and bottom of the selected window.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

It's expecting the x, y, w, and h of the window to be supplied as well. Glad you reported this it's not intended behavior.

I'll fix it when I can.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

Should be fixed with 84eb647. Close when you confirm it's fixed.

from maim.

eigengrau avatar eigengrau commented on July 28, 2024

Works well on 84eb647, thanks!

from maim.

Ziusudra avatar Ziusudra commented on July 28, 2024

Hi, naelstrof

I ran across this problem and see it's fixed. Could you please tag a release so the fix get pushed downstream?

And thanks for the excellent software.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

A release is tagged, 3.4.46 is the tag associated with this "fix", and the Arch team appear to have taken it in.

I'll take a look at the PKGBUILD they've made for maim, but you should check if the problem persists with the latest git release (AUR has maim-git). If it does I'll re-open this issue.

from maim.

Ziusudra avatar Ziusudra commented on July 28, 2024

Sorry, I somehow got it in my head that the fix commit after the last release.

I'll check with the AUR package.

from maim.

Ziusudra avatar Ziusudra commented on July 28, 2024

OK, also happens with maim-git.

pacman -Qs maim says local/maim-git v3.4.46.r2.g2cef0a3-1 and two lines added to im.cpp are there.

I'm probably reading this wrong and it's not the same bug.

result of maim ~/Pictures/$(date +%F-%T).png : http://imgur.com/jymdIZ0

result of maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%F-%T).png : http://imgur.com/ZZjPekL

There is nothing on stderr or stdout when run from terminal.

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

Could you get me the output of xwininfo, xprop, and slop of that window?
Does running these two scripts and clicking on the offending window produce the same results?

#!/bin/bash
eval $(slop)
maim -i ${ID}
#!/bin/bash
eval $(slop)
maim -i ${ID} -g ${G}

I'll have to look into what's wrong, but if you gave me this information it would really help, thanks!

from maim.

Ziusudra avatar Ziusudra commented on July 28, 2024

Pastebin: http://pastebin.com/kGcKEUqM

Both scripts produce this: http://imgur.com/1JkK7b6

from maim.

naelstrof avatar naelstrof commented on July 28, 2024

Should be fixed with afc2724.

from maim.

Ziusudra avatar Ziusudra commented on July 28, 2024

Confirmed. Thank you!

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.