ifedorenko/p2-browser

UI Frozen on macOS

Opened this issue · 5 comments

jmini commented

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)

Same thing for me, also on 10.13.3

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

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

jmini commented

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!

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!