Bug 141877 - Character styles lead to "tag soup"
Summary: Character styles lead to "tag soup"
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 16:31 UTC by Jim Turner
Modified: 2023-09-23 07:28 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Turner 2021-04-24 16:31:22 UTC
Description:
When inserting text in a sentence that's already styled, an invisible "hard" tag is added.
It can be revealed by applying the "default" character style to that sentence.
It can be removed by highlighting the sentence and pressing Ctrl-M.

As bugs go, THIS IS HUGE, as it means that documents will gradually become ever more bloated with invisible style faults.

Steps to Reproduce:
1. Create a character style called ".BugTest" that applies an underline font-effect.
2. Type a sentence, such as "The cat sat on the mat".
3. Apply the ".BugTest" style to the sentence.
4. Highlight and overwrite a word (e.g change cat to dog).
5. Highlight the sentence.
6. Apply the "Default Character Style".
7. Pick your jaw off the ground when you see that the word you changed (dog) is still underlined.
8. Highlight the sentence and press Ctrl-M. This will remove the errant tag.

Actual Results:
N/A

Expected Results:
N/A


Reproducible: Always


User Profile Reset: No



Additional Info:
Windows 7 Pro (x64)

If you wish people to copy text from the About Screen, then I suggest you add a copy button, or at least allow text to be highlighted, etc!!
Comment 1 Julien Nabet 2021-04-24 17:21:34 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
=> NEW

In About Screen, there's already a copy button, just at the right of "Version Information".
Comment 2 QA Administrators 2023-04-25 03:23:41 UTC Comment hidden (obsolete)
Comment 3 BogdanB 2023-04-25 04:11:25 UTC
Don't repro in 
Version: 7.5.2.1 (X86_64) / LibreOffice Community
Build ID: e8bf3b441b8370f8440b0339fd9490765a8d57ca
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Please retest.
Comment 4 Kira Tubo 2023-09-23 07:28:18 UTC
No longer reproducible. Closing ticket as WORKSFORME.

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 36163d269bd8f77a86605e4c5ff5adce17b4c66c
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded