| Summary: | plasmashell tries to parse an ELF executable whose name ends in ".desktop" as an XDG desktop entry, only in very specific circumstances | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Avraham Hollander <anhollander516> |
| Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | minor | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | A portion of plasmashell's log showing the described errors | ||
|
Description
Avraham Hollander
2023-02-09 19:23:00 UTC
> plasmashell realizes the executable is an executable and ignores it.
Seems to be hard we and glib and xdg-mime (outside of a kde session= agree that the file is a desktopfile
$ kmimetypefinder5 io.krunker.desktop
application/x-desktop
$ gio info io.krunker.desktop
[...]
standard::content-type: application/x-desktop
standard::fast-content-type: application/x-desktop
[...]
$mimetype io.krunker.desktop
io.krunker.desktop: application/x-desktop
(In reply to David Redondo from comment #1) > > plasmashell realizes the executable is an executable and ignores it. > > Seems to be hard we and glib and xdg-mime (outside of a kde session= agree > that the file is a desktopfile > > $ kmimetypefinder5 io.krunker.desktop > application/x-desktop > > $ gio info io.krunker.desktop > [...] > standard::content-type: application/x-desktop > standard::fast-content-type: application/x-desktop > [...] > > $mimetype io.krunker.desktop > io.krunker.desktop: application/x-desktop Weird. There must be something else screwy upstream. |