Bug 574150

Summary: [macOS11] Table: vertical scrollbar is not initialized correctly
Product: [Eclipse Project] Platform Reporter: Thomas Singer <ts-swt>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: alexandr.miloslavskiy, ts-swt
Version: 4.21   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Snippet to reproduce
none
Screenshot from macOS 11.4
none
Screenshot on macOS 10.14
none
Screenshot on Windows 10 none

Description Thomas Singer CLA 2021-06-11 04:28:54 EDT
Please use the attached snippet. It simulates loading of table items from a slow database triggered by scrolling. Initially, it should show 5 items, 50 items get added after 1s and on each scroll downwards below 75% of the scrollbar position. This works fine on Windows or macOS 10.14, but not on macOS 11. On the latter, the scrollbar reports its default value for the maximum independent of the table content.
Comment 1 Thomas Singer CLA 2021-06-11 04:30:02 EDT
Created attachment 286568 [details]
Snippet to reproduce
Comment 2 Thomas Singer CLA 2021-06-11 04:31:09 EDT
Created attachment 286569 [details]
Screenshot from macOS 11.4
Comment 3 Thomas Singer CLA 2021-06-11 04:39:38 EDT
Created attachment 286570 [details]
Screenshot on macOS 10.14
Comment 4 Thomas Singer CLA 2021-06-11 04:40:37 EDT
Created attachment 286571 [details]
Screenshot on Windows 10
Comment 5 Thomas Singer CLA 2021-06-11 05:04:35 EDT
An SWT.Selection listener to the vertical scrollbar of the Table is not called on MacOS at all.