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 (other bugs)
Version First Reported In: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 509052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-03 11:35 UTC by Patrick Silva
Modified: 2025-09-03 12:17 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented 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
Comment 4 Rémi Piau 2025-07-17 19:34:04 UTC
Same on opensuse and fedora with multiple backends including flatpak both system and user.

Operating System: openSUSE Tumbleweed 20250711
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-1-default (64-bit)
Graphics Platform: Wayland
Comment 5 Patrick Silva 2025-09-03 12:17:56 UTC
*** Bug 509052 has been marked as a duplicate of this bug. ***