Thanks to visit codestin.com
Credit goes to github.com

Skip to content

precise cursor movement when capturing area #887

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

Closed
droumanet opened this issue Jul 5, 2022 · 9 comments · Fixed by #1070
Closed

precise cursor movement when capturing area #887

droumanet opened this issue Jul 5, 2022 · 9 comments · Fixed by #1070

Comments

@droumanet
Copy link

Problem: I'm frustated to try to move my mouse cursor pixel by pyxel on X AND Y axis

Solution: like the ShareX application, it would be nice to adjust position with arrows keys (with the zoom activated). That way, I'm sur to only capture pixels I want on my screenshot.

Details: when ksnip is ready to capture an area, use mouse to mouse reticule roughly then use arrows keys for pixel by pixel move, then click and keep mouse button down for second point of area with arrows keys to adjust again pixel by pixel. Release button for accepting the area.
Thanks
image

@DamirPorobic
Copy link
Member

Have you tried holding CTRL while selecting a rect area? That should give you a fine-tune window where you can resize the rect with arrow keys. Holding CTRL is optional, the fine-tuning window can be enabled by default.

@droumanet
Copy link
Author

Yes that's works but my first concern is to be precise with my initial selecting, because I could control with the magnifier.
When the area was drawn, there is no magnifier to see if I've right selected pixels I want.
Example: I want to capture only this icon with it round boxe.
image

And often, I've some missing part like this (and it took me long time to select first and last point):
image

@JeffWDH
Copy link

JeffWDH commented Feb 3, 2023

This functionality is the only thing I miss from Greenshot. Precise movement with the arrow keys while zoomed in saves having to manually crop screenshots after the fact and is a huge time saver.

@ultrablue
Copy link

Plus 1-ing this.
The ability to enable precision control prior to doing something like starting a highlight would be really useful.

Thanks!

@SebiAi
Copy link
Contributor

SebiAi commented Sep 24, 2024

This needs more attention. I just recently stumbled over this great application and this is THE ONE feature I miss. Taking a screenshot and cropping afterwards is just a hassle

@DamirPorobic
Copy link
Member

Unfortunately I don't have as much private time as I used to have back in the days to invest in this project and almost everything was developed by me. The community needs to step in help out if you want the the project to progress.

@SebiAi
Copy link
Contributor

SebiAi commented Sep 25, 2024

Unfortunately I don't have as much private time as I used to have back in the days to invest in this project and almost everything was developed by me. The community needs to step in help out if you want the the project to progress.

Understandable. I'm currently trying to set up a dev environment so I can give it a stab.

As far as I can tell, listening for arrow keys in the keyPressEvent of the AbstractSnippingArea class and then calling the mouseMoveEvent with an updated position should do the trick.

@DamirPorobic
Copy link
Member

Yes, this sounds like right way. Let me know if you get stuck then I can have a look too.

@DamirPorobic
Copy link
Member

This has been implemented. Kudos to @SebiAi who implemented the feature.

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

Successfully merging a pull request may close this issue.

5 participants