Bug 108505 - FILEOPEN: DOCX - Drop down list form field doesn't have correct font when at the beginning of a line
Summary: FILEOPEN: DOCX - Drop down list form field doesn't have correct font when at ...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium normal
Assignee: Gabor Kelemen (allotropia)
URL:
Whiteboard: target:7.1.0 target:7.0.0.1 target:24...
Keywords:
: 148592 152864 (view as bug list)
Depends on:
Blocks: DOCX-ActiveX-Legacy
  Show dependency treegraph
 
Reported: 2017-06-13 13:23 UTC by eric.verdun
Modified: 2024-08-13 10:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of docx with anomaly (16.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-06-14 13:37 UTC, eric.verdun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eric.verdun 2017-06-13 13:23:20 UTC
Description:
DOCX :
Wrong font of dropdown field if there is no text before on the line.

Steps to Reproduce:
1.MS Office : Create only a dropdown form on a line in a new docx document. Change the font (ex : Trebuchet MS). On the new line, enter text then add the same dropdown field (with Trebuchet MS on both)
2.Open with LibreOffice Writer
3.The font of the first line is wrong

Actual Results:  
The font of the first line is wrong

Expected Results:
Same font on both lines


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Comment 1 Jacques Guilleron 2017-06-14 13:09:41 UTC
Hello eric,

Can you provide a docfile example, to make easier and safer what we are talking about?
Thank you,

Jacques
Comment 2 eric.verdun 2017-06-14 13:37:19 UTC
Created attachment 134026 [details]
Example of docx with anomaly

Hello Jacques,

Here the attached file.

Eric
Comment 3 Xisco Faulí 2017-06-15 11:05:36 UTC
Confirmed in

Version: 5.5.0.0.alpha0+
Build ID: 6ab249ea6aecef5d3f35d624622a368061cad9c3
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 4 QA Administrators 2018-06-16 02:45:54 UTC Comment hidden (obsolete)
Comment 5 Jacques Guilleron 2018-06-16 04:37:01 UTC
Confirmed with
LO  6.0.4.2
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
Comment 6 QA Administrators 2019-06-17 02:47:13 UTC Comment hidden (obsolete)
Comment 7 Jacques Guilleron 2019-06-18 13:27:37 UTC
Hi all,

Confirmed with
LO  6.4.0.0.alpha0+ (x86) Build ID: 5e6af47dc87a55fea595c952ea3e59c93d0620db
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: fr-FR (fr_FR); UI-Language: en-US Calc: CL

Have a nice day,

Jacques
Comment 8 Commit Notification 2020-06-19 11:30:52 UTC
Gabor Kelemen committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/833dd75c6956f5a0d395468575aa416a6853a1f9

tdf#108505 DOCX: fix legacy dropdown fields direct font setting

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2020-06-24 10:05:42 UTC
Gabor Kelemen committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/acfc23e9a4b24d5ca6d772cadcca77ab3c6d0196

tdf#108505 DOCX: fix legacy dropdown fields direct font setting

It will be available in 7.0.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Xisco Faulí 2020-06-24 10:37:13 UTC
Verified in

Version: 7.1.0.0.alpha0+
Build ID: cb72269f93a20dd175dae3dcf30740c9931e7684
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Gabor, thanks for fixing this issue!!
Comment 11 Commit Notification 2023-12-05 07:31:06 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/59a0be15b097dc4f2529837d128f52cc3fb497d9

tdf#108505 writerfilter: fix legacy dropdown fields direct bold setting

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2023-12-05 07:49:10 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/caecfff1adbe9715260ef9e2009333e523d61123

tdf#108505 writerfilter: fix field direct char settings

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Justin L 2023-12-08 14:38:59 UTC
*** Bug 152864 has been marked as a duplicate of this bug. ***
Comment 14 Commit Notification 2023-12-11 15:15:23 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5f888fa920c99cce91dfd18244a5c3869807b970

tdf#108505 rtfexport: avoid mis-inheriting field char settings

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 15 Commit Notification 2023-12-12 08:40:01 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/ecf9e5b85ae1fae2ee3dc8db2b70aeb8202225f2

tdf#108505 rtfexport: avoid mis-inheriting field char settings

It will be available in 24.2.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 16 Commit Notification 2023-12-12 23:25:16 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/c1ac4185afc496e0af18175a6ad31c14fe43ebb3

tdf#108505 writerfilter: fix legacy dropdown fields direct bold setting

It will be available in 7.6.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 17 Gabor Kelemen (allotropia) 2024-08-13 10:47:18 UTC
*** Bug 148592 has been marked as a duplicate of this bug. ***