-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
None
Reproducible sample:
@Wire private Spreadsheet ss; public void doAfterCompose(Window comp) throws Exception { super.doAfterCompose(comp); ss.setCtrlKeys(ss.getCtrlKeys() + "^n"); } @Listen("onCtrlKey=#ss") public void shortCut(KeyEvent event) { if (event.isCtrlKey()) { int keyCode = event.getKeyCode(); if (keyCode == 78) //s = 78 System.out.println("ctrl + n pressed"); } }
Expected: see log on console
Actual: Browser open new tab