Bug 136379 - Language/font color based on the last character in the selection (not the start of the selection)
Summary: Language/font color based on the last character in the selection (not the sta...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formatting-Text-Diverse
  Show dependency treegraph
 
Reported: 2020-09-01 18:18 UTC by Telesto
Modified: 2020-10-02 19:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (8.44 KB, application/vnd.oasis.opendocument.text)
2020-09-01 18:19 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-01 18:18:29 UTC
Description:
Language/font color based on the last character in the selection (not the start of the selection)

Steps to Reproduce:
1. open the attached file
2. Notice language of black word being Dutch & red one German
3. CTRL+A
4. CTRL+X
5. Start typing. Red & German

Actual Results:
After cutting part of text with DF formatting;the formatting of the last character is taken

Expected Results:
I assumed the formatting would be as seen at the start of the paragraph (Dutch + Black/Automatic)

Compare with Word


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
3.3.0
Comment 1 Telesto 2020-09-01 18:19:19 UTC
Created attachment 164985 [details]
Example file
Comment 2 BogdanB 2020-09-19 04:42:21 UTC
I confirmed the behaviour, and I agree IF it is true that in Word the first word formatting is preserved.

Confirmed with
Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 Thomas Lendo QA 2020-09-19 07:25:39 UTC
Isn't this the same as in many older bugs with DF/SF and cut/paste operation?

I tend to close this of dupe of dupe of dupe of another bug.

But it's to the bug reporter to search for dupes.