Flameshot: Selecting a window in GUI mode

Created on 3 Jul 2017  Â·  18Comments  Â·  Source: flameshot-org/flameshot

When running in GUI selection mode it would be nice if the initial selection could be set to the window outlines by just left clicking a window without dragging.

Enhancement

Most helpful comment

Why not add it for X11 and then add it for Wayland once it becomes available? I don't see why applications should suffer because Wayland can't keep up. If anything stuff like this will urge Wayland to add support for it.

All 18 comments

A windows selection mode is great, but there is a problem with it:
I want to add support for Wayland, and the protocol doesn't support knowing where the windows are and its properties. Which makes adding such feature a very problematic thing to manage in such migration.

Why not add it for X11 and then add it for Wayland once it becomes available? I don't see why applications should suffer because Wayland can't keep up. If anything stuff like this will urge Wayland to add support for it.

I'm thinking about implementing window detection using shape detection in the image itself. That way it wont depend on the desktop environment and could be easier to port Flameshot to other systems someday.
I'll try to find a self-contained solution for rectangle detection because I don't what to add a heavy dependency like OpenCV.

I'd like a window screenshot feature that can work like this: https://askubuntu.com/questions/50604/application-for-taking-pretty-screenshots-like-os-x-does

just copy the way shutter does it.

Also you can lookup Hotshots code as example of window selector: https://github.com/obiwankennedy/HotShots

I'll try to find a self-contained solution for rectangle detection

This is certainly cool, but there are problems... if a window have transparent surroundings, and if you want to include that too, I'm afraid you can not detect the correct area to capture.

I agree, and now I think it's better to support native mechanics for window selection as a separated mode.

I plan to release a new version soonâ„¢ when I end the exams.
This could be implemented for Flameshot 0.7 (I'd like to push more features but my time is limited)

This is a great tool, but it needs window selection. Also, it should be possible to add a dropshadow to make it similar to the way macOS takes screenshots.

great tool, the only thing I lack is the ability to screenshot a window. please make it available at least for x11!

Also need this feature. Waiting in hope!

Or just copy on how maim did it. maim -i $(xdotool getactivewindow) filename.png

This is the only feature I miss when leaving maim for flameshot.

Any update on this feature? Lacking window selection support is probably the only thing that makes me keep Shutter installed instead of just using Flameshot for everything.

Would also be very interested in this feature.

I would love this feature!

i love this suggest! :+1:

I agree my #799 could be solved by this like Left-Click to snapshot the window instead of a command line parameter. Just an option for including window decoration or not would be helpful.

This feature is so necessary :D

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrinvisible0 picture mrinvisible0  Â·  4Comments

makz27 picture makz27  Â·  4Comments

xstable picture xstable  Â·  3Comments

mmesnjak picture mmesnjak  Â·  4Comments

abba23 picture abba23  Â·  3Comments