[Libreoffice-bugs] [Bug 140576] New: In Writer: Triple-clicking to select a sentence in a paragraph and then dragging that sentence to a new location cause the space between sentences to be lost

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Feb 21 05:02:25 UTC 2021


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

            Bug ID: 140576
           Summary: In Writer: Triple-clicking to select a sentence in a
                    paragraph and then dragging that sentence to a new
                    location cause the space between sentences to be lost
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: ckoresko at atlanticbb.net

Description:
Using the triple-click to select a sentence in a paragraph, and then moving
that sentence to a new location in the paragraph (i.e., reordering the
sentences) causes the spaces between the sentences to be lost.  This requires
the user to manually edit the paragraph so that each sentence is followed by a
space.

Steps to Reproduce:
1. Type the following in Writer: "First sentence. Second sentence. Third
sentence."
2. Triple click "Second sentence." to select it.
3. Drag "Second sentence." to the end of the line (after "Third sentence.") or
to the beginning (before "First sentence.")

Actual Results:
"First sentence.  Third sentence.Second sentence." or "Second sentence.First
sentence.  Third sentence."  The space after "Second sentence." didn't get
selected by the triple-click, so dragging didn't move it along with the
sentence text.  This forces the user to manually add a missing space and delete
an extra one, considerably slowing down the editing operation. 

Expected Results:
"First sentence. Third sentence. Second sentence." or "Second sentence. First
sentence. Third sentence."


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Triple-click should select the space at the end of the sentence text, if one is
present.  If no space is present at the end of the sentence, triple-click
should automatically add one to the end of the sentence text in the clipboard.

In addition, it may be desirable that if the triple-clicked sentence is dropped
in a location which is inside another sentence, and especially if it is dropped
between characters in a word, that the drop target is automatically adjusted to
be the location of the nearest beginning or end of a sentence.  This would make
the drag-and-drop operation a lot less finicky, such that it would no longer be
necessary to drop at precisely the correct character position to avoid having
to go back and edit to fix the drag-and-drop result.

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 2; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
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/20210221/d7f5ce5d/attachment.htm>


More information about the Libreoffice-bugs mailing list