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

Freeze image while selecting rectangular area #136

Closed
bergkvist opened this issue Jan 18, 2019 · 2 comments
Closed

Freeze image while selecting rectangular area #136

bergkvist opened this issue Jan 18, 2019 · 2 comments

Comments

@bergkvist
Copy link

When taking a screenshot of something that might change, it would be a lot better for user experience and predictability if the image was frozen while drawing out the selection.

Snipping Tool for Windows, as well as Flameshot does this.

In practice, this means the entire screenshot is captured on mouse down. When releasing the mouse button, the full screenshot is cropped according to the selection.

Right now, the capture/cropping happens at the same time: when releasing the mouse button.

@DamirPorobic
Copy link
Member

Yeah, we have similar functionality already in the snipping area widget for the the case that the compositor is disabled as in that case the snipping area can't be transparent so we take a screenshot and show it as the snipping area background. We might add a toggle to switch between those two behaviors as IMHO the current implementation works better with the delayed capture. But I do see the use case.

@DamirPorobic DamirPorobic added this to the v1.5.0 milestone Feb 24, 2019
@DamirPorobic DamirPorobic changed the title Image not frozen while selecting area Frezze image while selecting rectangular area Mar 3, 2019
@DamirPorobic DamirPorobic changed the title Frezze image while selecting rectangular area Freeze image while selecting rectangular area Mar 3, 2019
@DamirPorobic
Copy link
Member

Added new config option for switching between freezing image when selecting area or not.
image

When we freeze the image the area selection is show after the delay (if any delay was configured) and when we do not freeze it, the area selection happens before the delay.

Currently we support it only for non wayland based implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants