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

Bug 344466

Summary: Bidi 3.7: Images in disabled ToolBar disappear when orientation changed (setOrientation) used.
Product: [Eclipse Project] Platform Reporter: mariavin <mariavin>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: camle, eclipse.felipe, Lina.Kemmel, mariavin, pwebster, sadir
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
picture of the problem. none

Description mariavin CLA 2011-05-02 10:49:45 EDT
Build Identifier: 20110218-0911

Linux GTK Red Hat.

When ToolBar is disabled, use of setOrientation makes first buttons to loose text and images.
Let say we run in LTR GUI (ControlExamle - in
org.eclipse.swt.examples.mirroringTest package.), if we disable the toolbar
then click SWT.RIGHT_TO_LEFT" the
images and text in first button disappear (see steps to Reproduce).


Reproducible: Always

Steps to Reproduce:
1. Apply the attached patch on the "org.eclipse.swt.examples" project (project
level) attachment 194489 [details].
2. Go to org.eclipse.swt.examples.mirroringTest package.
3. Run the ControlExamle.
4. Go to the "Toolbar" Tab.
5. In "Others..." group the "Enabled..." option should be unchecked.
6. In "Orientation..." group choose "set orientation RIGHT_TO_LEFT".
resulrt - some icon and text of the first button disappeare.
Comment 1 mariavin CLA 2011-05-02 10:50:59 EDT
Created attachment 194498 [details]
picture of the problem.
Comment 2 mariavin CLA 2011-05-08 14:33:02 EDT
Tested on other (red hat) machines, but was not reproduced.