Bug 154960 - the position of the text of the text-box isn't right on *.xhtml export
Summary: the position of the text of the text-box isn't right on *.xhtml export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2023-04-21 18:18 UTC by solar020
Modified: 2025-04-24 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
a *.svg export of test.odg results fine but a *.xhtml export of test.odg results wrong! (57.92 KB, application/vnd.oasis.opendocument.graphics)
2023-04-21 18:18 UTC, solar020
Details

Note You need to log in before you can comment on or make changes to this bug.
Description solar020 2023-04-21 18:18:50 UTC
Created attachment 186846 [details]
a *.svg export of test.odg results fine but a *.xhtml export of test.odg results wrong!

Simple explanation:
==================

  1. Open Libreoffice-Draw
  2. Insert an *.png image
  3. Insert a text-box and write the following text inside:
       https://en.wikipedia.org/wiki/Memory_card
  4. Drag the text-box inside/over the inserted image
  5. Export to *.xhtml

  Conclusion:
    Bug: In the *.xhtml export the text of the text-box appears below the image.
  
    But if you make a *.png export or a *.svg export of the same, the text of 
        the text-box appears where it should be 
       (note: in these exports there are no bugs). 




Detailed explanation:
====================

  1. Go to site: https://en.wikipedia.org/wiki/Memory_card
  2. Go to section of that site named: 
        "Overview-of-all-memory-card-types" -> "Comparison"
  3. With Firefox Web-browser do:
         right-mouse-click -> Take-Screenshot
     and screenshot that section of the site which is the same image 
     that was inserted in "test.odg" provided in attachment.
  4. Open Libreoffice-Draw
  5. Insert the *.png image resulted from screenshot.
  6. Insert a text-box and write the following text inside:
       https://en.wikipedia.org/wiki/Memory_card
  7. Drag the text-box inside/over the inserted image
  8. Export to *.xhtml

  Conclusion:
    Bug: In the *.xhtml export the text of the text-box appears below the image.
  
    But if you make a *.png export or a *.svg export of the same, the text of 
        the text-box appears where it should be 
       (note: in these exports there are no bugs).
Comment 1 Robert Großkopf 2023-04-22 06:29:38 UTC
Could confirm the buggy behavior: Text-Box appears after image.

Note: The text-box could also be placed first, not positioned in front of the image but before the image. Text-box will appear after the image also.

Its the same behavior in LO 5.1.5.2 - so might be inherited by OOo.

Note2: Since LO 7.1.5.1 the text box will appear two times under the image. Another bug, which doesn't happen up to LO 7.1.0.3…
Comment 2 Stéphane Guillou (stragu) 2023-04-24 15:27:22 UTC
Confirmed that text is always placed below the picture, even if the text box is moved way before the picture and there is now overlap.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

(In reply to Robert Großkopf from comment #1)
> Note2: Since LO 7.1.5.1 the text box will appear two times under the image.
> Another bug, which doesn't happen up to LO 7.1.0.3…

Just bibisected and reported that other issue in bug 154989.
Comment 3 QA Administrators 2025-04-24 03:13:27 UTC
Dear solar020,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug