Bug 162268 - RTF: combination of hidden text and character attributes fails
Summary: RTF: combination of hidden text and character attributes fails
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Oliver Specht (CIB)
URL:
Whiteboard: target:25.2.0 target:24.8.3
Keywords:
Depends on:
Blocks: Word-Line-Break
  Show dependency treegraph
 
Reported: 2024-07-30 13:56 UTC by Oliver Specht (CIB)
Modified: 2024-11-06 19:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Header with hidden text (49.81 KB, application/msword)
2024-07-30 13:56 UTC, Oliver Specht (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Specht (CIB) 2024-07-30 13:56:44 UTC
Created attachment 195605 [details]
Header with hidden text

Load bugdoc

The header contains hidden text with a linebreak in 20pt and a visible line in 11pt.

In Writer the header has no content while in Word there is an empty line in 11pt

Using the bugdoc of bug 155662 there is a visible 'a' in 11pt but the line is formatted as if 20pt were valid.
With 'Toggle formatting marks' on the line is correctly formatted in 11pt.
Comment 1 Commit Notification 2024-09-09 09:10:17 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

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

tdf#162268: Import - add zero width space after line break

It will be available in 25.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 2 Commit Notification 2024-09-26 16:01:30 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

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

Revert "tdf#162268: Import - add zero width space after line break"

It will be available in 25.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 3 Commit Notification 2024-09-27 16:10:34 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7b8cec8322b60673e686660caf875bc71117bbd0

tdf#162268 sw: ApplyParagraphMarkFormatToEmptyLineAtEndOfParagraph

It will be available in 25.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 4 Commit Notification 2024-09-27 16:10:37 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/037a765f03c95301f987e1d1d4ef715b05b25c94

tdf#162268 sw: IgnoreHiddenCharsForLineCalculation

It will be available in 25.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 5 Commit Notification 2024-10-22 18:02:22 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

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

tdf#162268 sw: ApplyParagraphMarkFormatToEmptyLineAtEndOfParagraph

It will be available in 24.8.3.

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 6 Commit Notification 2024-10-22 18:03:25 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

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

tdf#162268 sw: IgnoreHiddenCharsForLineCalculation

It will be available in 24.8.3.

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 7 Commit Notification 2024-11-06 19:29:09 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

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

tdf#162268 sw: layout: hidden formatting is ignored on cell end marker

It will be available in 25.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 8 Commit Notification 2024-11-06 19:29:12 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7fa083459eb5c5b620454c6e3092d35cdde1b281

tdf#162268 sw: formatting: paragraph style also applies to para marker

It will be available in 25.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.