Bug 163231 - Correttore ortografico italiano non funziona
Summary: Correttore ortografico italiano non funziona
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All All
: high major
Assignee: Julien Nabet
URL:
Whiteboard: target:25.2.0 target:24.8.3
Keywords: bibisectNotNeeded
: 163080 163237 163241 163374 163545 163561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-01 09:40 UTC by Mauro
Modified: 2024-10-22 10:13 UTC (History)
10 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 Mauro 2024-10-01 09:40:04 UTC
Dopo l'installazione della versione 24.8.2.1 di Libre Office, il correttore ortografico non funzionava e tra i dizionari non risultava presente quello in italiano.
Per risovere ho solo aggiunto la nuova estensione da Italian Spellchecker » Libreoffice Extensions 1, senza cancellare nulla.
Dopo il riavvio di Libre Office tutto ha funzionato alla perfezione
Mauro
Comment 1 Julien Nabet 2024-10-01 17:11:44 UTC
*** Bug 163237 has been marked as a duplicate of this bug. ***
Comment 2 Julien Nabet 2024-10-01 17:12:17 UTC
Confirmed with duplicate tdf#163237
Comment 3 Xisco Faulí 2024-10-02 06:50:03 UTC
*** Bug 163241 has been marked as a duplicate of this bug. ***
Comment 4 Julien Nabet 2024-10-04 17:10:18 UTC
I could reproduce this too on Linux so concerns all envs.
Comment 5 Julien Nabet 2024-10-04 20:06:15 UTC
Strangely, I don't reproduce this on pc Debian x86-64 with LO Debian package 24.8.2.1.
I installed hunspell-it package and it worked.
Comment 6 Julien Nabet 2024-10-05 08:43:12 UTC
I gave a try with 24-8 sources updated today and I could reproduce this.
So at least, it corresponds with the bugtracker.
Still don't know I can't reproduce this with LO Debian package except if it's a very recent commit in 24.8.

We definitely need a bibisect here.
Comment 7 Julien Nabet 2024-10-06 14:27:04 UTC
Reverting a2bf59878dd76685803ec260e15d875746ad6e25
Make Italian dictionary usable e.g. for Italian (Switzerland)

seems to fix the pb.

Andras: what about this patch?
diff --git a/it_IT/dictionaries.xcu b/it_IT/dictionaries.xcu
index dc3b008..f25002c 100644
--- a/it_IT/dictionaries.xcu
+++ b/it_IT/dictionaries.xcu
@@ -11,7 +11,7 @@
                 <value>DICT_SPELL</value>
             </prop>
             <prop oor:name="Locales" oor:type="oor:string-list">
-                <value>it</value>
+                <value>it-IT it-CH</value>
             </prop>
         </node>
         <node oor:name="HyphDic_it-IT" oor:op="fuse">
@@ -22,7 +22,7 @@
                 <value>DICT_HYPH</value>
             </prop>
             <prop oor:name="Locales" oor:type="oor:string-list">
-                <value>it</value>
+                <value>it-IT it-CH</value>
             </prop>
         </node>
         <node oor:name="ThesDic_it-IT" oor:op="fuse">
@@ -33,7 +33,7 @@
                 <value>DICT_THES</value>
             </prop>
             <prop oor:name="Locales" oor:type="oor:string-list">
-                <value>it</value>
+                <value>it-IT it-CH</value>
             </prop>
         </node>
Comment 8 Julien Nabet 2024-10-06 14:31:22 UTC
BTW, I forgot to tell I took a look at Spanish part and here are some relevant parts
1) When it's common between all sublanguages:
    258         <node oor:name="HyphDic_es" oor:op="fuse">
    259             <prop oor:name="Locations" oor:type="oor:string-list">
    260                 <value>%origin%/hyph_es.dic</value>
    261             </prop>
    262             <prop oor:name="Format" oor:type="xs:string">
    263                 <value>DICT_HYPH</value>
    264             </prop>
    265             <prop oor:name="Locales" oor:type="oor:string-list">
    266                 <value>es-AR es-BO es-CL es-CO es-CR es-CU es-DO es-EC es-ES es-GQ es-GT es-HN es-MX es-NI es-PA es-PE es-PH es-PR es-PY es-SV es-US es-UY es-VE</value>
    267             </prop>
    268         </node>

2) When there are some differences between sublanguages,
...
    148         <node oor:name="HunSpellDic_es_NI" oor:op="fuse">
    149             <prop oor:name="Locations" oor:type="oor:string-list">
    150                 <value>%origin%/es_NI.aff %origin%/es_NI.dic</value>
    151             </prop>
    152             <prop oor:name="Format" oor:type="xs:string">
    153                 <value>DICT_SPELL</value>
    154             </prop>
    155             <prop oor:name="Locales" oor:type="oor:string-list">
    156                 <value>es-NI</value>
    157             </prop>
    158         </node>
    159         <node oor:name="HunSpellDic_es_PA" oor:op="fuse">
    160             <prop oor:name="Locations" oor:type="oor:string-list">
    161                 <value>%origin%/es_PA.aff %origin%/es_PA.dic</value>
    162             </prop>
    163             <prop oor:name="Format" oor:type="xs:string">
    164                 <value>DICT_SPELL</value>
    165             </prop>
    166             <prop oor:name="Locales" oor:type="oor:string-list">
    167                 <value>es-PA</value>
    168             </prop>
    169         </node>
...
Comment 9 Xisco Faulí 2024-10-08 10:14:59 UTC
*** Bug 163080 has been marked as a duplicate of this bug. ***
Comment 10 Andras Timar 2024-10-08 10:23:47 UTC
(In reply to Julien Nabet from comment #7)
> Andras: what about this patch?
If it works for you, please push. Probably I did not test my patch carefully.
Comment 12 bfede 2024-10-08 17:08:50 UTC
Thank you I am continuing to use the previous version 24.2 I hope the problem will be fixed permanently in the next version.
Comment 13 Commit Notification 2024-10-08 17:49:35 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/dictionaries/commit/b871dff9e73eefc187b2c979803c619ceccaed3a

tdf#163231: fix Italian spellchecking
Comment 14 bfede 2024-10-08 22:08:22 UTC
Thank you
Comment 15 Commit Notification 2024-10-09 08:14:19 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/dictionaries/commit/ed848cfae2c027a8cb960e72cfd3af4b3eab4a7f

tdf#163231: fix Italian spellchecking
Comment 16 Buovjaga 2024-10-10 11:34:15 UTC
*** Bug 163374 has been marked as a duplicate of this bug. ***
Comment 17 Buovjaga 2024-10-20 16:01:07 UTC
*** Bug 163545 has been marked as a duplicate of this bug. ***
Comment 18 Julien Nabet 2024-10-22 10:13:35 UTC
*** Bug 163561 has been marked as a duplicate of this bug. ***