-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the correct way to open URLs from application? #519
Comments
So the application looks like its written in Java which makes it annoying and I'm not familiar with it. The simple solution is for it to execute |
clicking on gedit.org opens the website in a browser here too, as expected. |
I've helped find another case where GaiaSky doesn't have working links. @felipeborges can we compare setups? It's possible that I have something wrong on my system. xdg-open http://www.gedit.org does do the right thing. |
Gotcha, I was running an older version of gedit. This seems like a regression. |
Upstream (https://gitlab.com/langurmonkey/gaiasky/-/issues/337#note_416407044) traced it to https://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/src/java.desktop/unix/classes/sun/awt/X11/XDesktopPeer.java#l119. What should Java be doing there instead? |
Is this really using |
I don't know what Java should be using, but I'm pretty certain that |
Java should probably be using |
A more short term solution would be to patch our flathub openjdk extension to use that api or to just launch a |
Given the proposals above, and the investigation that was done, I'm considering this out of scope for XDG desktop portal |
Trying to figure out the correct way to make a link work (started with flathub/de.uni_heidelberg.zah.GaiaSky#1 links don't work - app I am working on).
Decided to see what other apps do and found
flathub/gedit. Help -> About > gedit.org | opens that webpage as a text file in gedit itself.
flathub/Rhythmbox Help-> About -> Rhythmbox website works as expected.
flathub/LibreOffice links open in external browser correctly
flathub/Steam - links open in external browser correctly
The text was updated successfully, but these errors were encountered: