timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.14k stars 242 forks source link

Write Text not outputing the characters "[]{}\" (and maybe others) correctly. #269

Open flajann2 opened 1 year ago

flajann2 commented 1 year ago

Describe the bug The "Write Text" field does not output precisely the text that is in it (this used to work). For example, I have this text in the Write Text:

\claimRef{}

And the output when that button is pressed is:

?claimRef/=

Similarly, with the Write Text:

[#C]

It generates:

(#C)

I tested this with Emacs (where I use these macros the most) and also the address field of a browser, to assure it was not a problem on the receiving end.

To Reproduce Steps to reproduce the behavior:

  1. In the Write Text of a button, place the text " [#C] "
  2. Give a text field of any any application the focus
  3. Press said button
  4. See the output comining across as " (#C) "

What is odd about this bug is that the characters it outputs just happens to be one of the alternate characters on the same keys, eg. what I would get if I did not hit the AltGr key (on my German keyboard), Is this some sort of keycode issue?

Expected behavior The output from Write Text should be precisely as was entered, in this case: " [#C] "

Operating system (please complete the following information) OS: Arch Linux x86_64 Kernel: 6.0.2-arch1-1 Uptime: 6 days, 12 hours, 57 mins Packages: 2771 (pacman), 46 (flatpak) Shell: bash 5.1.16 Resolution: 1440x2560, 1440x2560, 3840x2160 DE: Plasma 5.26.2 WM: KWin Theme: ArchSmooth [Plasma], Breeze [GTK2/3] Icons: [Plasma], breeze-dark [GTK2/3] Terminal: tmux CPU: AMD Ryzen Threadripper 3970X (64) @ 3.700GHz GPU: NVIDIA GeForce RTX 3080 Ti Memory: 39691MiB / 257586MiB Python 3.10.8

Stream Deck Version

flajann2 commented 1 year ago

I tried to find the version of Streamdeck-UI itself, but there does not appear to be available, neither from the command-line or in the UI.

flajann2 commented 1 year ago

OK, I saw how to check the streamdeck version, and updated it to the latest. The same problem persists.

Griffeng commented 1 year ago

For me (), [] and {} turns into the numbers the correspond to 7, 8 and 9.

So might have something to do with the layout of the keyboard?

Might take a look later today.

coolapso commented 1 year ago

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.

if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui