prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Tab switching when inputting characters on Norwegian keyboard #916

Open DrewBarclay opened 7 years ago

DrewBarclay commented 7 years ago

I apologize in advance, this one's going to be pretty specific:

Background: Normally to input special characters like í, the key sequence one follows on a Norwegian keyboard is ALT GR + \ + letter. In this case, ALT GR + \ + i produces í.

Bug: When inputting special characters, like í, using a Norwegian keyboard, the key sequence "(ALT GR)" + "\" causes Kiwi IRC to swap tabs, which prevents one from typing many words easily.

Steps to replicate: -On Google Chrome, with a Norwegian keyboard (I tried it out with Norwegian Bokmal) open Kiwi IRC and enter a channel. -Focus the text input. -Holding the right ALT key (to the right of the space bar, this is called "ALT GR" apparently), press \ (which, on a Norwegian keyboard, is the key to the left of backspace, += on an American keyboard). -Kiwi IRC will swap from whatever tab it is on to another one.

I assume there's a keyboard shortcut in Kiwi IRC which causes you to swap tabs, and this is triggering it somehow. If a fix would be annoying or time-consuming, let me know and I'll just find a way to remove those shortcuts on my copy of Kiwi. (If you could direct me to whatever file is responsible for shortcuts, I'd appreciate it.) None of my users use those shortcuts anyways.

Thanks.