Bug 129357 - Soft hyphen shows no hyphen at line break
Summary: Soft hyphen shows no hyphen at line break
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.5
Keywords:
: 129974 158066 (view as bug list)
Depends on:
Blocks: Textbox Hyphenation
  Show dependency treegraph
 
Reported: 2019-12-12 22:38 UTC by Gerhard Weydt
Modified: 2024-01-11 12:19 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw doc showing the bug (9.48 KB, application/vnd.oasis.opendocument.graphics)
2019-12-12 22:38 UTC, Gerhard Weydt
Details
parallel Writer doc showing correct behaviour (10.87 KB, application/vnd.oasis.opendocument.text)
2019-12-12 22:39 UTC, Gerhard Weydt
Details
invisible soft hyphen in text box (292.15 KB, image/jpeg)
2023-11-05 21:00 UTC, george
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Weydt 2019-12-12 22:38:38 UTC
Created attachment 156530 [details]
Draw doc showing the bug

If you use a soft hyphen in a textbox in Draw, then at line break the word is broken up where the soft hyphen is situated, but no hyphen is shown at the end of the line.
This behaviour happens since at least 5.3.3.1, and still does in 
Version: 6.5.0.0.alpha0+ (x64)
Build-ID: 5f40fa6f29a2a51a5f843f7a92d57721e1b8d540
CPU-Threads: 4; BS: Windows 10.0 Build 17134; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

Attachment SoftHyphen.odg shows an example: add one or two characters after the A and the following word will be split, without any hyphen.
I'll post a similar Writer document immediately, containing the same string (you may copy it from one document to the other, to be sure), where the behaviour is correct.
Comment 1 Gerhard Weydt 2019-12-12 22:39:24 UTC
Created attachment 156531 [details]
parallel Writer doc showing correct behaviour
Comment 2 Regina Henschel 2020-01-16 22:48:20 UTC
I can confirm the behavior. The hyphen is missing too in shape "text box" in Writer.
Comment 3 Jörn Schwarz 2020-01-18 14:46:53 UTC
I confirm this behavior.
Comment 4 BogdanB 2020-12-19 17:06:06 UTC
Still here
Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 QA Administrators 2022-12-20 03:19:48 UTC Comment hidden (obsolete)
Comment 6 Gerhard Weydt 2022-12-20 16:37:37 UTC
The problem persists in:
Version: 7.5.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 7 ⁨خالد حسني⁩ 2023-01-16 17:37:38 UTC
*** Bug 129974 has been marked as a duplicate of this bug. ***
Comment 8 Steven Casey 2023-11-05 20:45:55 UTC
*** Bug 158066 has been marked as a duplicate of this bug. ***
Comment 9 george 2023-11-05 21:00:03 UTC
I confirm this bug which is reproducible for text boxes. soft-hyphens are visible in normal text in writer and also in frames. In text boxes, the soft-hyphen is invisible, which it is very inconvenient especially in Libre Draw where you can write text only in text boxes (and possibly in Libre Impress).
Comment 10 george 2023-11-05 21:00:37 UTC
Created attachment 190664 [details]
invisible soft hyphen in text box
Comment 11 Eyal Rozenberg 2023-12-08 09:03:14 UTC
Commenters report this happens in Writer as well, so changing the component.
Comment 12 László Németh 2023-12-08 16:10:20 UTC
fixed in master, ongoing back-port in 7.6 

@Gerhard & all: thanks for the report and feedback!
Comment 13 Commit Notification 2024-01-11 12:19:10 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

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

tdf#129357 editeng: show soft hyphen in text boxes and shapes

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.