From 7543cca7d6b06d57ec5c802a1bab082339552711 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 6 Feb 2025 16:00:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20Add=20known=20issue=20with=20wty?= =?UTF-8?q?pe=20GUI=20applications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added short description of #34 and the corresponding workaround given by @arminius-smh. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 54d6080..307a6b7 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,23 @@ If there are any problems, don't hesitate to open an issue. If you have an idea or improvement, don't hesitate to open a merge request! +### Known issues + +There is a known issue concerning some GUI application which do not receive the correct emojis +when auto-typing and instead a bunch of empty unicode squares. +It seems to be an issue with `wtype` and may need to be fixed upstream. + +Unfortunately, `wtype` is the only stable wayland typing backend to my current knowledge. +Until `bemoji` supports more typing backends on wayland, a workaround seems to be to save the +emoji to the clipboard and have a typing tool paste the contents of the clipboard directly, +like the following: + +```sh +bemoji -cn && echo key ctrl+v | dotool +``` + +The issue is tracked at [#34](https://github.com/marty-oehme/bemoji/issues/34). + ### Running tests This project makes use of [bash-bats](https://github.com/bats-core/bats-core) (community fork) to test some of its functionality.