Freedom Studio "no more handles" error on Fedora 26

FYI: FreedomStudio was unable to switch perspectives due to a “no more handles” error in FreedomStudio/Eclipse when running on Fedora 26:


org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4559)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.SWT.error(SWT.java:4419)
at org.eclipse.swt.graphics.Cursor.(Cursor.java:173)

Turns out I had to add:

–launcher.GTK_version
2

to my FreedomStudio.ini.

ref: Redirecting to Google Groups

Thanks for the feedback! Will look into incorporating this into the next Freedom Studio release.

It’s not an issue if I use the latest eclipse CDT with the latest GNU MCU plugin - so it’s probably not needed for the next release.