Bug 977717 - Key shortcuts with Alt are not working for some languages
Summary: Key shortcuts with Alt are not working for some languages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Installer
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: EAP 6.1.1
Assignee: Francisco Canas
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 08:20 UTC by Petr Kremensky
Modified: 2014-09-03 04:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-16 20:26:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Kremensky 2013-06-25 08:20:44 UTC
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

Comment 1 Francisco Canas 2013-06-25 20:10:40 UTC
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

Comment 2 Francisco Canas 2013-06-26 21:01:11 UTC
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.

Comment 3 Petr Kremensky 2013-07-08 14:01:12 UTC
Verified on EAP 6.1.1 ER2.


Note You need to log in before you can comment on or make changes to this bug.