marian-m12l / studio

STUdio - Story Teller Unleashed
https://marian-m12l.github.io/studio-website/
Mozilla Public License 2.0
683 stars 131 forks source link

KDE/Linux : BROWSE action not supported (Java error) #385

Open bidinou opened 1 year ago

bidinou commented 1 year ago

Hi ! The default browser is not automatically started on Linux (KDE Neon, based on Ubuntu LTS). I get the usual following error from the Java runtime environment : "java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!"

Apparently, it's due to the problematic Java desktop integration. I could read quite a few testimonies about it, for instance here : https://stackoverflow.com/questions/18004150/desktop-api-is-not-supported-on-the-current-platform

It's not such an issue to manually open the browser but it might give the feeling that the app doesn't work :-) A work-around would be to invoke xdg-open instead from Linux platforms it seems.

Thanks so much for your work & take care !

JRE : from 11 to 17 KDE Neon based on Ubuntu 22.04

marian-m12l commented 18 hours ago

Thanks for the feedback. If you find a way, I'd happily merge a PR. But as you pointed, this is a minor issue.