Draw icon indicating copy to clipboard operation
Draw copied to clipboard

SVG export does not crop correctly

Open sosasees opened this issue 9 months ago • 2 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

1.0.0

Affected Android/Custom ROM version

Samsung Galaxy Android 14

Affected device model

Samsung Galaxy XCover7

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. draw, and move or resize the canvas
  2. save the image in all 3 formats
  3. see that the PNG and JPG images are cropped to the area that was visible when saving but the SVG image is cropped to the area that was visible when Paint launched

Expected behavior

when saving the image in any format, it should be cropped to the area that was visible when saving

Actual behavior

when saving the image in PNG or JPG format, it's correctly cropped to the area that was visible when saving. but when saving in SVG format, it's cropped to the area that was visible when Paint launched instead

Screenshots/Screen recordings

PNG image

JPG image

Image

SVG image

Image

Additional information

No response

sosasees avatar Feb 16 '25 21:02 sosasees

Hello! I'm an IT student and as part of my university coursework on Free and Open Source Software development, I would love to work on this issue.

I’ve already contributed to the project by fixing the eraser size issue (#25), and I’d be happy to take this one as well.

Let me know if it’s okay for me to work on it.

Douniahlt avatar Apr 22 '25 09:04 Douniahlt

Yes, feel free to work on it. See also:

  • https://github.com/FossifyOrg/Paint/blob/master/CONTRIBUTING.md
  • https://github.com/FossifyOrg/General-Discussion#contribution-rules-for-developers

naveensingh avatar Apr 22 '25 09:04 naveensingh