Community
Participate
Working Groups
Created attachment 269987 [details] Contents of my ~/.eclipse and ~/.pt directories Under macOS Sierra 10.12.4, the menu that comes up after clicking on the exclamation point in the upper right is not active the first time and subsequent times the Eclipse Installer is run. By removing ~/.eclipse and ~/.p2 and restarting the Eclipse installer, it is eventually possible for the exclamation point menu to be active My guess is that this has something to do with the built-in macOS protection scheme. To replicate: 1. Under Mac OS, in Firefox, go to https://www.eclipse.org/downloads/eclipse-packages/ and select the 64 bit installer. The installer will download. 2. In Firefox, Click on the downloaded installer and untar it. 3. In the ~/Downloads directory, click on the "Eclipse Installer" file 4. macOS pops up a window: "Eclipse Installer is an application downloaded from the Internet. Are you sure you want to open it?" Click Open 5. The Eclipse Installer will start up 6. In the Eclipse Installer, click on the exclamation point 7. The orange menu that pops up to the right of the installer is not mouse sensitive. That is: rolling over the Update, Advanced Mode, Bundle Pools menu choices does not cause any change in the text and it is not possible to select the menu choices in this menu. The choices in the main part of the installer (Eclipse IDE for Java Developers etc.) are still mouse sensitive 8. Partially obscure the installer with a window, leaving the orange menu visible, then click on the orange menu. Only the orange menu rises to the foreground. The main installer window will stay obscured. 9. Stop and restart the Eclipse Installer, the same thing occurs 10. Stop the Eclipse Installer 11. Remove ~/.eclipse and ~/.p2 12. Restart the Eclipse Installer. The exclamation point menu works! 13. Stop the Eclipse Installer 14. Remove ~/.eclipse and ~/.p2 15. In the finder, click on the eclipse-inst-mac64.tar.gz file 16. Eclipse Installer 2 will be created in ~/Downloads. Click on it. 17. macOS pops up a window: "Eclipse Installer 2 is an application downloaded from the Internet. Are you sure you want to open it?" Click Open 18. Click on the exclamation point in the upper right. 19. The orange popup menu is not active. Attached is the contents of my ~/.eclipse and ~/.p2 directories. I was not able to reliably figure out how to get the orange menu to be active, it seems like partially go through the install might help. Stopping and restarting the Eclipse Installer is necesary. I wonder if this is connected to Bug #457921 [RCP] RCP application menu not shown when launched from Eclipse on OS X 10.9
The version number of the installer is 1.7.0 Build 3059.
I've not heard any recent complaints about this not working on the Mac, so I'll assume the latest installer does work properly on a current MacOS....
Under Mac OS 10.12.6, the Eclipse Installer dated Dec. 13, 2017, Installer version: 1.9.0 Build 3282, still has an inactive exclamation point menu, even after removing ~/.eclipse and ~/.p2 Could someone else with a Mac verify that the exclamation point menu works for them by following the steps I outlined when I submitted the bug?
I only have a virtual box to test and there it works fine. But it's an old version of MacOS... I do recall some issue of the OS "randomizing paths" for things in the Downloads folder and that causing problems. If you unpack the installer into a location other than Downloads, does that still display the same behavior?
Created attachment 273166 [details] Opmh Installer Orange Menu On Top Main Window Obscured
In the Installer version: 1.9.0 Build 3282, the menu that is brought up by the exclamation point is not active under these OSs: * My laptop with MacOS Sierra 10.12.6 * VMWare with MacOS Sierra 10.12.6 * A separate laptop with MacOS Sierra 10.12.4 I'll try updating the separate laptop to High Sierra. I uploaded a screenshot of the Oomph Installer orange menu being on top while the main window is obscured.
I also tried creating a new account on the separate laptop with MacOS Sierra 10.12.4 and the same problem occurred. As that user, I used cleared the quarantine bit with sudo xattr -r -d com.apple.quarantine Eclipse\ Installer.app but the problem persisted. I'm upgrading the separate laptop now to macOS High Sierra.
I confirmed that this bug happens under macOS High Sierra 10.13.3.
Have you tried running it not from "Downloads" as I suggested? I know that even Eclipse itself has/has problems running from that folder. In the end, someone that can reproduce the problem would need to help in fixing it. You can use the installer to create an Oomph develpoment environment in which you can launch the installer in debug mode... Might there be *.log files in the configuration folder?
Karsten, Do you work on a Mac or know someone who does?
Yes I do. Will try to find some time next week to look at it.
Thanks Karsten! I figured if something is so fundamentally not working with the MacOS version you would have noticed it long ago.
I‘m usually running in advanced mode and don‘t download new versions of the installer, since it upgrades itself. I might not notice a breakage then.
Right, sorry, I meant to tell you that I tried running it in a directory other than ~/Downloads. More specifically, I tried a number of things, including copying the tar file to a directory outside of ~/Downloads, clearing the extended attribute flags of the tar file and invoking the installer. Nothing was successful. Below is one of my attempts bash-3.2$ pwd /Users/cxh/src/tmp bash-3.2$ ls bash-3.2$ ls -l@ ~/Downloads/eclipse-inst-mac64.tar.gz . -rw-r--r--@ 1 cxh staff 48111836 Mar 17 07:03 /Users/cxh/Downloads/eclipse-inst-mac64.tar.gz com.apple.metadata:kMDItemWhereFroms 129 com.apple.quarantine 58 bash-3.2$ cp ~/Downloads/eclipse-inst-mac64.tar.gz . bash-3.2$ ls -l@ eclipse-inst-mac64.tar.gz -rw-r--r--@ 1 cxh staff 48111836 Mar 17 07:04 eclipse-inst-mac64.tar.gz com.apple.metadata:kMDItemWhereFroms 129 com.apple.quarantine 58 bash-3.2$ sudo xattr -r -d com.apple.quarantine eclipse-inst-mac64.tar.gz Password: bash-3.2$ ls -l@ eclipse-inst-mac64.tar.gz -rw-r--r--@ 1 cxh staff 48111836 Mar 17 07:04 eclipse-inst-mac64.tar.gz com.apple.metadata:kMDItemWhereFroms 129 bash-3.2$ sudo xattr -r -d com.apple.metadata:kMDItemWhereFroms eclipse-inst-mac64.tar.gz sudo xattr -r -d com.apple.metadata:kMDItemWhereFroms eclipse-inst-mac64.tar.gz bash-3.2$ ls -l@ eclipse-inst-mac64.tar.gz -rw-r--r-- 1 cxh staff 48111836 Mar 17 07:04 eclipse-inst-mac64.tar.gz bash-3.2$ tar -zxf eclipse-inst-mac64.tar.gz bash-3.2$ ls -l@ total 93976 drwxr-xr-x 3 cxh staff 102 Dec 13 00:05 Eclipse Installer.app -rw-r--r-- 1 cxh staff 48111836 Mar 17 07:04 eclipse-inst-mac64.tar.gz bash-3.2$ open Eclipse\ Installer.app/ bash-3.2$ With the above, the same problem occurred. If, in the Finder, I right click on the Eclipse Installer and select Open, I get the same problem. Double clicking on the Eclipse Installer causes the same problem. The symptom that the orange menu will raise if the main window is obscured and the main window will not raise suggests some sort of focus problem. See the attachment image for a screen shot. At first, I figured that this was caused by my environment somehow. I probably have Java 6 still installed or some other issue. I was surprised that I was able to reproduce this on a separate machine in a brand new account after upgrading the OS. Karsten, thanks for taking a look at this.
The problem under macOS with the Eclipse installer where the exclamation point menu is inactive continues. The menu in question contains the Advanced menu choice. This is with macOS 10.14.4 (Mojave) and 1.14.0 Build 4222 of the Eclipse Installer. This occurs even if I remove .eclipse and .p2. However it seems that if I get the inacttive menu and then I click on the main window, the advanced window closes. If I then click on the exclamation point, then the menu that comes up is active! No big deal on this, I just want to keep the bug open.
I updated an existing installer (still with Sierra) and could reproduce no problem like what you describe. Then I downloaded the latest installer (a *.dmg now), copied it to my desktop and running that also reproduces no problem anything like what you describe. Even running the application directly from the Diskimagemounter's view runs fine easily switching between simple mode and advanced mode several times. Are you saying you have both an advanced mode dialog and a simple mode dialog showing at the same time? There's no screen capture of that. Or is it just that the simple mode dialog is under some other window while the menu is over that window? I don't see that as a serious problem that prevents you from using the menu. Is there any problem that prevents you from using the menu or prevents you from being able to switch modes?
While testing the changes for https://bugs.eclipse.org/bugs/show_bug.cgi?id=552649 is noticed some weird activation behavior. I.e., once the simple dialog loses focus to another window, it never quite activates properly again, i.e., it never receives mouse move event again. I tracked that down to the use of SWT.TOOL as the shell style which I removed: https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=b11128e2703b36ebfc9b5ff5572074e052418565 Now the menu always disappears when the dialog loses focus so I expect that this fixes this problem for you.
Thanks! That fixes the problem for me. I was able to download http://www.eclipse.org/downloads/download.php?file=/oomph/products/latest/eclipse-inst-mac64.dmg and use the about menu to verify that it is version 1.15.0 Build 4378
Thanks for confirming that the problem is fixed and for saying thanks. I really appreciate that!