Bug 160965 - With French text; space before ? ! and other signs is automatically being changed to a grey field instead of just a space.
Summary: With French text; space before ? ! and other signs is automatically being cha...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-06 18:23 UTC by Mikkel
Modified: 2024-05-17 03:49 UTC (History)
2 users (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 Mikkel 2024-05-06 18:23:51 UTC
Description:
When typing without space before ? ! etc. it makes a space but as a grey field. If typing the space myself, it then also changes it into a grey field.

Steps to Reproduce:
1. Type: Text ending with ? (or ! or =)
2.
3.

Actual Results:
Text ending with[grey]?

Expected Results:
Text ending with ?


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: da
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Mikkel 2024-05-06 18:29:47 UTC
I made a mistake in the report. The problem does not occur with =, but with : (and ? and !) - when writing in French.
Comment 2 Julien Nabet 2024-05-06 18:39:28 UTC
Yes it's expected, it's a specific space called "Non-breaking space" ("espace insécable" in French).
You'll have the same if you type ":" (without quotes).
Comment 3 Mikkel 2024-05-07 05:38:32 UTC
Thanks. But I think it should just make space and not give it a grey colour. Every time I need to go back and delete it and make a new space myself. Texts become almost unreadable, because of all the spaces filled with grey colour.
Comment 4 Julien Nabet 2024-05-07 09:06:04 UTC
I don't see any grey color on neither on Windows with LO 7.6.6 nor with LO Debian package 24.2.3.
Could you give an upgrade + apply https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?
Comment 5 V Stuart Foote 2024-05-07 10:54:34 UTC
No need to delete, that is "Autoformatting" that does character adjustments for some locales. Some of the formatting marks still receive the gray shadings rather than the blue non-printing character format markings. The localized auto correct can be disabled from Tools -> AutoCorrect -> AutoCorrect Options... dialog. And on the 'Localized Options' uncheck the "Add non-breaking space before specific punctuation marks in French text".

But for the gray visual effect through the 24.2 release, use <Ctrl>+F8 to toggle off 'Field Shadings'

At the 24.8 release, the toggle is corrected [1] to use the <Ctrl>+F10 'Formatting Marks' control.

=-ref-=
[1] https://gerrit.libreoffice.org/c/core/+/166033
Comment 6 Mikkel 2024-05-17 03:49:15 UTC
Thanks, that worked. It is Ctrl+F8 in my case. Or in the menu: View -> Field shadings.