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

Bug 319000

Summary: Toolbar does not wrap on Linux
Product: [Eclipse Project] Platform Reporter: Michael Barkhouse <mbarkhou>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Sample plug-in for reproducing the bug none

Description Michael Barkhouse CLA 2010-07-06 08:35:04 EDT
Build Identifier: I20100331-2220 (I'm using RTC)

I've attached a small plug-in based on the PDE plug-in template for a plug-in with a view. I've modified the view to include a tool bar inside the main composite. On Windows the tool bar will wrap when the view is made smaller. On Linux, the tool bar does not wrap. The buttons simply disappear off the right side of the tool bar.

Reproducible: Always

Steps to Reproduce:
1. Import the attached project into your workspace and launch a runtime workbench.
2. From the main menu select Window -> Show View -> Other...
3. In the dialog select Sample Category -> Sample View and press the OK button.
4. The view will open. Notice is has a tool bar on the left (yes it looks weird, but I wanted a quick example so I didn't make it look nice). Make the view smaller by dragging the left edge of the view toward the right. Continue doing so until the tool bar runs out of horizontal UI real estate.

Result:
On Windows, the tool bar will wrap resulting in two rows of buttons. On Linux, the tool bar does not wrap and some of the buttons are not visible.
Comment 1 Michael Barkhouse CLA 2010-07-06 08:36:15 EDT
Created attachment 173539 [details]
Sample plug-in for reproducing the bug
Comment 2 Lakshmi P Shanmugam CLA 2010-07-06 09:11:51 EDT
This is same as Bug 46025

*** This bug has been marked as a duplicate of bug 46025 ***