vim-vixen
vim-vixen copied to clipboard
Does not work with Etherpad
I'm opening this issue because:
- [X] I'll report a bug
- [ ] I'll propose a new feature
Description
I blacklist domains where I use etherpads, but Vim Vixen still interferes in actually typing text into etherpad.
Failure Information (for bugs)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Blacklist a domain with etherpad, e.g. *.framapad.org
- Go to an etherpad on a blacklisted domain, e.g. https://mensuel.framapad.org/p/j5YwrTwrcE and try to type text (e.g. press a key that would normally do something with Vim Vixen)
- Vim Vixen will interfere instead of complying with the blacklist and therefore Vim Vixen interferes with typing text into Etherpad.
System configuration
- Operating system: Arch
- Firefox version: 57
- Vim-Vixen version: 0.6
Console logs
Any relevant log in developer tools: N/A
This already came up in #173 but does not provide a fix. (Disableing Vim Vixen altogether is not an acceptable fix)
I can confirm this is also the case for codepen.io. It appears that the blacklist feature is ignored in these cases. Also of note Shift+Esc does not appear to work either.
Speculation: Vim Vixen is not actually being disabled like the documentation suggests. Perhaps a UI indicator would help distinguish if this is the case or not.
To reproduce in codepen.io:
Setup
- Open codepen.io
- Login/create new account
- Click user avatar and select Settings
- Select Vim as the Key Bindings.
- Click Save All Settings
Control (default config)
- Login to codepen.io
- Create new pen
- click an editing frame to give it focus
- Type i and enter text
- Press Esc
- Verify window has lost focus (expected: window does not loose focus)
Perform the same above with the addon disabled and you will see the window keeps focus.
Steps with temporary disabling
- Login to codepen.io
- Create new pen
- Press Shift+Esc
- click an editing frame to give it focus
- Type i and enter text
- Press Esc
- Verify window has lost focus (expected: window does not loose focus)
Steps with blacklist disabling
- Open Vim Vixen preferences.
- Add codepen.io to blacklist (See example config below)
- Close addon preferences tab
- Login to codepen.io
- Create new pen
- click an editing frame to give it focus
- Type i and enter text
- Press Esc
- Verify window has lost focus (expected: window does not loose focus)
Sample blacklist config
{
"keymaps": { ... },
"search": {
"default": "duckduckgo",
"engines": { ... }
},
"blacklist": [
"codepen.io"
]
}
Issue confirmed for *.framapad.org
in Vim Vixen 0.19.
Blacklisting does work for me, still Vim Vixen should automatically pass keys through if I am in a textfield like that.