LinwoodDev / Butterfly

🎨 Powerful, minimalistic, cross-platform, opensource note-taking app
https://butterfly.linwood.dev
GNU Affero General Public License v3.0
885 stars 62 forks source link

[Feature request]: Improve selection tools #684

Open Luciogi opened 2 months ago

Luciogi commented 2 months ago

Is your feature request related to a problem? Please describe

Use case: When annotating pdf, User writes something on image, and want to delete some strokes, use selections tools like Rectangle selection or lasso , it also selects background and cause its deletion too

Describe your feature request!

Improve selections tools in such a way that, these only select elements which are inside selected area

Additional context

No response

Code of Conduct

CodeDoctorDE commented 2 months ago

Hi, thanks for your suggestion. This could also be related to #680 and #683. Can we combine this to a solution that this issue is covered?

I'm thinking about adding an option in the lock menu (where you can disable horizontal, vertical and zoom navigation). Maybe something like (Select only path). But it would be problematic if this is enabled by default and you want to move the image.

Maybe an option "Ignore other elements when selecting path elements"?

Luciogi commented 2 months ago

Don't you think if you go with (my) above solution, https://github.com/LinwoodDev/Butterfly/issues/680 can be avoided

CodeDoctorDE commented 2 months ago

Oh you mean this... But I think we can also change add my idea here too since if the element is only 1 pixel inside, it is inside the area. But i would add your idea too. Sorry I didn't understand the issue on the first read

Luciogi commented 2 months ago

Oh you mean this... But I think we can also change add my idea here too since if the element is only 1 pixel inside, it is inside the area. But i would add your idea too. Sorry I didn't understand the issue on the first read

Yes