Bug 474687 - Unable to open downloaded AppImages from download notification sent by PBI
Summary: Unable to open downloaded AppImages from download notification sent by PBI
Status: CONFIRMED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Firefox (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 11:18 UTC by FreeLibre
Modified: 2023-09-19 21:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
first attachment (58.90 KB, image/png)
2023-09-19 11:18 UTC, FreeLibre
Details
second attachment (18.75 KB, image/png)
2023-09-19 11:18 UTC, FreeLibre
Details
third attachment (31.01 KB, image/png)
2023-09-19 11:19 UTC, FreeLibre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FreeLibre 2023-09-19 11:18:09 UTC
Created attachment 161716 [details]
first attachment

STEPS TO REPRODUCE
1. Enable the Plasma browser integration add-on on Firefox.
2. Start downloading an AppImage program, e.g. https://github.com/balena-io/etcher/releases/download/v1.18.11/balenaEtcher-1.18.11-x64.AppImage
3. After the download is finished, there will be a notification on bottom right (first attachment), click on the "Open" button there.

OBSERVED RESULT
Nothing happens i.e. the user can't open the downloaded AppImage.

EXPECTED RESULT
These Dolphin prompts should appear:
1) "What do you wish to do with this file? Execute/Cancel" (second attachment) 
2) "Warning: This will start the program: [...]; If you do not trust this program, click Cancel" (third attachment)

SOFTWARE/OS VERSIONS
Fedora KDE 38
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Comment 1 FreeLibre 2023-09-19 11:18:50 UTC
Created attachment 161717 [details]
second attachment
Comment 2 FreeLibre 2023-09-19 11:19:08 UTC
Created attachment 161718 [details]
third attachment
Comment 3 Nate Graham 2023-09-19 18:50:09 UTC
Does it work if you open the downloaded file from the file manager, rather than the "Open" button in the notification?

If so, I suspect this is an issue with plasma-browser-integration not have the "allow executing code" bit set on its open job, which is probably intentional for security reasons, but maybe should be relaxed for this specific case to not break it.
Comment 4 FreeLibre 2023-09-19 21:45:22 UTC
> Does it work if you open the downloaded file from the file manager?

Yes, the second and third attachments are from opening the AppImage using Dolphin.
Comment 5 Nate Graham 2023-09-19 21:50:17 UTC
Thanks. Then what I suggested is probably the problem here.