Git Product home page Git Product logo

Comments (5)

orhun avatar orhun commented on July 21, 2024 1

I've been looking into this issue and I'm afraid it might be a limitation about Xlib. I'll keep searching for alternative implementations and post results here.

from menyoki.

orhun avatar orhun commented on July 21, 2024

Hey!

As far as I know, window decorations are generally a part of the parent window (although it depends on the compositor). So I added --parent flag to record/capture subcommands for using the parent window for those operations. (5e7b057)
I'm not sure if this approach will fix your issue but it was a necessary flag to add at the end of the day.

Please let me know if it works or not for further research.

from menyoki.

kattjevfel avatar kattjevfel commented on July 21, 2024

Doesn't seem to work with --parent, in fact all it changes is that there's no longer a green border visible, other than for seemingly only firefox (my only gtk application, so that could be it), but it also didn't show with steam so I'm not 100% sure.

On another perhaps relevant note, slop is listed as an optdepend for window selection, but it doesn't make a difference whatsoever having it installed or not.

from menyoki.

orhun avatar orhun commented on July 21, 2024

Doesn't seem to work with --parent, in fact all it changes is that there's no longer a green border visible, other than for seemingly only firefox (my only gtk application, so that could be it), but it also didn't show with steam so I'm not 100% sure.

What are the window names (logs) changing into when you use --parent? What happens when you capture the window although there's not a green border?

On another perhaps relevant note, slop is listed as an optdepend for window selection, but it doesn't make a difference whatsoever having it installed or not.

Here. Maybe I should remove that since it doesn't affect the runtime.

from menyoki.

kattjevfel avatar kattjevfel commented on July 21, 2024

What are the window names (logs) changing into when you use --parent? What happens when you capture the window although there's not a green border?

Sorry if I wasn't clear, it's only visual, the screenshot is exactly the same just that the border doesnt show up.

Anyway here's comparing with and without --parent:

katt@main ~ » menyoki capture --parent
[2020-12-16T17:04:31 INFO menyoki::x11::display] 
 Window title  -> "(?)"
 Window size   -> [1207x1019]
^Celected area -> [1207x1019] 
katt@main ~ » menyoki capture
[2020-12-16T17:04:35 INFO menyoki::x11::display] 
 Window title  -> "katt@main:~"
 Window size   -> [1207x1019]
^Celected area -> [1207x1019]

Both are focusing my terminal emulator

On another perhaps relevant note, slop is listed as an optdepend for window selection, but it doesn't make a difference whatsoever having it installed or not.

Here. Maybe I should remove that since it doesn't affect the runtime.

Ah, right, I assumed the program would make use of it directly, I hadn't read that part, my bad.

from menyoki.

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.