Bug 159102 - automatic hyphenation results bad smart justify
Summary: automatic hyphenation results bad smart justify
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0 target:24.2.1 target:25...
Keywords:
Depends on:
Blocks: DOCX-Paragraph DOCX-compatibilityMode-15
  Show dependency treegraph
 
Reported: 2024-01-10 12:19 UTC by László Németh
Modified: 2024-07-03 07:28 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test document (7.42 KB, application/vnd.oasis.opendocument.text-flat-xml)
2024-01-10 12:25 UTC, László Németh
Details
screenshot of the problem (26.56 KB, image/png)
2024-01-10 12:26 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2024-01-10 12:19:46 UTC
Description:
Calculating with an extra, non-existing space, automatic hyphenation can result too much shrinking.

Steps to Reproduce:
Open the attached test document.

Actual Results:
No visible spaces in the first and third lines, because of too much shrinking of spaces.

Expected Results:
Visible spaces, normal shrinking.


Reproducible: Always


User Profile Reset: No

Additional Info:
See Bug 119908 for more information.
Comment 1 László Németh 2024-01-10 12:25:02 UTC
Created attachment 191841 [details]
test document
Comment 2 László Németh 2024-01-10 12:26:31 UTC
Created attachment 191842 [details]
screenshot of the problem
Comment 3 Commit Notification 2024-01-18 00:30:40 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8b393bba91111bd4f8988457f3a78b0306462bf2

tdf#159102 sw smart justify: fix automatic hyphenation

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 4 Commit Notification 2024-01-22 23:32:05 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

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

tdf#159102 sw smart justify: fix automatic hyphenation

It will be available in 24.2.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 5 Commit Notification 2024-01-25 12:51:46 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1b83ebf42c535528b73baac2407b347f19070d07

disabling UITest tdf159102

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 6 Commit Notification 2024-07-01 18:38:45 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

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

tdf#159102 sw: enable unit test again with extended test document

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 7 Commit Notification 2024-07-02 02:02:36 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6eee182e46bb568a58620a02e5827532d15c8220

tdf#159102 sw: add missing get_url_for_data_file to the unit test

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-07-03 07:28:58 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6c3318d7597956314feac7c61a7ef2da6d3f41a1

disable most of tdf159102 UITest again

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.