Pasting image breaks all text formatting

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

After paste

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

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?

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?

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.

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.

  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.
1 Like

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.

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?

@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? 6.2.0.3(x64) 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.

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.

I am able to replicate that on LibreOffice Writer version 6.2.7.1 (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
  3. Save the file as “Word 2007-2019 (*.docx)” and close the file.
  4. Open the file and paste a screenshot (Alt+PrintScreen for the current window) in to the empty paragraph made in step 2.
  5. 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

After paste:

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.

Hi I tried @Justuser steps in LO 6.4.4.2 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 format and only convert to docx at the end?

Cheers, Al

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.

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.

Yes - that were commit a7528cd6f17ea5c5b29e7d607e54c62de0d9e7db and its backport for 6-4.

I have also tested it again with 6.4.4.2 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”?

“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 save disk space by not saving every image we make use of, such as a single use image, and of course, save time (and hair loss!). Thanx!

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.

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’t it be possible for settings to allow the user to have all images paste into the document with a useable format? Inside the text boundaries, not overlapping the text, “anchored” to … cont’d. .