Bug 157553 - Since updating to LO 7.5.6, font changed in document and for autocorrect
Summary: Since updating to LO 7.5.6, font changed in document and for autocorrect
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-02 09:59 UTC by Pascal MIALHE
Modified: 2023-10-09 07:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Exemple auto-correction erronée (2.27 MB, application/pdf)
2023-10-04 09:13 UTC, Pascal MIALHE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal MIALHE 2023-10-02 09:59:55 UTC
Description:
Bonjour,
Suite à mise à jour LibreOffice_7.5.6_Win_x86-64 changement de police arbitraire.
Exemples : 
- Calc : passage de la police Arial à la police Calibri de certaines lignes sur un document existant.
- Writer - Auto-correction : ==> me donnait avant la flèche de la police Wingdings (code décimal 061672). Or, maintenant, elle est remplacée par le symbole du même code décimal mais en police Arial. 
Le problème se répète sur toutes les auto-corrections créées par moi.

Y-a-t-il un paramètre permettant d'indiquer la police du symbole de remplacement ?

J'ai fais la mise à jour en version LibreOffice_7.5.7_Win_x86-64, idem.

En mode sans échec, résous en partie l'anomalie en remplaçant par un autre symbole flèche mais pas la même que Wingding qui est plus épaisse.

En vous remerciant.

Cordialement,

Pascal MIALHE

Steps to Reproduce:
1.Saisie '==>' puis <Espace>
2.
3.

Actual Results:
Symbole Arial code décimal 061672

Expected Results:
Symbole Wingding code décimal 061672


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-10-03 07:26:49 UTC
Translated:

----

Since updating to LibreOffice_7.5.6_Win_x86-64, arbitrary change in font.
Examples:
- Calc: switched from Arial to Calibri in some lines in existing document
- Write - AutoCorrect: ==> used to result in the Wingdings arrow (decimal code 061672). But now, it's replaced by the symbol of same decimal code in the Arial font.
Problem occurs on all autocorrect I created.

Is there a parameter that allows fixing the font of the autocorrection?

I updated to LibreOffice_7.5.7_Win_x86-64, same thing.

In safe mode, resolved in part by replacing with another arrow symbol, but not the same as the thicker Wingdings one.

Thank you.

Steps to Reproduce:
1. Write '==>' then <Space>

Actual Results:
Arial symbol, decimal code 061672

Expected Results:
Wingding symbol, decimal code 061672

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2023-10-03 07:37:57 UTC
I thought I could reproduce the issue but now I'm unsure.

Pascal, can you please check that the rules you created have the option "Text only" off? (in French "Texte seul")
That's the option that controls if the replacement keeps its formatting (e.g. different font, bolded, etc.) or if it respects the formatting of the paragraph you are currently in.

Regarding your other issue with existing text changing fonts when opened, please share an example file (but ideally, this should be done in a separate report as it's a different issue).

Thank you!
Comment 3 Pascal MIALHE 2023-10-04 09:13:39 UTC
Created attachment 189996 [details]
Exemple auto-correction erronée

Bonjour,
Voici un exemple de l'anomalie :
- Sélection du caractère spécial (flèche Wingding code décimal 061672)
- Sélection menu Outils / AutoCorrection / Options d'AutoCorrection
- Saisie de ==> dans le champs Remplacer
- Case "Texte seul" décochée
- Anomalie : dans le champs Avec apparaît un caractère correspondant bien au code décimal 061672 mais pas dans la police Wingding
- Après plusieurs manipulations et notamment coché et décoché la case "Texte seul", j'y suis arrivé, mais ne sais trop comment
- J'ai tenté la même chose avec une autre flèche Wingding (code décimal 61664) et n'y suis pas arrivé.
Comment 4 Pascal MIALHE 2023-10-04 09:26:47 UTC
Bonjour,

J'ai vérifié la case "Texte seul" dans l'AutoCorrection" comme indiqué par Stéphane Guillou, elle semblait cochée mais grisée. J'ai supprimé puis j'ai recommencé la manipulation et après plusieurs essais j'y suis arrivé mais ne sais trop comment.
J'ai tenté avec une autre flèche Wingding (code décimal 61664) mais n'y suis pas arrivé.
Autre information : si je fais un clic-droit dans le champs Avec, il est proposé Caractères spéciaux, mais le nom de la police en haut est Segoe UI et grisée sans possibilité de la modifier. De plus si je sélectionne la flèche Wingding depuis les favoris, c'est un autre caractère qui apparaît dans le champs Avec.

Merci
Comment 5 Stéphane Guillou (stragu) 2023-10-04 16:28:11 UTC
(In reply to Pascal MIALHE from comment #3)
> - Anomalie : dans le champs Avec apparaît un caractère correspondant bien au
> code décimal 061672 mais pas dans la police Wingding

I guess this could be filed as a separate enhancement request (I could not find an existing one): "show autocorrect replacement as it would be formatted in the UI" (a bit like how we show previews in the Styles Sidebar deck).

> - Après plusieurs manipulations et notamment coché et décoché la case "Texte
> seul", j'y suis arrivé, mais ne sais trop comment
> - J'ai tenté la même chose avec une autre flèche Wingding (code décimal
> 61664) et n'y suis pas arrivé.

I still can't reproduce the issue in 7.6.2.1.
I followed these steps:

0. Install the wingdings font
1. In a document, insert the Wingdings arrow U+F0E8 aka 61672 and select it
2. Tools > Autocorrect > Autocorrect options:
- Replace: "==>"
- With: the arrow that is automatically populated
- Text only: Off
3. Click "New", then "OK"
4. In the document, write "testing" followed by a space

The arrow is displayed properly in the dialog, and it is autocorrected as expected in the document.
I also tested with the arrow U+F0E0 aka 61664 and it worked too.
I'm not sure why you are having different results. Maybe worth testing 7.6.2.1 as well? Possibly Windows-specific.

(And please, if you can, can you translate your replies to English? An online translation tool will do if you don't want to write in English. Un grand merci !)
Comment 6 Pascal MIALHE 2023-10-06 07:43:49 UTC
Hello,
Following the update to version 7.6.2.1, the problem has been solved. I still have to recreate my auto-corrections.
Thanks for your help.
Comment 7 Stéphane Guillou (stragu) 2023-10-09 07:36:19 UTC
Thanks you for reporting back, Pascal.
Let's close as "works for me" as we are not sure exactly what the issue was / what fixed it.