Bug 480725 - xdg-open does not launch applications
Summary: xdg-open does not launch applications
Status: RESOLVED DUPLICATE of bug 472300
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 5.93.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-02 10:03 UTC by Lukas Polacek
Modified: 2024-02-02 14:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Polacek 2024-02-02 10:03:09 UTC
SUMMARY
xdg-open does not open any application.

STEPS TO REPRODUCE
1. Use xdg-open, e.g. `xdg-open document.pdf`

OBSERVED RESULT
It silently exits without opening the associated application (in this case okular). Opening html files, images, videos, etc., results in the same behavior.
The returned exit code is 0.

EXPECTED RESULT
The associated application (e.g. okular) should open.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Lukas Polacek 2024-02-02 10:10:59 UTC
It has been fixed in new xdg-open, upgrading xdg-utils to 1.2.0 fixed this.
Relevant line of code: https://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-open.in#n157
Comment 2 Nate Graham 2024-02-02 14:19:04 UTC

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