Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344466 - Bidi 3.7: Images in disabled ToolBar disappear when orientation changed (setOrientation) used.
Summary: Bidi 3.7: Images in disabled ToolBar disappear when orientation changed (setO...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 10:49 EDT by mariavin CLA
Modified: 2011-05-08 14:33 EDT (History)
6 users (show)

See Also:


Attachments
picture of the problem. (21.39 KB, image/gif)
2011-05-02 10:50 EDT, mariavin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.