Description of problem: In French word Next=Suite and word Cancel=Sortie (both with underlined S as shortcut button for combination with Alt), but combination Alt+S triggers Cancel button and there is no combination for Next button (Alt + [ortie] does nothing). This is same for Spanish (Next=Siguiente, Cancel=Salir). There are also two Browse buttons in Maven Repository Setup screen and Alt+B triggers only lower one. Version: EAP 6.1.1 ER1 How reproducible: always Steps to Reproduce: 1. run graphical installer in Spanish 2. try to press next button using combination with Alt button
Installer will now attempt to assign the button's keyboard shortcut based on the next letter in its caption, if the first letter is already in use by another button in the panel. Example: [S]uite and S[o]rtir. The shortcuts for the two browse buttons in the Maven Repository are also set this way. See commit for details: http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=f30baf8711f47c2f3bb56fd2a02c894680d8f66d
Added a more general fix to the button keyboard shortcut collision issue: - InstallerFrame buttons (help, next, previous, quit) now reserve their respective keyboard shortcuts before any panel buttons are generated. - Using a button shortcut map to avoid shorcut collisions within each panel. See commit for details: http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=9f27457495d4df3e2f4d3e51f54c08f96f788e87 Some discussion: - Languages that use symbols instead of letters (ie. Chinese) may not be able to use these keyboard shortcuts since each character may need several keystrokes to enter. Need to have further discussion about how to handle keyboard shortcuts for symbolic text buttons. - Should there be a standard, language-independent set of shortcut keys for the 4 main installerFrame buttons? For example: Enter->Next, Backspace->Previous, Esc->Quit, F1->Help.
Verified on EAP 6.1.1 ER2.