Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326741

Summary: Problem with Applications Objects Refreshing in RTL mode.
Product: [Eclipse Project] Platform Reporter: Vimal <vimal.dhupar>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, Lina.Kemmel, mukund, pwebster, raji, vimal.dhupar
Version: 3.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Simple java application. none

Description Vimal CLA 2010-10-01 03:48:11 EDT
Build Identifier: RAD version 7.5.0

When running the composite application in RTL mode, the components in the application flicker. The flickering can be seen when we open the application, as well as when we resize the components in the application page.


Reproducible: Always

Steps to Reproduce:
Providing a sample TestFlicker.java application. Here is how to reproduce the flickering with TestFlicker.java
1. Run  TestFlicker.java
2. Resize  the window
Comment 1 Vimal CLA 2010-10-01 03:49:56 EDT
Created attachment 180017 [details]
Simple java application.

Attached TestFlicker.java for recreation of the issue.
Comment 2 Vimal CLA 2010-10-01 05:56:09 EDT
(In reply to comment #1)
> Created an attachment (id=180017) [details]
> Simple java application.
> 
> Attached TestFlicker.java for recreation of the issue.

In the TestFlicker.java, you can try changing the code : 
Shell shell = new Shell(display, SWT.RIGHT_TO_LEFT | SWT.SHELL_TRIM); to 
Shell shell = new Shell(display, SWT.SHELL_TRIM);
and see that the flickering is being caused only in the RTL mode.
Comment 3 Felipe Heidrich CLA 2010-10-13 13:26:17 EDT
I see this problem on several application on bidi machines (windows explorer for example), as far as I know this is a problem in windows and there isn't much we can do.

Lina, do you have any insight on this problem ?
Comment 4 Lina Kemmel CLA 2010-10-14 12:18:35 EDT
Yes, it seems like a native problem. Unfortunately, I am not aware of any workaround for it at this point.
Comment 5 Felipe Heidrich CLA 2010-10-14 15:08:36 EDT
Closing as not Eclipse.