Element-web: Composer doesn't work with many input methods

Created on 6 Nov 2018  路  21Comments  路  Source: vector-im/element-web

Most helpful comment

let the record show that we're solving this by moving away from Slate to a lightweight editor we wrote ourselves called CIDER. Please help us test it by going to riot.im/develop and turning on the new editor in Labs in Settings, and hopefully almost all of these issues are resolved.

All 21 comments

I think I got all of them. Please point out any issues I might have missed.

you missed #7149

7149 is a duplicate of another issue on this list.

Just so you know that I'm now experiencing the same characters problem with macOS 10.14.1, Safari 12.0.1 & the US Intl keymap. Very annoying indeed.

out

I can confirm this issue on NixOS, Firefox, and Fcitx with Mozc for Japanese input. Whatever I type is stochastically swallowed and I would sadly say that things are unusable at this point, if I want to type in Japanese I will have to type it in another window and paste it into the Riot web client.

I have the same problem on macos.

I'm not sure about the progress that was made here, but I've noticed that typing umlauts is now possible. A new issue however is that I'm often unable to use backspace, or sometimes type at all, unless I restart Riot. The app doesn't freeze up or anything like that, some forms of input just no longer work in the message field.

text

I have to restart/reload Riot several times daily when it gets itself into a weird state regarding text input 馃槙 Often this happens after typing German umlauts, suddenly I can't use backspace, or typing doesn't work at all, or text just reappears after deleting it (as shown in the gif). This feels extremely broken.

IMO the message input is doing way too much magic, whatever it's trying to achieve with that. It should just be a basic text field that works.

Sorry for piling ever more comments onto this issue, but I've noticed that I've been invoking cmda + backspace twice to delete an entire message, since it always fails the first time 馃槙

Someone should try to update to the latest version of Slate. The upstream issue isn't fixed but people keep reporting that it is better on the latest versions.

@aaronraimist @turt2live When i try to update the Slate to 0.44.12, I got the error :
As of Slate 0.42.0, value object are no longer schema-aware, and the `value.change()` method is no longer available. Use the `editor.change()` method on the new `Editor` controller instead.
Do you have a related upgrade plan?

I didn't want to open yet another issue, but just wanna ping that input doesn't work beyond the keys input directly with keypress on the keyboard. I can't input Korean and Chinese via ibus, and X compose key doesn't work either.

let the record show that we're solving this by moving away from Slate to a lightweight editor we wrote ourselves called CIDER. Please help us test it by going to riot.im/develop and turning on the new editor in Labs in Settings, and hopefully almost all of these issues are resolved.

@ara4n I went to riot.im/develop but the issue still persists...

@ara4n I went to riot.im/develop but the issue still persists...

Sorry to be pedantic, but did you also go to Settings -> Labs, enable the new composer, and reload Riot? (The new composer is not enabled by default yet.)

@jryans That works! Thanks!

Works! Gonna take a while to beat my input-phobia now :D

Here is a normal input sequence:

But the behavior in CIDER is:

let the record show that we're solving this by moving away from Slate to a lightweight editor we wrote ourselves called CIDER. Please help us test it by going to riot.im/develop and turning on the new editor in Labs in Settings, and hopefully almost all of these issues are resolved.

Sweet!

The new one seems to work much better from ~2minutes of testing, now i can even paste stuff into the riot.im message-field on Qutebrowser / linux/wayland (sway) without having to open webinspector -> elements -> event listeners -> remove listener on paste, paste my stuff, post, then reload riot.im to make it work for normal messaging again..

Thanks @rixtox, have split this out into a separate issue: https://github.com/vector-im/riot-web/issues/10913

馃帀 馃帀 馃帀 fixed 馃帀 馃帀 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niedzielski picture niedzielski  路  3Comments

richvdh picture richvdh  路  3Comments

ara4n picture ara4n  路  3Comments

bagage picture bagage  路  3Comments

NotAFile picture NotAFile  路  3Comments