Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 155533 - Screen components dissappear on keyboard navigation
Summary: Screen components dissappear on keyboard navigation
Status: RESOLVED DUPLICATE of bug 145662
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 08:12 EDT by Sriharsha Prabhakar CLA
Modified: 2006-08-29 19:06 EDT (History)
4 users (show)

See Also:


Attachments
Sample Application (3.54 KB, application/x-zip-compressed)
2006-08-29 08:19 EDT, Sriharsha Prabhakar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sriharsha Prabhakar CLA 2006-08-29 08:12:14 EDT
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.
Comment 1 Sriharsha Prabhakar CLA 2006-08-29 08:19:15 EDT
Created attachment 48956 [details]
Sample Application

This is a sample SWT application to point out the setBackground method that causes the defect.
Comment 2 Steve Northover CLA 2006-08-29 19:06:05 EDT
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 ***