Bug 458657 - Discover asks for password twice when installing a flatpak bundle
Summary: Discover asks for password twice when installing a flatpak bundle
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 11:35 UTC by Patrick Silva
Modified: 2024-11-07 12:10 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-03 11:35:21 UTC
STEPS TO REPRODUCE
1. download flatpak bundle of fameshot in the following url:
https://github.com/flameshot-org/flameshot/releases
2. open the downloaded file with Discover
3. click on 'Install' button and enter your password

OBSERVED RESULT
a few seconds after the last step, Discover asks for password again

EXPECTED RESULT
Discover asks for password once

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-09-06 14:30:18 UTC
Can confirm.

It may be also installing a new runtime, and it asks for authentication for each one, rather than batching them up.
Comment 2 Aleix Pol 2022-09-14 21:52:19 UTC
This will need further investigation, but my bet is that we are adding the remote (password 1) and then installing the app (password 2).

It occurs to me that in such cases we could default to adding bundles in the user's installation (which would mean 0 password prompts).
Comment 3 Martin 2024-11-07 12:10:01 UTC
I have just been asked for the password three times doing a larger update which included a flatpak.

OS: OpenSuSE Tumbleweed
Kernel Version: 6.11.5-2-default (64-bit)
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
X11