Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319000 - Toolbar does not wrap on Linux
Summary: Toolbar does not wrap on Linux
Status: RESOLVED DUPLICATE of bug 46025
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 08:35 EDT by Michael Barkhouse CLA
Modified: 2010-07-06 09:11 EDT (History)
1 user (show)

See Also:


Attachments
Sample plug-in for reproducing the bug (15.26 KB, application/x-zip-compressed)
2010-07-06 08:36 EDT, Michael Barkhouse CLA
no flags Details

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