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

Window not supporting wayland native apps & Monitor returning 0,0 on wayland. #136

Open
TukanDev opened this issue Jun 5, 2024 · 0 comments

Comments

@TukanDev
Copy link

TukanDev commented Jun 5, 2024

Monitor::from_point() returns 0 for x and y of the monitor, which also makes capturing area by cropping the image kind of difficult (maybe just my skill issue so its offsetted by abit on x and alot on y).
Everything else about a monitor info seems fine.

Window::all() (or however you get it...) does not handle wayland so it only captures xorg or xwayland windows... If there is no xwayland/xorg window maximized/existing and in background it wont detect any window, HOWEVER it works obviously fine if you open wayland native app and screenshot it while being on top (incase of my dolphin file manager it will be there including any other window that was smaller/ontop of xorg/xwayland window) also possibly hide windows that are on top of targetted window so we dont get for example dolphin or any smaller window inside a window shot if on top of targetting window (ex: hide dolphin if doing window shot for focused app that is maximized in back while dolphin is just chilling in front during screenshot).

Any plans to re add area capture functions back (from before create renaming and refactor aka screenshots branch)??

I can confirm these issues affect KDE plasma (wayland) 6.0.4 on arch linux.

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

1 participant