Community
Participate
Working Groups
Created attachment 244812 [details] Text controls with different styles Using this version of SWT Bundle-SymbolicName: org.eclipse.swt.win32.win32.x86; singleton:=true Bundle-Version: 3.100.1.v4234e we are encountering a strange behaviour of the Text-Control. Whenever you set the styles READ_ONLY and PASSWORD *without* setting BORDER, the password is displayed in plain text.
Issue can be reproduced by modifying Snippet346 with for Text field with SWT.PASSWORD | SWT.READ_ONLY style, targeting for 4.5
Issue also seen with SWT ControlExample: 1. Launch ControlExample, go to "Text" tab 2. Make the style selection as: SWT.SINGLE | SWT.READ_ONLY | SWT.PASSWORD 3. The text on the left will becomes readable. Resolution of the bug: Multi-line text control is not suitable for Text widget for PASSWORD | READ_ONLY style. Fix the problem & changed pushed to master through below patch: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=7b8b59f77ed87d96d9ebb10e1635504f88c3e8ea
Verified the fix in I20140804-2000 build.
Reopening this bug for back-port to 4.4.1 release. Lakshmi, for your review.
Thanks for the quick review Lakshmi. Back-ported the change to 'R4_4_maintenance' branch via below patch: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=R4_4_maintenance&id=7ae87fa2369a173c86775bf851b6afd6ea5a77e3
Verified the fix in M20140827-1200 build