flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
25k stars 1.6k forks source link

Setting to draw arrows pointer first #2144

Open zoe-codez opened 2 years ago

zoe-codez commented 2 years ago

Feature Description

It'd be awesome if there was a setting to that let the arrows draw using the first click to set the pointer of the arrow, then being able to drag the tail where ever (reversing the current functionality).

The current tail first approach makes the arrow very difficult to use for more complex pictures (especially when doing screenshots of logs). Right now, I need to drop the tail end of the arrow off some place else, then re-find the content I want to draw attention to. There is more planning that needs to go into making sure that the arrow doesn't overlap any needed content while doing it's job.

UnkwUsr commented 11 months ago

Hello. I did some work in this direction in the past. See my branch: https://github.com/UnkwUsr/flameshot/tree/reverse_arrowtool

For now it works and looks nice (though not hugely tested). Demo:

https://github.com/flameshot-org/flameshot/assets/49063932/9eef6962-8f2f-4ef4-8cc1-1b17be8bc90e

Currently it just replaces normal behavior, so no settings, etc.

If anyone want to continue this, feel free to base on my work.