p2-browser icon indicating copy to clipboard operation
p2-browser copied to clipboard

UI Frozen on macOS

Open jmini opened this issue 7 years ago • 5 comments
trafficstars

I have switched from Windows to macOS.

The UI is completely frozen and can not be used. I think this is due to a too old SWT version being used. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477979

Tested with: macOS High Sierra (version 10.13.3)

jmini avatar Apr 16 '18 06:04 jmini

Same thing for me, also on 10.13.3

tony-- avatar May 03 '18 05:05 tony--

Workaround until some PRs get accepted.

  1. use a newer Eclipse by editing pom.xml
      <id>eclipse</id>
      <url>http://download.eclipse.org/eclipse/updates/4.7</url>
      <layout>p2</layout>
  1. Use JDK 8 and allow it to run BundledApps by editing `/usr/libexec/java_home -V`/../info.plist:
<key>JVMCapabilities</key>
 <array>
  <string>JNI</string>
  <string>BundledApp</string>
  <string>WebStart</string>
  <string>Applets</string>
  <string>CommandLine</string>
 </array>

see https://stackoverflow.com/a/27592809/273628

  1. Proxies I set proxies like I did on Linux and now it's working. Note that the .settings directory does not exist and must be created. Then copy org.eclipse.core.net.prefs from your eclipse development instance to there.
p2-browser/com.ifedorenko.p2browser.rcp/target/products/com.ifedorenko.p2browser.rcp/macosx/cocoa/x86_64/configuration/.settings

It works! screen shot 2018-05-03 at 9 15 18 pm

tony-- avatar May 04 '18 02:05 tony--

You can use @nickboldt fork which is more up-to-date and more likely to access PRs.

mickaelistria avatar May 04 '18 07:05 mickaelistria

I have built the master branch of the nickboldt fork and p2-browser was working on my mac.

Thank you a lot for the pointer!

jmini avatar May 06 '18 12:05 jmini

Feel free to throw PRs at my fork. Igor seems to have given up maintaining his codebase but I use p2 browser every week so mine will stay current. Glad it worked for you!

nickboldt avatar May 06 '18 13:05 nickboldt