Bug 569170

Summary: [macOS] Tree expand/contract animation does not work if the Tree uses a CellEditor
Product: [Eclipse Project] Platform Reporter: Phil Beauvoir <p.beauvoir>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.18   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Snippet none

Description Phil Beauvoir CLA 2020-11-25 07:22:26 EST
Created attachment 284885 [details]
Snippet

This is specific to macOS (all versions).

Normally, on macOS, expanding and contracting a Tree node has an animation so that the child nodes slide smoothly up and down. This can be seen in Eclipse in the Package Explorer.

However, if the SWT Tree has cell editing support this animation does not happen.

Attached is a modified Snippet to show the problem.

If line 76 is commented out (setEditor(v);) then the animation is present.

I know this is a minor thing but I thought I'd report it in case it's indicates some other issue.