Bug 164445 - FILEOPEN DOCX: two framePr textboxes anchored at the same paragraph/position are in the wrong order
Summary: FILEOPEN DOCX: two framePr textboxes anchored at the same paragraph/position ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
 
Reported: 2024-12-23 21:27 UTC by Justin L
Modified: 2024-12-27 14:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2024-12-23 21:27:34 UTC
Prior to 7.6, the two textboxes were joined together as one textbox (and then the content was in the correct order). This was correctly split into two with
7.6 commit e0e33aa622968bc2e182099670a024a1d00b8e5c
Author: Justin Luth on Tue Apr 4 14:20:45 2023 -0400
    tdf#105035 tdf#127622 writerfilter framePr: compare using style info

But now that they are split, the second textbox is above the first one. (Not marking as a regression since everything wasn't correct prior to this commit.)

Steps to reproduce.
1.) open (actually a DOCX file) TRANS-JOUR.doc (attachment 73104 [details]) from bug 59426

Notice on page 1 that the title "Preparation of Papers for IEEE TRANSACTIONS..." is below the authors "First A. Author, Fellow, IEEE, ..."

It of course should be the other way around. All of this is already spelled out in bug 105035 comment 15, where a minimized version of this file is used as a unit test for that bug report. (Note that the minimized version overlaps at the above commit, but the original one we are using here does not overlap.)

The opinion stated was that this was probably just a layout choice (since the positions are identical).

title:  <w:framePr w:w="9360" w:hSpace="187" w:vSpace="187" w:wrap="notBeside" w:vAnchor="text" w:hAnchor="page" w:xAlign="center" w:y="1"/>
author: <w:framePr w:w="9072" w:hSpace="187" w:vSpace="187" w:wrap="notBeside" w:vAnchor="text" w:hAnchor="page" w:xAlign="center" w:y="1"/>
Comment 1 Anikó 2024-12-27 11:52:46 UTC
Confirmed in:

Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

and

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1846448d81aab9812410a30303c0c36a41a825b6
CPU threads: 16; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded