Bug 149338 - It is sometimes impossible to clear direct formatting with some of the contents pasted from the web
Summary: It is sometimes impossible to clear direct formatting with some of the conten...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-27 23:03 UTC by Jeff Fortin Tam
Modified: 2022-05-28 16:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (8.95 KB, application/vnd.oasis.opendocument.text)
2022-05-27 23:04 UTC, Jeff Fortin Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2022-05-27 23:03:16 UTC
Description:
See attached sample file and reproduction instructions

Steps to Reproduce:
1. Grab the attached sample file
2. Select all text (Ctrl+A)
3. Ctrl+M (or right-click -> Clear Direct formatting)

Actual Results:
- The 2nd paragraph stays bold, even though it is in normal paragraph style.
- The 1st and 3rd paragraph's bold and italics correctly get removed.

Expected Results:
Consistently working formatting resetting from any pasted contents.


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Comment 1 Jeff Fortin Tam 2022-05-27 23:04:33 UTC
Created attachment 180439 [details]
sample file
Comment 2 Rainer Bielefeld Retired 2022-05-28 15:35:45 UTC
REPRODUCIBLE with reporter's sample document and Server Installation of Version: 7.4.0.0.alpha0+ (x64)  Build ID b871abad383583f02eb49c7e49aeae01f6941072
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
LLocale: de-DE (de_DE); UI: en-US  |  Calc: CL  |  Auto Colibre Theme  |  Special devUserProfile.

There might be DUPS in Query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs149338&sharer_id=19321>
like "Bug 47208 - clear direct formatting does not work with pasting from Firefox"
Comment 3 Dieter 2022-05-28 16:30:35 UTC
I can't confirm with

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

Bold text is character style "Strong Emphasis". You can easily see in style inspector, that there is no direct formatting.

=> RESOLVED NOTABUG

Feel free to change it back to UNONFIRMED with a short reasoning, if you disagree.