Description: Writer inserts a table above of an image instead below Steps to Reproduce: 1. Open Writer 2. Insert an image using a toolbar icon (make sure a text cursor is BELOW of the image) 3. Try insert a table at once -> Writer inserts it ABOVE image As a bad workaround you can insert a space in the paragraph below the image and then try to insert a table -> the table will inserted below the image, but (!) Writer will insert an empty not needed paragraph between the image and the table! Anyway I expect Writer should work by the simplest way -> just insert the table on the text cursor place at once without any workarounds and magic. Actual Results: Writer inserts a table above of an image instead below Expected Results: Writer inserts a table below of an image on the text cursor place Reproducible: Always User Profile Reset: No Additional Info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9653afbbe9ed5b124b2fc3186577c3788f664692 CPU threads: 16; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL threaded
I confirm ith with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 77b3fe6e8564ea579d8e9a5fc82c5eadf532072e CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded it depends on achor of image. If it is anchored to characer, Writer insert table above. If anchor is achored as character, Writer inserts tab le below. Personally I would treat it as a duplicate of b ug 146445. Do you agree, Roman?
(In reply to Dieter from comment #1) > I confirm ith with > Personally I would treat it as a duplicate of bug 146445. Do you agree, > Roman? Let's keep it in NEW, may be it's time to discuss it on ESC even.
This is not a duplicate. Indeed, the root is the same; but we can discuss and change the behavior independently, introducing special checks in the code. However, it is again quite complicated. 1. There is a case of "an empty paragraph with to-paragraph attached image". But there may also be a case of "a non-empty paragraph with to-paragraph attached image"; and even both cases with to-character attached image. Should to-paragraph case be treated the same irrespective of textual content? Should to-character cases be treated differently? 2. Should the positioning of the images (below/above the paragraph itself) be taken into account? 3. What should be the new anchoring be? To A1 of the table? Sigh, there's nothing simple in the UX :-)
(In reply to Mike Kaganski from comment #3) > However, it is again quite complicated. > > 1. There is a case of "an empty paragraph with to-paragraph attached image". > But there may also be a case of "a non-empty paragraph with to-paragraph > attached image"; and even both cases with to-character attached image. > Should to-paragraph case be treated the same irrespective of textual > content? Should to-character cases be treated differently? The behavior in our case here should be the same, independent how the image was anchored in the document > 2. Should the positioning of the images (below/above the paragraph itself) > be taken into account? I would prefer to have a paragraph height if it has the anchored image the same as the image height. And the the image will be inside a paragraph, but not above or below > 3. What should be the new anchoring be? To A1 of the table? none, the anchor shouldn't be changed at all. The image is the one object and the table is the another independent object
(In reply to Roman Kuznetsov from comment #4) > (In reply to Mike Kaganski from comment #3) > > > 1. There is a case of "an empty paragraph with to-paragraph attached image". > > But there may also be a case of "a non-empty paragraph with to-paragraph > > attached image"; and even both cases with to-character attached image. > > Should to-paragraph case be treated the same irrespective of textual > > content? Should to-character cases be treated differently? > > The behavior in our case here should be the same, independent how the image > was anchored in the document Really? Even when the image is anchored to 100th character of the paragraph? > > 2. Should the positioning of the images (below/above the paragraph itself) > > be taken into account? > > I would prefer to have a paragraph height if it has the anchored image the > same as the image height. And the the image will be inside a paragraph, but > not above or below Really? And disallow the "anchor to paragraph, but position at the top of the page" case? > > 3. What should be the new anchoring be? To A1 of the table? > > none, the anchor shouldn't be changed at all. The image is the one object > and the table is the another independent object "None" anchor? I.e., make it anchored to page? Or was it all "I don't know what it is all about, just make it perfect" kind of answer?
(In reply to Mike Kaganski from comment #5) > Or was it all "I don't know what it is all about, just make it perfect" kind > of answer? Absolutely, "just make it perfect" is a great description =) Ok, I don't know how it works but as simple user I just want the simple action for the table inserting after an image (as I wrote it in Description above)