Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 558584

Summary: [10.15] Tree scrolls hiding items on macOS 10.15
Product: [Eclipse Project] Platform Reporter: Thomas Singer <ts-swt>
Component: SWTAssignee: Lakshmi P Shanmugam <lshanmug>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: a.nesheret, baconpants1029, lshanmug, p.beauvoir, peter, ts-swt
Version: 4.14   
Target Milestone: 4.15 M3   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552514
https://git.eclipse.org/r/156930
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f5258910d1290329a1a4d5781e5a2ee8d222a13b
https://bugs.eclipse.org/bugs/show_bug.cgi?id=561235
https://bugs.eclipse.org/bugs/show_bug.cgi?id=561487
Whiteboard:
Bug Depends on:    
Bug Blocks: 553808    
Attachments:
Description Flags
Snippet to reproduce
none
Screenshot on macOS 10.14.6
none
Screenshot on macOS 10.15.1 none

Description Thomas Singer CLA 2019-12-23 04:40:52 EST
Please launch attached snippet on macOS 10.14 and 10.15. On 10.14 all items are visible, the last one selected. Using the mouse wheel does change anything. On 10.15, however, only the last, selected item is visible. Using the mouse wheel reveals the hidden tree items. Why it is mouse scrollable on macOS 10.15 at all (if the viewport is large enough to show all items)?
Comment 1 Thomas Singer CLA 2019-12-23 04:41:45 EST
Created attachment 281312 [details]
Snippet to reproduce
Comment 2 Thomas Singer CLA 2019-12-23 04:42:34 EST
Created attachment 281313 [details]
Screenshot on macOS 10.14.6
Comment 3 Thomas Singer CLA 2019-12-23 04:43:04 EST
Created attachment 281314 [details]
Screenshot on macOS 10.15.1
Comment 4 Lakshmi P Shanmugam CLA 2019-12-23 07:57:38 EST
Thanks for the snippet.
Looks like NSTableView.scrollRowToVisible() is behaving differently and scrolling to top on macOS 10.15.

Could also be the cause for Bug 552514.
Comment 5 Eclipse Genie CLA 2020-01-31 04:25:53 EST
New Gerrit change created: https://git.eclipse.org/r/156930
Comment 6 Lakshmi P Shanmugam CLA 2020-01-31 05:02:42 EST
Affects Tree and Table, List works fine.
Comment 7 Thomas Singer CLA 2020-01-31 11:32:15 EST
Thanks, Lakshmi, the fix works fine.
Comment 9 Lakshmi P Shanmugam CLA 2020-02-03 01:16:44 EST
(In reply to Thomas Singer from comment #7)
> Thanks, Lakshmi, the fix works fine.

Thanks for verifying.
Comment 10 Lakshmi P Shanmugam CLA 2020-02-03 01:24:09 EST
*** Bug 552514 has been marked as a duplicate of this bug. ***
Comment 11 Lakshmi P Shanmugam CLA 2020-02-19 01:41:10 EST
Verified with I20200217-1800 on 10.14 and 10.15
Comment 12 Lakshmi P Shanmugam CLA 2020-03-31 09:01:09 EDT
*** Bug 558658 has been marked as a duplicate of this bug. ***