sanskrit-lexicon / csl-apidev

0 stars 0 forks source link

input bug in list display mode #34

Open SergeA opened 1 year ago

SergeA commented 1 year ago

Hello! Today we have a bug with input in List display mode. If I input in HK and it is selected in preferences ( Input display - Same as keyboard ) it works ok. But if it is selected ( Input display - Standard Romanization ) or ( Input display - Devanagari ) it uses wrong input scheme and does not find anything.

image

Also there is long time problem with English-Sanskrit dictionaries in List display mode. Input is forced to Roman transliteration and does not allow to type English letters like w or z, which are converted to ṭ or ś.

funderburkjim commented 1 year ago

Hi, Serge. I do confirm HK/ problem For reference, here is what the 'Preferences' looks like in the problem case: image

QUESTION: Is this a NEW problem (i.e., did the same set of preferences work properly until now? -

funderburkjim commented 1 year ago

Another user reported similar problem with List display.

My suspicion: The server recently upgraded PHP to version 8. I suspect the list display problem is somehow related to this upgrade.

funderburkjim commented 1 year ago

The above two commits solve the List-display problem -- at least I think so! @SergeA please exercise the list display some.

As to 'long time problem with English-Sanskrit dictionaries in List display mode', I don't find any noticeable delay in MWE searches. Do you still have long delays here?

SergeA commented 1 year ago

The above two commits solve the List-display problem

Yes, it works again. Thank you very much!

As to 'long time problem with English-Sanskrit dictionaries in List display mode', I don't find any noticeable delay in MWE searches. Do you still have long delays here?

No,no, I mean an input problem. This problem I have in List display of English to Sanskrit dictionaries. The input works as transliteration. When I try to type e.g. "window" it is converted to "ṭindoṭ" etc. There is no way to search words with Q W F Z X letters.

But in Basic display the input is ok, and is written as ( input: English, lower-case ) and it is not changeable.

gasyoun commented 1 year ago

There is no way to search words with Q W F Z X letters.

You use the List mode for what reason? How is SIMPLE worse than List mode?

funderburkjim commented 1 year ago

mwe and w, etc.

The list display DOES work for the English-Sanskrit dictionaries IF 'Input display' is set to 'Same as keyboard input'. Not sure if this requirement should be considered a bug or a feature.

image

image

SergeA commented 1 year ago

The list display DOES work for the English-Sanskrit dictionaries IF 'Input display' is set to 'Same as keyboard input'. Not sure if this requirement should be considered a bug or a feature.

Ah. It's true, it works. Now I know the way. )) Thank you, Jim! Then for me it is ok. But it looks rather like a bug.

SergeA commented 1 year ago

You use the List mode for what reason? How is SIMPLE worse than List mode?

There are certain reasons. Simple search is created for uneducated people and is very bad from the spelling training point of view. Sometimes it is unpredictably buggy and does not find the correct spelling. So I usually avoid using it, nor recommend to use it to people. And another reason is that I do not see Apte's English to Sanskrit dictionary in the Simple search menu. Then how can I use it there?

gasyoun commented 1 year ago

I do not see Apte's English to Sanskrit dictionary in the Simple search menu.

Yeah, this is what wrote about @funderburkjim some time ago. I believe it's fixable, switching off the hints for English words or having them in a different mode?