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

Bug 567787

Summary: [Big Sur] Setting Shell visible doesn't send SWT.SetData for Virtual Tree (Debug hover and inspect dialog are empty on Mac OS)
Product: [Eclipse Project] Platform Reporter: Robson Liebke <robsonliebke>
Component: SWTAssignee: Lakshmi P Shanmugam <lshanmug>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: 18682435505, a.nesheret, comcortim, ely.perez, hangum, jeeeyul, lshanmug, ma.becker, Michael.konz83, slavago, zakaria.belbah
Version: 4.18   
Target Milestone: 4.19 M3   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/176159
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=34df3c4634612f192fd6fcd00d2d68d40906bac4
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/176299
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5c335bf45fed632fc79e2228becb6037a66c373b
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/178527
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=7d938b6772ce129e0bd82b55c9f602744fc2ea84
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180980
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=294c9873ca2595da3c00921739f2082cda39e9ef
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180988
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=de18fa2257fd88a6fbd733d510314a9ca1e47260
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184465
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=7021a8261440f76a3a32957e70100987cb4b8000
Whiteboard:
Bug Depends on:    
Bug Blocks: 568813, 568932, 569191, 569361    
Attachments:
Description Flags
empty hover
none
SWT Snippet none

Description Robson Liebke CLA 2020-10-10 18:32:11 EDT
Created attachment 284421 [details]
empty hover

After updating my MacOS, while debugging, hover on a variable or inspect it, the debug hover is completely blank (see attached screenshot).
Comment 1 Lakshmi P Shanmugam CLA 2020-10-21 08:52:43 EDT
What is you macOS and Java version?
Comment 2 Michael konz CLA 2020-11-13 11:56:16 EST
Same behavior as described with eclipse 09-2020, Oracle JDK 11 and MacOS Big Sur
Comment 3 Cho HyunJong CLA 2020-11-15 23:55:38 EST
Same behavior as described with eclipse rcp/rap developer 09-2020 or 06-2020, 
Oracle jdk 8 or Oracle jdk 15 and MacOS Big Sur 11.01
Comment 4 Lakshmi P Shanmugam CLA 2020-11-16 04:40:21 EST
*** Bug 568831 has been marked as a duplicate of this bug. ***
Comment 5 Lakshmi P Shanmugam CLA 2020-11-16 04:44:36 EST
*** Bug 568821 has been marked as a duplicate of this bug. ***
Comment 6 Cho HyunJong CLA 2020-11-16 06:41:37 EST
Can i use update site?
Comment 7 Jeeeyul Lee CLA 2020-11-16 19:48:24 EST
This issue may be related with #568869.

When the hover window takes focus, the content is shown.
Otherwise, It is not visible.
Comment 8 Slava Go CLA 2020-11-18 03:23:14 EST
(In reply to Jeeeyul Lee from comment #7)
> This issue may be related with #568869.
> 
> When the hover window takes focus, the content is shown.
> Otherwise, It is not visible.

Well, if I press f2 (focus) it still doesn't shows anything, just need to press (to guess and press :) ) on expand arrow then it'll be visible (partially)
Comment 9 Lakshmi P Shanmugam CLA 2020-11-18 04:22:33 EST
The debug hover uses a virtual tree. On BigSur, its setData is not called till I click on the hover. On older versions, setData is called when the hover is shown.
Comment 10 Lakshmi P Shanmugam CLA 2020-11-18 04:59:31 EST
Created attachment 284798 [details]
SWT Snippet

SWT snippet to reproduce the issue. Shell.setVisible(true) doesn't populate the virtual tree, setting the shell to active does.
Comment 11 Lakshmi P Shanmugam CLA 2020-11-18 12:20:53 EST
The empty hover has been fixed by adding a workaround in JDT/Platform Debug via Bug 568813.
Comment 12 Timothy Barrett CLA 2020-11-19 03:50:00 EST
*** Bug 568932 has been marked as a duplicate of this bug. ***
Comment 13 Lakshmi P Shanmugam CLA 2020-11-23 17:16:03 EST
Empty inspect dialog has been fixed in Platform debug via Bug 568932.
Comment 14 Lakshmi P Shanmugam CLA 2021-02-11 17:55:45 EST
Tried on the latest 11.3 beta and the problem is not reproducible with Table, only with Tree. On BigSur, the expansion arrows are different and slightly bigger, increasing the FIRST_COLUMN_MINIMUM_WIDTH fixes the problem.

Also, opened a bug with Apple for this issue.
Comment 15 Eclipse Genie CLA 2021-02-11 18:32:28 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/176159
Comment 17 Eclipse Genie CLA 2021-02-15 16:41:52 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/176299
Comment 19 Lakshmi P Shanmugam CLA 2021-02-16 10:52:07 EST
Verified with I20210216-0600
Comment 20 Eclipse Genie CLA 2021-04-01 06:01:29 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/178527
Comment 22 Eclipse Genie CLA 2021-05-25 10:47:49 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180980
Comment 24 Eclipse Genie CLA 2021-05-31 08:01:31 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180988
Comment 26 Eclipse Genie CLA 2021-08-26 09:01:23 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184465