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

            Bug ID: 506528
           Summary: "Delete settings and user data" in wrong state when
                    uninstalling app twice
    Classification: Applications
           Product: Discover
      Version First 6.4.1
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
If an app gets uninstalled twice on discover without leaving the page of the
app and after having cleared the data on the first uninstallation, the "[App]
is not installed but it still has data present" banner is stuck in the
"Clearing settings and user data..." state while the "Delete settings and user
data" button is greyed out, not allowing the user to delete the user data again
even though it's present.

STEPS TO REPRODUCE
1. Open discover
2. Install an application
3. Launch said application after installation is done to allow it to create
data
4. Close the application
5. Uninstall the application using Discover (do not close discover or navigate
to a different page from within discover from now on)
6. Click "Delete settings and user data" on discover
7. Install the same app again
8. Launch it again (so it creates data again)
9. Close the application again
10. Uninstall the application using Discover again

OBSERVED RESULT
The broken banner with the greyed out button will appear

EXPECTED RESULT
The banner is not in the deleting state and normally shows "[App] is not
installed but it still has data present" with the "Delete settings and user
data" button enabled

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 42
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
I can't test this with distro packages on discover as I'm on an atomic distro,
so this issue may only occur with Flatpak applications

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

Reply via email to