Bug 146074 - Selecting content and then replacing it, makes new content directly formatted # formatting
Summary: Selecting content and then replacing it, makes new content directly formatted...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-06 13:29 UTC by jojobader
Modified: 2022-07-21 03:34 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 jojobader 2021-12-06 13:29:39 UTC
Description:
When selecting content and replacing it, LibreOffice doesn't simply use the selected style to format the new content, it formats them as directly formatted ... no clue why, but i don't think this is the intended behaviour.




For months now i've been bothered by this, constantly having to clear direct formatting. I don't think that the version is very important, but my version on Manjaro Linux Stable is the following:

Version: 7.2.2.2 / LibreOffice Community Build ID: 20(Build:2) CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: de-DE (en_US.utf8); UI: en-US 7.2.2-2 Calc: threaded


Steps to Reproduce:
• Make a new document and write some words

• Open the Style Inspector and watch out for changes in lowest Section („Character Direct Formatting“)

• Change the font of the current style (via Style > Edit Style)

• Select a word that you’ve previously written and replace it, by typing it again

• Notice how the word that you’ve replaced is now directly formatted, meaning that if you change the styles’ font again, this word will not change font


Actual Results:
Formatting gets chaotic, because it's not visible what part has been directly formatted.

Expected Results:
New content should simply use the style that the replaced&selected content had before.


Reproducible: Always


User Profile Reset: No



Additional Info:
none
Comment 1 Dieter 2021-12-21 07:49:50 UTC
I can't confirm it with

Version: 7.2.4.1 (x64) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
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

But I'm not sure, if I followed your steps in the correct way, because I think you might mix direct formatting and character styles.

Steps I've tried
1. Open new document and type some words.
2. Select some of the words and apply a character style with a different font, than the rest of the document (style inspector shows, that there is no character direct formatting)
3. Overwrite selected text => New text has same character style (with different font) (still no character direct formatting)
4. Change font with Direct Formatting => Possible

=> Please specify your problem and your steps to reproduce.
=> NEEDINFO
Comment 2 QA Administrators 2022-06-20 03:27:22 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-07-21 03:34:24 UTC
Dear jojobader,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp