Bug 571359

Summary: [macOS] Big Sur: Paint listener of invisible controls is invoked
Product: [Eclipse Project] Platform Reporter: Thomas Singer <ts-swt>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: ts-swt
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Snippet to reproduce none

Description Thomas Singer CLA 2021-02-19 07:25:32 EST
which might cause problems for applications
Comment 1 Thomas Singer CLA 2021-02-19 07:26:05 EST
Created attachment 285608 [details]
Snippet to reproduce
Comment 2 Thomas Singer CLA 2021-02-19 07:31:18 EST
The attached snippet contains 2 StyledText controls inside a StackLayout, only the first one is visible. I've added a paint listener to both and just print the StyledText index for which the paint event is received.

On Window, in the console only

0

is printed, on MacOS 10.14

0
0
0
0
...


On MacOS 11(.2), however,

0
1
0
0
0
...

is printed.