Quote/Apostrophe and Accept/Reject Issue

I have an issue where I have Autocorrect change striaght quotes to curly quotes. However, if I am editing and I do this with in-line edits marked up, then have those changes rejected, the added in-line text is removed but the quote mark (or apostrophe) remains when it should have also been deleted.

How can I prevent this?

1 Like

I don’t see that effect in my version, nor in older 7.6.7.2. What version do you have, Ask/Guide - How to use the Ask site - The Document Foundation Wiki ?
.
Can you try in safe mode? Click Help > Restart in safe mode > Continue in safe mode and test there.
.
Version: 26.2.2.2 (X86_64)
Build ID: 1f77d10d6938fd34972958f64b2bcfa54f8b1ba5
CPU threads: 8; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-GB
Calc: CL threaded

I’m using:

Version: 26.2.3.2 (X86_64)
Build ID: 70e089b17412e4cb7773e41413306b17a2328c34
CPU threads: 4; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded


I tried it in Safe Mode and the problem is persisting. I don’t know if I can add images or anything to show, but it goes like this. Let’s say I have this line:

This is a test.

Then I decide to add something including quotes (with inline changes visible)

I said, “This is a test.”

Then I decide to select all of that and reject the change to make it the way it was. It will come out

“This is a test”

With the quotes treated as if they were in the original line.

This happens both normally and in safe mode for me.

However if I go to Autocorrect Options, and turn the checkmarks off for Replace on Single Quotes and Double Quotes, then the above scneario does not happen.

Obviously, I need my curly quotes, however :slight_smile:

If there were two changes, adding exit quotes and adding I said, " you might need to reject changes for the I said, then reject the exit quote change. The highlight in Manage Changes should move to the next edit after pressing Reject.
.
Pressing Reject will remove just the first quotation mark, pressing it again will remove the second quotation mark.
.
For me, the changes are in orange although a second person’s changes might appear in blue (see image below) which can look like black text. If you have High Contrast enabled on the operating system, then you might not see colour text. In that case, you need to click Tools > Options > LibreOffice > Accessibility and in High Contrast, select Disable.

In the example I gave above, that was all one change. I would type in I said and add in the quotes in one go. Then I would select the entire passage, select reject all, and the quotes would remain, even though they were part of the same editing pass as the I said part.

Other oddities with this. Let’s say I type the following passage as its own thing, but as part of the in-line visible editing process. This is all fresh text, but in the markup mode on the document.

Testing “Testing” Testing

I then Reject All for the whole thing. I’m left with only the quote marks.

“”

However, if instead I Accept All, there are no problems. Everything’s accepted like it should.

This is all very weird. I really don’t want to turn off curly quotes, but the way this is working I could end up adding mistakes without meaning to!

Another weird thing that happens while doing the edit is that these quote marks come out with a heavy underline when I type.

I’ll try to add an image below that will help illustrate.

Screenshot from 2026-05-03 23-26-52

OK. I can reproduce if bold the Quotation marks after typing in your example. You might like to make a bug report, How to Report Bugs in LibreOffice - The Document Foundation Wiki

Is there a way to prevent that from happening in the first place? I feel like I must have done something to a setting somewhere, but I could be wrong and maybe that’s just the update.

Another Oddity that I noticed. In that example above, if I were to highlight the whole thing and then change it to Italics… the whole first Testing becomes bold as well, and behaves like the quote marks if I press “Reject Change”

In other tests, where I have an in-line change that includes quotes or apostrophes or periods and I italicze it, it will only bold the previous letter… but if I keep italicizing and un-italicizing it, then it continues affecting the previous letter with each step until it reaches the beginning…

Mentioning this in case this somehow provides a clue as to why it’s happening.

Without a bug report there won’t be a resolution

Crap. I was hoping for a workaround… I’d like to file a bug, but the process seems a bit involved and I’m often busy.

Managed to figure out the bug submitting. Thanks for your input.

Appears to be tdf#172017