Community
Participate
Working Groups
Build Identifier: Eclipse for scout and RAP Developers Version: Indigo Release Build id: 20110615-0604 See "Steps to reproduce" It works in swing but not in swt Reproducible: Always Steps to Reproduce: 1. Create StringField 2. Set flag "Input Masked" 3. Start SWT 4. Enter text to the string field, text will be shown in plain text instead of *
seems to be a consequence as StyledText doesn't support password style. see https://bugs.eclipse.org/bugs/show_bug.cgi?id=149662
Created attachment 227444 [details] Proposal Proposal for org.eclipse.scout.rt.ui.swt project to enable masked input (Passwords) in SWT.
Thanks for your proposal! We will analyse it. A patch file would be easier to hanle, even if all lthe classes are new. Milestone set to M7.
There is many duplicate code now between SwtScoutStringField and SwtScoutStrintPlainTextField. Wouldn't it be possible to create an abstract class which contains the common code and two classes which extend this? @René: Could you investigate this and submit a new proposal/patch? Thanks.
I'll push this patch as provided by René so the API Changes are in M7. The duplicate code will be removed for RC1/RC2 from René.
Proposed patch as been pushed as change (https://git.eclipse.org/r/#/c/12592/).
@René: Please could you answer following questions: - Did you author 100% of the content you’re contributing? - Do you have the rights to contribute this content to Eclipse? - Are you willing to contribute the content under the project’s license(s) (e.g. EPL) As soon as they are answered I allowed to submit your Patch to the Kepler sources (git master). -- Thanks and greetings Stephan
yes to all three cu Rene
Has been committed to master: 1d83ccb89729307d0a7a4dbc3c8b4485577e2fd6 (http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d83ccb89729307d0a7a4dbc3c8b4485577e2fd6)
@René: As soon as you find some time please consider to go over the issues mentioned in comment #4. -- Greetings and thank you for the patch Stephan
Please also remove the System.out.println in StringFieldFactory.
Removed sysout line with https://git.eclipse.org/r/#/c/13119/. Merged to master with commit ee8d9b748d453d02e87215682ba6b017becd7a42.
postponed to 3.9 SR1.
Removed duplicate code with https://git.eclipse.org/r/#/c/15551/
Applied the refactoring only on develop branch. Change cherry-picked as 4ddcf92bc42ae247869d8e44ad6da4f12e8e95d7. Please verify!
Verified with Eclipse Scout Kepler SR1 RC2 EPP on all front ends.
Bug closed. Shipped with Kepler SR1
Gerrit change https://git.eclipse.org/r/13119 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=ee8d9b748d453d02e87215682ba6b017becd7a42
Gerrit change https://git.eclipse.org/r/12592 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d83ccb89729307d0a7a4dbc3c8b4485577e2fd6
Gerrit change https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/12592 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d83ccb89729307d0a7a4dbc3c8b4485577e2fd6
Gerrit change https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/13119 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=ee8d9b748d453d02e87215682ba6b017becd7a42