markdwags / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
https://www.razorce.com
GNU General Public License v3.0
134 stars 90 forks source link

[BUG] Cannot type the letter 'n' in the script editor #215

Open TreyBastian opened 1 year ago

TreyBastian commented 1 year ago

Please include if you are using the standard OSI client or using ClassicUO. Classic UO

Using Arch Linux, Wayland and Hyprland I cannot type the letters n or N in the script editor.

Every other character types fine and I can type n and N in other locations within Razor.

I can copy and paste the letters into the script editor.

Screenshot highlighting the issue

20230527_12h21m03s_grim

ghost commented 1 year ago

Same problem here! I posted about it on Discord. Thanks for filing. :)

Platform: CUO latest (0.1.11.85) on GNOME 44 with Wayland on Arch Linux (I use arch, btw)

Workaround: edit scripts in a different editor, and reload in RazorCE after save.

dallenwilson commented 1 year ago

I ran in to this exact problem (Gentoo, Xorg) back in '21, documented in issue #177. I submitted patches to fix it.

You're both using Wayland, so perhaps that's why the work-arounds I submitted don't work for you. I don't use Wayland, but perhaps looking over what I did will help point you in the right direction.

ghost commented 1 year ago

@dallenwilson's workaround below seemed to do the trick!

Until then, and as a purely local work-around, you can edit the file Razor/Language/Razor_lang.enu (That's the english file of course, substitute whatever language you're using), and change the line MainForm::newProfile=&New... to read MainForm::newProfile=New...

Vlek commented 10 months ago

I am also having this problem. Extremely irritating.