Export (or copy) drawing or selection and insert (or paste) results in an image that has missing pixels on the right and bottom. It looks like it is missing just one pixel. Smells of an out by one error somewhere.
Steps to Reproduce:
1. Create a drawing with a single box, with a fill colour and black outline.
2. Select All.
3. Copy to clipboard.
4. Paste in Writer document (also MS Word document, or email, etc).
5. Try with the box outline width being 1 and 2 pixels.
Image is inserted/pasted with missing pixels on right and bottom.
Expect to have an image with a box with all pixels. i.e. the box outline is visible and has the correct pixel width.
User Profile Reset: No
I've encountered this issue over quite a number of versions of LibreOffice, both exporting the image to various formats (PNG, BMP, etc) and importing into various applications (e.g MS Word, LO Writer), using a mix of operating systems (e.g. Draw on OS X, inserting into MS Word on MS Win7).
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0
Please attach a PNG screenshot of the Writer document, so we can measure the pixels.
I did it for a box with borders 2,3 pt wide and in GIMP I could verify the width was correct (by moving around a selection).
Dear Bug Submitter,
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
I can no longer replicate this using LO v5.4.3 (on Mac OS X).
I can successfully copy and paste diagrams from Draw to Writer and all pixels are viewable.
I can export the diagram from Draw (using PNG and selection box ticked) and then drag the file to a Writer document, where it is inserted and all pixels are viewable.
I also tried SVG, and it does seem to render with some artifacts (some lines look thinner and/or missing).
If I scale the PNG image (using shift and drag a corner handle), then some lines look thicker than others.
This may be a scaling issue, which may or may not be easily "fixed". Still insertion of some image types don't look very nice (e.g. SVG).
I will upload some images to demonstrate.
Created attachment 138833 [details]
Draw file with drawing to copy/import into Writer
Created attachment 138834 [details]
Exported drawing selection to PNG file
Created attachment 138835 [details]
Exported drawing selection to SVG file
Created attachment 138836 [details]
Writer file with drawing copy/pasted, and PNG/SVG image imported
Created attachment 138837 [details]
Screen shot of Writer doc with copied/imported images.
The ODG has the original drawing (box with colours and label).
The drawing was selected and copy-n-pasted into the Writer doc (ODT).
The drawing was selected and exported as PNG and SVG files, then drag-n-dropped into the Writer doc (ODT).
A screenshot of the writer document was taken to see the results, without having to load up the Writer doc.
(In reply to Brendan Simon from comment #3)
> I can no longer replicate this using LO v5.4.3 (on Mac OS X).
Ok, let's close.