Bug 127838 - PARAGRAPH STYLE: Paragraph style incorrectly applied on a character (character pasted from copyq)
Summary: PARAGRAPH STYLE: Paragraph style incorrectly applied on a character (characte...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2019-09-28 08:56 UTC by Duong Do Minh Chau
Modified: 2021-09-25 15:23 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Video demonstrating steps to produce the bug (6.60 MB, video/mp4)
2019-09-28 08:56 UTC, Duong Do Minh Chau
Details
The document demonstrating the bug (8.29 KB, application/vnd.oasis.opendocument.text)
2019-09-28 08:57 UTC, Duong Do Minh Chau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duong Do Minh Chau 2019-09-28 08:56:14 UTC
Created attachment 154610 [details]
Video demonstrating steps to produce the bug

My laptop keyboard has a broken 's' key so I need to use clipboard to replace it. When I write a heading and paste the 's' character onto that line, the 's' will be ignored when applying heading style, see the attached video below. I want to upload the document too but it doesn't allow me to choose more than one file.
Comment 1 Duong Do Minh Chau 2019-09-28 08:57:37 UTC
Created attachment 154611 [details]
The document demonstrating the bug
Comment 2 Duong Do Minh Chau 2019-09-28 09:04:56 UTC
Here is my system information:

OS: ArchLinux x86_64
Kernel: 5.3.1
WM: OpenBox, login with LightDM
Java version: OpenJDK 12.0.2

If I missed any information please tell me so I can add it here.
Comment 3 Duong Do Minh Chau 2019-09-28 09:15:50 UTC
Weird, it works now, what I do previously is just repeatedly reproducing the bug, change on my system.
Comment 4 Duong Do Minh Chau 2019-09-28 09:17:06 UTC
*no changes on my system
Comment 5 Dieter 2019-10-06 04:28:59 UTC
(In reply to Duong Do Minh Chau from comment #3)
> Weird, it works now,

So we can close this bug report? => NEEDINFO
Comment 6 Duong Do Minh Chau 2019-10-06 14:23:50 UTC
I can't reproduce the bug, but the .odt file I submitted still have it. Should I file another report to reflect that or edit this report directly? This is the first time I submit a bug report so I don't know what's right to do.
Comment 7 Dieter 2019-10-07 06:05:56 UTC
I confirm it with

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

Steps to reproduce:
1. Open document in attachment of comment 1
2. Change paragraph style

Result:
Changing of paragraph style doesn't affect character 's' in the correct way
Comment 8 Xisco Faulí 2019-10-08 13:52:06 UTC
also reproducible in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

@Regina, any idea why it's happening ?
Comment 9 Dieter 2021-09-01 07:43:15 UTC
Still present in

Version: 7.2.0.3 (x64) / LibreOffice Community
Build ID: 2a7ea282da28d665a7dc086360567b4aea27bf08
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

@Regina, any idea why it's happening ?
Comment 10 Justin L 2021-09-25 11:49:09 UTC
Why is there confusion in QA about this? The s character has direct properties of size 13, normal weight. Styles never win over direct formatting. This can easily be seen with the new styles inspector.

All you have to do is "clear formatting" on the s to fix this.
Comment 11 Dieter 2021-09-25 15:23:21 UTC
Justin, you're right. Thank you for having a look at it. I thnk we can close this report.