https://bugs.kde.org/show_bug.cgi?id=466559

            Bug ID: 466559
           Summary: Discover does not wait for the Polkit auth when
                    updating Flatpaks and thus fails
    Classification: Applications
           Product: Discover
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Flatpak Backend
          Assignee: plasma-b...@kde.org
          Reporter: bizy...@zoho.com
                CC: aleix...@kde.org, jgrul...@redhat.com,
                    trav...@redhat.com
  Target Milestone: ---

When an update is started that targets Flatpaks, and a Polkit dialog is
displayed to authorize changes to those, Discover fails with "Flatpak system
operation Deploy not allowed for user" before the user even has a chance to
finish typing the password.


STEPS TO REPRODUCE
1. Launch Discover in a distro that has Flatpak's Polkit rules configured to
ask for a password.
2. Start the update process when Flatpak updates are available.

OBSERVED RESULT
The update fails with an error for every Flatpak app before the Polkit dialog
is interacted with.

EXPECTED RESULT
The user enters their password peacefully, and only then Discover attempts the
update.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to