Bug 567787 - [Big Sur] Setting Shell visible doesn't send SWT.SetData for Virtual Tree (Debug hover and inspect dialog are empty on Mac OS)
Summary: [Big Sur] Setting Shell visible doesn't send SWT.SetData for Virtual Tree (De...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 major with 1 vote (vote)
Target Milestone: 4.19 M3   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 568821 568831 (view as bug list)
Depends on:
Blocks: 568813 568932 569191 569361
  Show dependency tree
 
Reported: 2020-10-10 18:32 EDT by Robson Liebke CLA
Modified: 2021-08-26 09:02 EDT (History)
11 users (show)

See Also:


Attachments
empty hover (126.84 KB, image/png)
2020-10-10 18:32 EDT, Robson Liebke CLA
no flags Details
SWT Snippet (2.21 KB, application/octet-stream)
2020-11-18 04:59 EST, Lakshmi P Shanmugam CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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