Ask Your Question

Pasting image breaks all text formatting

asked 2019-03-01 16:23:12 +0200

Giorgi gravatar image

updated 2020-07-12 02:05:32 +0200

Alex Kemp gravatar image

Why when I just paste a png image in between two paragraphs (or in between two lines, when there's a empty line), all the text goes smashed crazy? it's not even only formatting, letters get hidden, some half hidden and .. some crazy things are happening. Why this happens? When I click unwrap then some text gets under the image (when initially I've pasted image below that text), and generally, why when I paste image writer software doesn't understand that I don't want to get the mozaic of random smashed graphics? This is so frustrating.

Before image description

After paste image description

Seriously, what is this?? This software can't even paste the image and you're competing with MS Office?

edit retag flag offensive close merge delete


Not enough information to answer clearly, but you are pasting what looks like some type of html code into your document. What type of image are you trying to add to your document, and where are you acquiring this image?

AdmFubar gravatar imageAdmFubar ( 2019-03-01 16:56:28 +0200 )edit

Also, where do you paste the image? In the middle of your text? Inside margins? Technically, where is the anchor? What are the wrap properties of the image?

ajlittoz gravatar imageajlittoz ( 2019-03-01 17:10:41 +0200 )edit

I've edited my question and added this info. But I'll write here alike: It's ordinary png snippet (same happens on jpg) and I've tried to just CTRL+C -> CTRL+V in between two paragraphs (and also tried in between just two lines, which are separated by several empty lines), just after the "For example:" line. It's super basic operation which works as it should in MS Office.

Giorgi gravatar imageGiorgi ( 2019-03-01 18:17:28 +0200 )edit

instead of copy and pasting, use menu Insert -> Image. Then use the little green boxes to control the size and aspect ratio of the inserted image. It will be anchored to the place on the page where you had placed the cursor before inserting. Check the help file for information on text flow, etc etc.

ve3oat gravatar imageve3oat ( 2019-03-02 02:55:22 +0200 )edit
  1. It's absolutely same with image insertion; 2. When I use little green boxes to resize the image, text gets really randomly broken and smashed all over the page (random, for each size); 3. Customer experience is really, really poor. I wouldn't be loving to be a master who adjusts and scripts these things in order to just paste the damn image in between two paragraphs. Even if the size is too big, it should lift the text down or something alike, but in no circumstance break the pattern as shown in the 2nd picture I've uploaded. Well.. trying already one month to get my hands on LibreOffice and get off from MS Office.. but I suppose I will have to return back if LibreOffice products are so clumsy and not friendly.
Giorgi gravatar imageGiorgi ( 2019-03-02 11:16:37 +0200 )edit

How do you do that? I tried many "absurd" ways of pasting a picture and I can't reproduce your problem. Even if I paste in header area, everything works fine. Check if your image is in Wrap off mode. This is the only known configuration in which an image covers text.

ajlittoz gravatar imageajlittoz ( 2019-03-02 12:18:16 +0200 )edit

Your problem is very puzzling and your frustration is evident. Image wrap seems to be an important clue. By way, which version of LO are you using ? (Currently, v6.1.5 is the recommended stable release.) AND which operating system are you using?

ve3oat gravatar imageve3oat ( 2019-03-02 17:01:45 +0200 )edit

@ajlittoz, I had just snipped a fragment of screen and pasted it in the MS Paint. Then, from pain, I've copied the image in buffer (Ctrl+c) and tried to paste that straight into LO Writer. Well, after I've spent two days here and went for right click-> wrap -> warp off, it's sort of better now.. but why shall I be in a need to be a hacker in order to copy-paste the image? I've never set any special settings in worker.

@ve3oat, but why it's puzzling? is my version, on Win10.

I just sort of like LO and want to support it.. unless it has a really obvious and silly bugs.. which prevent you from work.

Giorgi gravatar imageGiorgi ( 2019-03-02 19:37:45 +0200 )edit

Puzzling because your problem can not be replicated at all by @ajlittoz . But this bug obviously prevents you from work, so go back to the last stable release v6.1.5.

ve3oat gravatar imageve3oat ( 2019-03-02 20:04:30 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2020-06-10 10:17:02 +0200

Giorgi gravatar image

What helped me back then was to just right click on the image you paste, and then select Wrap => Wrap off.

edit flag offensive delete link more

answered 2020-06-08 09:22:00 +0200

Just user gravatar image

I am able to replicate that on LibreOffice Writer version (x64) on Windows 10. 1. Type some text 2. Add a few (let's say 3) empty paragraphs by pressing the Enter key 3.Type some more text 4. Save the file as "Word 2007-2019 (*.docx)" and close the file. 5. Open the file and paste a screenshot (Alt+PrintScreen for the current window) in to the empty paragraph made in step 2. 6. Image is located on top of the text and the text typed in the step 3 is hidden behind the image.

It looks like there is no problem until you save and reopen the file, at least in my case everything looked perfect until I reopened the file to replace/add some more images.

Images before and after paste image description

After paste:

image description

edit flag offensive delete link more


Possibly a problem in already retired 6.2 (image inserting with wrap through). Cannot repro with 6.4, where the image inserts with optimal wrap into a DOCX previously created, saved and reopened in LO.

Mike Kaganski gravatar imageMike Kaganski ( 2020-06-08 09:37:16 +0200 )edit

Hi I tried @Just user steps in LO on Win10 and picture did paste over top of lower paragraph (oddly, it seemed to be anchored to character, not paragraph as is usually the case). It is easily fixed by:

  1. right-clicking on picture and selecting Wrap | Wrap off or Wrap | Optimal page wrap Or
  2. right-clicking on picture and selecting Anchor | Anchor as Character . Once it is anchored as character you can easily move it to exact location by cutting and pasting it at the cursor. This is also a good way to hold down unruly pictures while you resize them to fit the remaining space on a page even if you will subsequently anchor it to a paragraph

All was same as I left it after saving, closing and re-opening. I wouldn't usually use docx, maybe the moral of the story is to save in ODT ...(more)

Earnest Al gravatar imageEarnest Al ( 2020-06-08 11:12:04 +0200 )edit

oddly, it seemed to be anchored to character, not paragraph as is usually the case

IIRC we changed from "to paragraph by default" to "to character by default" to be more interoperable with suites that lack "to paragraph" anchoring concept.

Mike Kaganski gravatar imageMike Kaganski ( 2020-06-08 11:33:08 +0200 )edit

Oh. Interesting that I hadn't noticed already; I do a lot of text with pictures. Mostly, I anchor as character for clarity and to stop bad behaviour when I insert stuff afterwards.

Earnest Al gravatar imageEarnest Al ( 2020-06-08 12:16:09 +0200 )edit
Mike Kaganski gravatar imageMike Kaganski ( 2020-06-08 12:27:45 +0200 )edit

I have also tested it again with and image was anchored "to character". Changing to anchor "as character" solved the problem. But I guess for 90% of users this would be a problem if they don't know what to do everytime after pasting. Is there a way to change it to default "as character"?

Just user gravatar imageJust user ( 2020-06-08 20:42:51 +0200 )edit

"It is easily fixed by: right-clicking on picture and selecting Wrap | Wrap off or Wrap | Optimal page wrap Or right-clicking on picture and selecting Anchor | Anchor as Character" Just wanted to follow up this thread others have written on. I have the same ongoing nightmare of pictures that are pasted into the document always with the wrong parameters. I have "save ratio" ticked, but regardless, when you resize an image (the usual way of clicking on the green corners and gliding into a smaller space) it invariably destroys the ration of height and width, no matter what the settings are. Also want to note that I can't be the only person who chooses to paste a graphic image into a document without saving it first on the hard drive every time. (Copy and paste exist for the sake of this capability, I think.) If paste worked properly, we could ...(plus)

bwp123 gravatar imagebwp123 ( 2020-09-05 04:29:37 +0200 )edit

Remember that Writer saves pasted pictures as png, this will typically be quite a lot larger than the same picture inserted as a jpg. If you want to save space, then save a jpg and Insert Image to place the jpg into the document. The jpg on your hard drive plus the jpg embedded in the Writer document together will take less room than the same image pasted directly into the document

If images (typically vector from Draw) aren't keeping ratio on resizing when dragging corners then, before you release the mouse, hold down Shift then release mouse.

Earnest Al gravatar imageEarnest Al ( 2020-09-05 05:16:53 +0200 )edit

It's hard to understand why the responses, earnest and trying hard to help, still miss the nearly insurmountable dysfunction of Writer's handling of images.. Try to understand not from a software developer's perspective, but from a user's perspective. You find an outstanding newly published piece, want to save it and give to a class to read. You can try to make it into a pdf from the web directly, but that will often have bad outcomes like images that are split in two over two pages. etc. So your other option is to select and copy the entire thing and attempt to paste it into Writer, save it and then make a pdf for students. Problems occur in the same manner every single time. The images paste OVER the text, which you can access by resizing the image. ... So you know it's there. Why wouldn ...(more)

bwp123 gravatar imagebwp123 ( 2020-11-03 09:35:39 +0200 )edit

... cont'd from previous. ...paragraph and, with the user able to resize the image to fit the page without it sitting on top of the text, but Wrapped in the standard way, text above, text to the right of the image, text below the image, etc.This is not possible. Instead it is necessary to right click on every image and resize it to fit. This then leaves huge spaces after the images as the text does not continue until the next page (or the image demands to be inserted on the next page). Moving the image does not move the anchor, so you are required to take bits of text and paste them in by trial and error until the rest of the page if filled and the image can be made to appear at the top of the next page. Laborious incredibly time consuming, and yet there is ...(more)

bwp123 gravatar imagebwp123 ( 2020-11-03 09:41:41 +0200 )edit
Login/Signup to Answer

Question Tools



Asked: 2019-03-01 16:23:12 +0200

Seen: 981 times

Last updated: Jun 10 '20