Open jingmisara opened 1 year ago
Can you prepare a screencast of the problem? We had this issues in the past, maybe it came back with 26 :(
Sure, here is the video.
https://drive.google.com/file/d/10EzOL_DZ9F5IPnIjJUp1KsfCqGLfgn_D/view?usp=sharing
How is the input method called? Do you have a guide how we can set it up locally?
Here is the detail about this issue.
Since Chinese “words” are glyphs, there is no alphabet per se. So we have to type in sequences of sort of “phonetics”, this will produce a list of Chinese glyph that it could be. We then have to select the correct Chinese glyph. If I want to type a sentence of many glyphs, then it’s a long process of: spelling out the so called “phonetics”, selecting the correct character, then repeating. In the Mac at least, up to Nextcloud 25, we could use the Chinese glyph selector correctly by moving the arrow keys to select the right glyph, then press enter to chose that character. But this would NOT send the message (since we are still typing the sentence).
It seems that from Nextcloud 26 the choosing a character on the selector now sends the message, and the result is we can no longer construct a sentence.
I hope this explains the problem in more detail. We’re using Google Chrome and Safari browser.
Unfortunately for us, Nextcloud 26 has completely broken the communication tool for the entire company who all communicate in Chinese :(
If there is any hotfix or patch we can apply, we’d love it since we’ve become paralyzed now.
We are aware of the issue (and fixed it in the past: https://github.com/nextcloud/spreed/issues/1071 ) But had to migrate to another component for the input now and it seems this new input component can does something wrong.
That being said, can you try if 16.0.1 fixed it already (removed some keyup event listeners)
We are running 16.0.2 now. Unfortunately, it's not fixed.
We've updated to Talk v17.0.0, but the problem is still there.
Hello, @jingmisara ! I guess I need a bit more infromation from you to help solve this issue.
As I don't have a Chinese keyboard, I followed this instruction to set up at least a virtual one. Both Chinese (Bopomofo) and Chinese (Chewing) from manual are working for me.
Pre-requisites for the video: OS: Ubuntu 22.04.2 LTS | Colleague has also checked that for Windows Browser: Google Chrome v 114.0 | Firefox v114.0.1 Talk: v17.0.0
https://github.com/nextcloud/spreed/assets/93392545/3dac6dbc-bdf5-4a2f-9b33-afc0cc2ce9f4
As I couldn't reproduce the issue, can you take a look on it and tell, what is the dfference between our actions?
Hi @Antreesy ,
We use OS: MacOS Browser: Google Chrome v 114.0 | Safari v 16.5.1 Talk: v17.0.0 Input Method: Chinese(Traditional) - Zhuyin
The typing behavior will be like this: Type in sequences of sort of “phonetics”, it will produce a list of Chinese glyphs, and we could use the Chinese glyph selector correctly by moving the arrow keys to select the right glyph, then pressing enter to choose that character. But this would NOT send the message (since we are still typing the sentence). I add the video with relevant questions.
OS: MacOS Browser: Google Chrome v 114.0 | Safari v 16.5.1
Thanks for the information, now it's reproducible for us on MacOS. We'll try to fix it in one of the following minor releases
I also can confirm on OSX in both Safari and Chromium-based
Supposed to be fixed now with upgrade to @nextcloud/vue@v7.12.2
.
@jingmisara please, reopen if you still have this issue after the release.
@ShGKme Appreciative of your efforts. This issue on Chrome has been successfully fixed.
However, there are still issues with Safari. Currently, on Safari, it is possible to select text successfully, but after choosing the text and pressing the Enter key, the message is sent immediately, which is not normal. Normally, it would require two presses of the Enter key (one to lock the selected message content, and another to send the message).
@jingmisara Have you tested the last version?
@jingmisara你測試過最後一個版本嗎?
Yes, now we are running on Talk v17.1.1
Maybe the compositionstart and compositionend are not correctly triggered by Safari.
@ShGKme can you instruct @Ivansss how to test this on Mac Safari?
Hi @jingmisara! Indeed Zhuyin input method has a bit of different behavior than the Japanese that I used to test. But as I understand this input method, it still works fine.
How I test and how I understand this method:
And it works for me. Is there another use-case that doesn't work? Could you make a short video or explanation? Or maybe you use some non-default settings that are important here?
@ShGKme can you instruct @Ivansss how to test this on Mac Safari?
Just add Chinese - Zhuyin
as an input method in Keyboard settings -> Input source:
https://support.apple.com/guide/chinese-input-method/zhuyin-traditional-cimzt15531/mac
Hi @ShGKme,
I recorded videos on Safari and Chrome.
type on Safari On Safari, after selecting the text and pressing Enter, the message is sent immediately.
type on Chrome On Chrome, after selecting the text and pressing Enter, the text becomes uneditable, and then pressing Enter again sends the message.
The behavior on Chrome is the correct one.
⚠️ This issue respects the following points: ⚠️
Bug description
After upgrading to Nextcloud v26.0.0, using Nextcloud Talk on Chrome or Safari, when typing in Taiwanese Zhuyin, press the Enter key once time, and it will send the message directly.
Usually, it should take two times Enter to send the message, the first Enter is used to confirm the font, and the second Enter is used to send out the message.
Steps to reproduce
Expected behavior
It should take two times Enter to send the message when we used Zhuyin input method, the first Enter is used to confirm the font(the message shouldn't send out), and the second Enter is used to send out the message.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response