Bug 574855 - [Mac aarch64] Command-click Hover popup is too small on M1 Mac
Summary: [Mac aarch64] Command-click Hover popup is too small on M1 Mac
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.20   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 572797
  Show dependency tree
 
Reported: 2021-07-15 04:22 EDT by Phil Beauvoir CLA
Modified: 2021-11-04 06:10 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot (33.54 KB, image/png)
2021-07-15 04:22 EDT, Phil Beauvoir CLA
no flags Details
Running under Rosetta 2 (53.05 KB, image/png)
2021-08-12 06:09 EDT, Phil Beauvoir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Beauvoir CLA 2021-07-15 04:22:00 EDT
Created attachment 286791 [details]
Screenshot

Big Sur 11.4
Eclipse 4.20 (eclipse-SDK-4.20-macosx-cocoa-aarch64)
JDK: Zulu11.48+21-CA for ARM64
Mac Mini M1 (ARM64)

The hover popup that shows when Command-Clicking on a field is too small on this platform. Scroll bars are visible.

Seems to be an aarch64 thing.
Comment 1 Holger Voormann CLA 2021-08-12 05:57:16 EDT
Please also attache a screenshot of x86_64 via Rosetta 2 to make sure it's an aarch64 thing, and not a Big Sur 11.4 thing.
Comment 2 Phil Beauvoir CLA 2021-08-12 06:09:37 EDT
Created attachment 286923 [details]
Running under Rosetta 2

(In reply to Holger Voormann from comment #1)
> Please also attach a screenshot of x86_64 via Rosetta 2 to make sure it's
> an aarch64 thing, and not a Big Sur 11.4 thing.

It is an aarch64 thing, no screenshot needed. Nevertheless, here it is attached, Rosetta 2 on 11.5.2.
Comment 3 Holger Voormann CLA 2021-08-12 07:11:42 EDT
(In reply to Phil Beauvoir from comment #2)
> Created attachment 286923 [details]
> Running under Rosetta 2
> 
> (In reply to Holger Voormann from comment #1)
> > Please also attach a screenshot of x86_64 via Rosetta 2 to make sure it's
> > an aarch64 thing, and not a Big Sur 11.4 thing.
> 
> It is an aarch64 thing, no screenshot needed. Nevertheless, here it is
> attached, Rosetta 2 on 11.5.2.
The bug title says the pop-up hover is too small on M1, but it is the same size as on x86_64.

Is there a minimal reproducible example, e.g. the following or another SWT snippet (https://eclipse.org/swt/snippets)?
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet5.java
Comment 4 Phil Beauvoir CLA 2021-08-12 07:26:11 EDT
(In reply to Holger Voormann from comment #3)
> (In reply to Phil Beauvoir from comment #2)
> > Created attachment 286923 [details]
> > Running under Rosetta 2
> > 
> > (In reply to Holger Voormann from comment #1)
> > > Please also attach a screenshot of x86_64 via Rosetta 2 to make sure it's
> > > an aarch64 thing, and not a Big Sur 11.4 thing.
> > 
> > It is an aarch64 thing, no screenshot needed. Nevertheless, here it is
> > attached, Rosetta 2 on 11.5.2.
> The bug title says the pop-up hover is too small on M1, but it is the same
> size as on x86_64.
> 
> Is there a minimal reproducible example, e.g. the following or another SWT
> snippet (https://eclipse.org/swt/snippets)?
> https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/
> org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet5.java

The steps to reproduce this are simple. Command Click on a field in the IDE as shown in the screenshot. Scrollbars are shown because the popup is too small.
Comment 5 Holger Voormann CLA 2021-08-12 07:57:52 EDT
(In reply to Phil Beauvoir from comment #4)
> (In reply to Holger Voormann from comment #3)
> > (In reply to Phil Beauvoir from comment #2)
> > > Created attachment 286923 [details]
> > > Running under Rosetta 2
> > > 
> > > (In reply to Holger Voormann from comment #1)
> > > > Please also attach a screenshot of x86_64 via Rosetta 2 to make sure it's
> > > > an aarch64 thing, and not a Big Sur 11.4 thing.
> > > 
> > > It is an aarch64 thing, no screenshot needed. Nevertheless, here it is
> > > attached, Rosetta 2 on 11.5.2.
> > The bug title says the pop-up hover is too small on M1, but it is the same
> > size as on x86_64.
> > 
> > Is there a minimal reproducible example, e.g. the following or another SWT
> > snippet (https://eclipse.org/swt/snippets)?
> > https://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/
> > org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet5.java
> 
> The steps to reproduce this are simple. Command Click on a field in the IDE
> as shown in the screenshot. Scrollbars are shown because the popup is too
> small.
Running the Java IDE is not the minimal example I asked for.

The screenshots show that both pop-ups have the _same_ size. On M1, there is extra space on the left (16 pixels) and on the top (10 pixels) inside the pop-up.
Comment 6 Gayan Perera CLA 2021-10-12 13:23:12 EDT
(In reply to Holger Voormann from comment #5)
> The screenshots show that both pop-ups have the _same_ size. On M1, there is
> extra space on the left (16 pixels) and on the top (10 pixels) inside the
> pop-up.

I think its related to this https://bugs.eclipse.org/bugs/show_bug.cgi?id=574932 or https://bugs.eclipse.org/bugs/show_bug.cgi?id=575696
Comment 7 Gayan Perera CLA 2021-10-12 13:24:28 EDT
Or this https://bugs.eclipse.org/bugs/show_bug.cgi?id=575260
Comment 8 Phil Beauvoir CLA 2021-11-04 06:10:02 EDT
Fixed in 4.22

See Bug #574932