https://bugs.documentfoundation.org/show_bug.cgi?id=169565

            Bug ID: 169565
           Summary: A URL is split differently depending if it's inline an
                    existing paragraph or on its own paragraph
           Product: LibreOffice
           Version: 25.8.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
A same URL starting on the left boundary of the page is split over a different
number of lines depending:
- if it's inline an existing paragraph
- or if it's on its own paragraph

Steps to Reproduce:
As a convenience, I provided a document with twice the same URL:
- a first time inline an existing paragraph
- a second time on its own paragraph
I'm referring to this document in the following steps.

FYI, I recommend enabling `View` > `Formatting Marks` since it helps visualize
this issue more clearly.

1. Open the example document
2. Locate the line starting with "https://bugs.documentfoundation.org/";
3. Notice that this line is part of the same paragraph as the line above ("that
are extremely painful.")
3. Notice that the next line ("show_bug.cgi?id=169477") is actually part of the
same URL (i.e. the URL is automatically split after the `/` a.k.a. slash)
4. Notice that this URL is split over 2 lines
5. Now, locate the line starting with "https://";
6. Notice that this line is not part of the same paragraph as the line above
("procure him some great pleasure.")
7. Notice that the next 2 lines ("bugs.documentfoundation.org/" and
"show_bug.cgi?id=169477") are actually part of the same URL (i.e. the URL is
automatically split after the `/` a.k.a. slash)

Actual Results:
Notice that that second URL is split over 3 lines

Expected Results:
That URL should be split over only 2 lines, similarly to the first URL. Indeed:
- they are both the same URL (i.e. they have the same length)
- they both start on the left boundary of the document


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.2.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: fr-FR (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.8.2-0ubuntu0.25.10.1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to