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

[Feature request]: Only allow strokes to be deleted with path eraser #680

Open
1 task done
MrGumpIT opened this issue May 1, 2024 · 11 comments
Open
1 task done
Assignees
Labels
feature-request A request for a new feature
Milestone

Comments

@MrGumpIT
Copy link
Contributor

MrGumpIT commented May 1, 2024

What happened?

On android and windows, if you import a PDF, then write on it, if you use the Erase Stroke it will also delete the PDF

Version

v2.1.0-rc.1

Platform

Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@MrGumpIT MrGumpIT added the bug Something isn't working label May 1, 2024
@CodeDoctorDE
Copy link
Member

This is intentional. Should we disable this? Only the normal eraser ignores other elements that are not paths

@MrGumpIT
Copy link
Contributor Author

MrGumpIT commented May 2, 2024

I think so, it's confusing, when I want to delete a pdf page or an image or whatever, I just select it and delete it

@CodeDoctorDE
Copy link
Member

CodeDoctorDE commented May 2, 2024

I'm currently thinking:

  • The normal eraser only erases a part of the path
  • The path eraser erases everything it can see

We could make an option to path eraser to only erase path elements and add it to the property view.
The name is also a bit confusing

@MrGumpIT
Copy link
Contributor Author

MrGumpIT commented May 2, 2024

I think both should only erase strokes of the pen. anything else labels, PDFs, images can be selected and deleted, it's a common use in apps like this

@CodeDoctorDE
Copy link
Member

Hmm okay and how should the other elements be removed?

@MrGumpIT
Copy link
Contributor Author

MrGumpIT commented May 2, 2024

selecting and deleting them

@CodeDoctorDE
Copy link
Member

I would combine it with #683 and put it in the 2.2 release.
It's a bigger feature and I just want to go forward with it.
Maybe we add an optional feature to include all elements

@CodeDoctorDE CodeDoctorDE changed the title [Bug]: Delete stroke, delete the PDF as well [Bug]: Only allow strokes to be deleted with path eraser May 2, 2024
@CodeDoctorDE CodeDoctorDE changed the title [Bug]: Only allow strokes to be deleted with path eraser [Feature request]: Only allow strokes to be deleted with path eraser May 2, 2024
@CodeDoctorDE CodeDoctorDE added feature-request A request for a new feature and removed bug Something isn't working labels May 2, 2024
@CodeDoctorDE CodeDoctorDE added this to the 2.2 milestone May 2, 2024
@MrGumpIT
Copy link
Contributor Author

What do you think about a similar approach where the user selects what to delete
Screenshot_20240517-103431

@CodeDoctorDE
Copy link
Member

Looks good. Maybe we add this as a toolbar in the path eraser and eraser

@MrGumpIT
Copy link
Contributor Author

it could be a solution. in my opinion you should either let the user decide what to delete, adding the icons in the tools, or have the eraser delete only pen strokes (drawings etc.) and let it delete everything else (images, pdfs etc.) using the selection. you choose which approach is best.

@CodeDoctorDE
Copy link
Member

I think a toolbar is better. If you want to delete multiple things it's easier to use the eraser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature
Projects
Status: 📕 Todo
Development

No branches or pull requests

2 participants