Element-web: macOS text replacements are handled incorrectly

Created on 2 Dec 2019  路  3Comments  路  Source: vector-im/element-web

Description

macOS supports system-wide text replacements, which are finally supported in the current versions of Riot Desktop 馃帀
Unfortunately they're being handled a bit differently than elsewhere in that they're always expanded, not just on word boundaries. This is very annoying when having set up replacements for short words, which are also parts of other words.

For example I have eig set to complete to eigentlich. In other text fields I can still type words such as eigener. In Riot this is not possible currently without explicitly hitting esc after eig.

Steps to reproduce

  • Set up a text replacement in system settings
  • Type replacement string in Riot composer without a trailing word boundary (punctuation or spaces).

Version information

  • Platform: desktop
  • OS: macOS 10.15.1
  • Version: 1.5.5
bug platform specific composer

All 3 comments

Can someone add a composer and electron (looks like it effects all Chromium browsers not just Electron) label to this?

It seems to be an issue with the new composer (the old composer is even more broken). Other text fields in the app work fine (like the message search field and room filter field).

Riot in chrome-based browsers is unusable for me due to this issue

I just realized this appears to be fixed, I'm no longer encountering the issue and everything works as expected 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ara4n picture ara4n  路  3Comments

niedzielski picture niedzielski  路  3Comments

PureTryOut picture PureTryOut  路  3Comments

richvdh picture richvdh  路  3Comments

turt2live picture turt2live  路  3Comments