element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
Apache License 2.0
1.09k stars 243 forks source link

Multiple Spellcheck does not seem to work #859

Open ebal opened 1 year ago

ebal commented 1 year ago

Steps to reproduce

  1. Where are you starting? What can you see?
  2. What do you click?
  3. More steps…

Hello,

I am guessing the el is the language for Greek (el-GR) but does not seem to be working.

image

version

image

here is an example

image

only en-us

image

Element version: 1.11.15 Olm version: 3.2.12

Outcome

What did you expect?

To have multiple Spellcheck languages.

What happened instead?

Only en-US seems to working ?

Operating system

Windows 10

Application version

element 1.11.15

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

SimonBrandner commented 1 year ago

This is quite odd, I don't seem to be able to reproduce

SimonBrandner commented 1 year ago

Could you try removing all the languages and adding them again, enabling/disabling spell-check etc? Unless you've done that already

ebal commented 1 year ago

Testing the below text

καλημέρα καλλημέρα goodday gooddaay  hello γειά 

[correct] [wrong] [correct] [wrong] [correct] [correct]
  1. tried to remove all languages then clear cache and reload.

Switching to Greek "Ελληνικά" και choose el dictionary - clear cache & reload.

Seems to be working

image

image

  1. Greek Language, el dictionary + add en-US dictionary - clear cache & reload

image

only english dictionary works

image

  1. Switching back to English language - add only el dictionary - clear cache & reload

image

only English dictionary works - but I have not added en dictionary, only el dictionary

image

  1. English Language - el dictionary + en_US dictionary - clear cache & reload

image

again only en dictionary works

image

So seems that when having multiple spellcheck does not work for me :(

I hope this testing helps to figure out this bug - thanks

SimonBrandner commented 1 year ago

2022-12-06_11-30

From what I gather, it seems to work for me... Perhaps someone on Windows could test this. Have you seen this on any other machines?

(btw, Clearing Cache & Reloading won't help in this case, I recommend restarting Element instead)

ebal commented 1 year ago

Yes, I have tested by restarting the app in win10.

for all my tests - I can not find a way to have both el & en dictionaries for spellcheck in the app !

current settings image

current result image

I will try testing in another operating system later to correlate the results.

Is there a debugger option I can run to see what is happening in real time on my desktop ?

It would be great if someone else with win10 could indeed test it.

ebal commented 1 year ago

updated to v1.11.16 on win10 , unfortunately still same behavior

image

ebal commented 1 year ago

I can confirm that in Linux, multiple spellcheck does work v1.11.16

I can not figure out why it does not in win10 !