Bug 543433 - Shell toolbar on Mac does not layout Combos correctly with Mac OS X Mojave
Summary: Shell toolbar on Mac does not layout Combos correctly with Mac OS X Mojave
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.11   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-14 16:49 EST by Tim Mueller CLA
Modified: 2021-01-04 03:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mueller CLA 2019-01-14 16:49:10 EST
Shell toolbar (shell.getToolbar() on Mac does not layout Combos correctly with Mac OS X Mojave. This bug happens only when using Mac OS X Mojave with SWT 4.5, 4.9, 4.11 (probably all SWT versions). Older versions of MacOS are not affected.

Behavior:
If a Combo is placed as a Control inside a ToolItem like it is done in Snippet58 and the toolbar is obtained by calling shell.getToolbar() (instead of calling new Toolbar()) on Mac the Combo is placed on the leftmost border of the toolbar instead of the correct position given by the ToolItem in the Toolbar.

The bug can be reproduced with Snippet58 by changing the toolbar instantiation like this: 
ToolBar bar = shell.getToolBar(); //new ToolBar (shell, SWT.BORDER);

The bug does not happen when the Toolbar is obtained by the new Toolbar() call, only when the Mac toolbar inside the window border is used. 

I was not able to find a workaround by manually setting the Combo position or similar.
Comment 1 Eclipse Genie CLA 2021-01-04 00:14:45 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Tim Mueller CLA 2021-01-04 03:02:38 EST
The bug still exists and makes it impossible to use Combs in a Mac toolbar as described below. Please fix this bug.