Community
Participate
Working Groups
Test setup: - 1. WindowsXP SP2. 2. Change the theme in the Windows 'Display Properties' to 'Windows Classic'. Steps to reproduce the defect: - 1. Run the attached sample SWT application. 2. Notice that the cursor is at the first text box, by default. Now use the Tab key to navigate to the next screen component. 3. DEFECT: Observe that the radio buttons in the app screen dissapear. NOTE #1: The defect is seen only on WindowsXP while it is set to 'Windows Classic' theme. NOTE #2: The problem occurs on usage of the setBackground method <<button.setBackground(composite.getBackground())>>. The defect is not seen if this method isn't used.
Created attachment 48956 [details] Sample Application This is a sample SWT application to point out the setBackground method that causes the defect.
Please reopen if not a duplicate. Some people are seeing this problem but not everybody. Strange. *** This bug has been marked as a duplicate of 145662 ***