Community
Participate
Working Groups
The Eclipse key bindings - f.e. CTRL+A, defined in "org.eclipse.ui.bindings" extension in porject org.eclipse.ui, to select all text in a Scout-StringField - do not work on modeless (none modal) forms (dialogs). The problem is that on modeless forms no dialog-org.eclipse.ui.contexts ("org.eclipse.ui.contexts.dialogAndWindow" and "org.eclipse.ui.contexts.dialog") will not be activated. This is caused by dialogs with a null parent which explicitly receives no context (see org.eclipse.ui.internal.contexts.ContextAuthority#checkWindowType) Reproducible: Always Steps to Reproduce: 1. Open a modeless Scout form containing a String Field 2. Type some text into this String Field 3. Press CTRL+A to select all text Possible Workaround (quick and dirty approach?) - activate the missing contexts manually: --- if (!form.isModal()) { IContextService contextService = (IContextService) PlatformUI.getWorkbench().getService(IContextService.class); contextService.activateContext(IContextService.CONTEXT_ID_DIALOG_AND_WINDOW); contextService.activateContext(IContextService.CONTEXT_ID_DIALOG); } ---
updated target milestone to 3.7.2
removed target milestone
Scout Project clean up. Bugs matching one of the following criteria will be removed: - SWT, Swing and HTML(RAP) bugs which are not mandatory for the next release. The future is the new HTML UI. - Bugs concerning a replaced technology. - old bugs which got obsolete.