Lusito / dict.cc-translation

Firefox Addon for dict.cc
zlib License
37 stars 5 forks source link

Alt key without any other modifier problematic for quick key in e10s #5

Closed Lusito closed 8 years ago

Lusito commented 8 years ago

When using multi-process mode of firefox (e10s), using the Alt key as the only modifier is problematic: The application menu will show up and hide any panel. Tabs work, but the menu is still open, which is still too ugly. Using any other modifier in combination with alt stops this bug.

It should be possible to disable this by intercepting the keypress event from the pagemod.js file. This should of course only happen if a translation has actually occured.

Lusito commented 8 years ago

update: intercepting keypress,keyup, keydown does nothing at all. That makes it a lot harder to fix

SebastianZ commented 8 years ago

In case this can't be fixed, I'd suggest to add a warning when only the Alt checkbox is checked within the settings and to file a platform bug for that.

Sebastian

Lusito commented 8 years ago

closing this issue for now, added a warning.