RapidMiner 9.7 is Now Available
Lots of amazing new improvements including true version control! Learn more about what's new here.
Get rid of java.awt.Desktop to open file browser/alternatives.
According to my findings motivated by this conversation with @kayman: RapidMiner relies upon the java.awt.Desktop class to execute the Open in file browser action. That works on Windows, Mac and older some Linux/Gnome machines, leaving out other desktop environments. There is a feature that could benefit all other desktop environments that aren't quite compatible. (e.g. Ubuntu 18, as we found out).
It would be a good thing to add a default file manager as part of the RapidMiner Studio configuration (most users don't adjust these unless they are advanced users), and stick to (default) if none is configured.
if .isDesktopSupported() is true and (default) is chosen as file manager, open the files in the default file manager as reported by the java.awt.Desktop class. Otherwise, if .isDesktopSupported() is false and default is selected, try to open anyway or present users with a message that says that they need to configure a file manager; else, open files with the file manager chosen by the user.
RapidMiner users on various Linux platforms will benefit from this, as desktop integration has always been incomplete there, and will give a workaround whenever things change, like it happened with Ubuntu.
What do you think?