[Libreoffice-bugs] [Bug 131278] New: Inconsistent word wrap between MS Word and LibreOffice with hyphens in a URL
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 11 11:22:12 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131278
Bug ID: 131278
Summary: Inconsistent word wrap between MS Word and LibreOffice
with hyphens in a URL
Product: LibreOffice
Version: 6.3.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: ahiijny at gmail.com
Created attachment 158600
--> https://bugs.documentfoundation.org/attachment.cgi?id=158600&action=edit
Doc file containing a URL that gets word-wrapped
Version: 6.3.5.2 (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win;
Locale: en-CA (en_CA); UI-Language: en-US
Calc: threaded
I was writing a report in MS Word, and it struck me as strange that the page
count was different when I opened it in LibreOffice. I'd just nicely fitted all
of my references on one page in Word, so it was a bit awkward to just have that
one reference leaking onto a second page in LibreOffice.
I managed to narrow down the difference: For some reason, LibreOffice was
word-wrapping one of the URLs differently (see attached file for a minimal
working example).
In MS Word, it wraps the URL
"https://www.netscout.com/sites/default/files/2019-03/SECR_005_EN-1901%E2%80%93WISR.pdf"
right after "/2019-". But in LibreOffice, it wraps the URL after
"/SECR_005_EN-", which pushes it onto an additional line. I'm not sure if this
is intentional behaviour or not (feel free to close this issue if there's some
existing reason why LibreOffice word wrap works this way).
This doesn't seem to be related to the fact that it's formatted as a hyperlink.
If I leave the URL in plain text, the same word wrap difference happens.
My version of Word is 2003, but I tried it out with Word Online (Office 365) as
well, and the behaviour here is the same as with Word 2003.
(Just as a point of reference, I tried out what Google Docs does, and it just
doesn't wrap the URL on any hyphens at all. The URL just gets pushed onto a
second line and it gets wrapped on the very last character in the line.)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200311/4160ad11/attachment.htm>
More information about the Libreoffice-bugs
mailing list