Bug 569168 - [Mac][BigSur]Gradient separator line appears on action tool bars on macos bigsur
Summary: [Mac][BigSur]Gradient separator line appears on action tool bars on macos bigsur
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 575659 569361
  Show dependency tree
 
Reported: 2020-11-25 07:03 EST by Sravan Kumar Lakkimsetti CLA
Modified: 2021-08-27 04:51 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sravan Kumar Lakkimsetti CLA 2020-11-25 07:03:13 EST
On macos users can see a horizontal gradient separator in the action tool bar. 

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=564885#c27 for screen shot

This appears in light theme as well as dark theme. Also the gradient separator moves when the view is resized.
Comment 1 Sravan Kumar Lakkimsetti CLA 2020-11-25 07:12:08 EST
While fixing bug 564885 I found that there are two problems with the background.

1. Background image is created with a 2 pixels wide white line. This was fixed in bug 564885
2. Location for background image is not stable for tool bar. 

I found phase calculation at this location  https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/bundles/org.eclipse.swt/Eclipse%20SWT/cocoa/org/eclipse/swt/widgets/Control.java#n1304 is the root cause. Still we are figuring out what is the impact of this.

Since this is in Control used by many widget it is not good idea to modify Control class during RC1 phase.