Bug 114504 - FILEOPEN: DOCX - Horizontal line alignment not imported
Summary: FILEOPEN: DOCX - Horizontal line alignment not imported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: OOXML-Shapes Horizontal-Line
  Show dependency treegraph
 
Reported: 2017-12-16 19:51 UTC by Yousuf Philips (jay) (retired)
Modified: 2022-05-04 19:12 UTC (History)
5 users (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 Yousuf Philips (jay) (retired) 2017-12-16 19:51:43 UTC
steps:
1. open attachment 138454 [details]
2. notice that second horizontal line isnt right aligned and the fourth horizontal line isnt center aligned

The o:hralign attribute of the <v:rect> tag holds the alignment data

http://www.datypic.com/sc/ooxml/a-o_hralign.html

Version: 6.1.0.0.alpha0+
Build ID: c7755e615918c1a0cb3245f75334ba08f69ac226
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 1 Jacques Guilleron 2017-12-17 12:24:48 UTC
Hi Yousuf,

Reproduced with

LO 6.0.0.0.alpha0+ Build ID: e0aed1459513be5e08fab9de06848df5dc9d0b5f
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-09-20_06:45:25
Locale: fr-FR (fr_FR); Calc: CL
and upper versions
This fonctionnality was recently reworked between
LO 6.0.0.0.alpha0+ Build ID: ffeb750163909e15ee0dd2d16f8030bf08e66eae
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-09-11_06:33:01
Locale: fr-FR (fr_FR); Calc: CL
and
the first one mentionned.
Before, the first and third lines were missing.
Now, only the first line is missing and the lines colors appear.
Comment 2 Yousuf Philips (jay) (retired) 2017-12-19 20:18:38 UTC
(In reply to Jacques Guilleron from comment #1)
> Before, the first and third lines were missing.
> Now, only the first line is missing and the lines colors appear.

This was all fixed in bug 97648, but presently the alignment of the lines isnt being set when imported.
Comment 3 MM 2017-12-23 12:25:06 UTC
(In reply to Yousuf Philips (jay) from comment #2)
> (In reply to Jacques Guilleron from comment #1)
> > Before, the first and third lines were missing.
> > Now, only the first line is missing and the lines colors appear.
> 
> This was all fixed in bug 97648, but presently the alignment of the lines
> isnt being set when imported.

It's fixed in master (6.1), but still missing with v6.0.0 rc1. Better re-open bug 97648 for that and ask to backport ?
Comment 4 Yousuf Philips (jay) (retired) 2017-12-23 19:30:00 UTC
(In reply to MM from comment #3)
> It's fixed in master (6.1), but still missing with v6.0.0 rc1. Better
> re-open bug 97648 for that and ask to backport ?

This issue of the alignment of the horizontal line isnt fixed in 6.1 master.

Version: 6.1.0.0.alpha0+
Build ID: 021081823aeebcfa395662d0c04535a243977c2e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 5 MM 2017-12-23 22:40:46 UTC
(In reply to Yousuf Philips (jay) from comment #4)
> (In reply to MM from comment #3)
> > It's fixed in master (6.1), but still missing with v6.0.0 rc1. Better
> > re-open bug 97648 for that and ask to backport ?
> 
> This issue of the alignment of the horizontal line isnt fixed in 6.1 master.
> 

I know, i meant the missing first line.
Comment 6 QA Administrators 2019-03-01 03:50:22 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2020-09-30 18:36:54 UTC
Still confirmed

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 09c24681a3414092fde50ec0f617c9f7c79e8a61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 30 September 2020
Comment 8 Silvestr VS 2022-05-04 19:12:15 UTC
Reproduced in 7.4a

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

All 4 lines are aligned left