Bug 1965832

Summary: Opening URLs from Java programs doesn't work right
Product: [Fedora] Fedora Reporter: M. Kristall <mkpdev>
Component: java-11-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: ahughes, ashundi, jerboaa, jvanek, mageia-java, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-31 15:55:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description M. Kristall 2021-05-30 15:50:25 UTC
Description of problem:
URLs opened from Java programs do not open until the program exits

Version-Release number of selected component (if applicable):
java-11-openjdk-headless-11.0.11.0.9-2.fc34.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Click a link in a Java program
2. Wait
3. Close the program

Actual results:
1. An item appears in the window list that says "Opening [URL]". It disappears after a few seconds.
2. The URL is not opened.
3. The URL opens.

Expected results:
Open the URL without having to quit the program

Additional info:
xdg-open opens the URL immediately. As far as I know, this only happens when xdg-open is used from a Java program. I tested with two different Java programs  (Chatty and Magarena).

Comment 1 Severin Gehwolf 2021-05-31 15:55:02 UTC

*** This bug has been marked as a duplicate of bug 1961119 ***