<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>520220</bug_id>
          
          <creation_ts>2026-05-16 01:06:36 +0000</creation_ts>
          <short_desc>Deleting app data is a destructive process and is irreversible</short_desc>
          <delta_ts>2026-05-19 13:20:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Discover</product>
          <component>discover</component>
          <version>6.6.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Zobel">justin</reporter>
          <assigned_to name="Nate Graham">nate</assigned_to>
          <cc>aleixpol</cc>
    
    <cc>kdedev</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/discover/-/commit/8c531d21ea88d2cbac39105b84dc607dfa23ef32</cf_commitlink>
          <cf_versionfixedin>6.8.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2516107</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Zobel">justin</who>
    <bug_when>2026-05-16 01:06:36 +0000</bug_when>
    <thetext>DESCRIPTION
Apps are easy to re-install, data is not.

One accidental click on the Delete Application Data and all of a user&apos;s two factor authentication keys can be gone. No undo, not in the Trash.

This can happen with Keysmith, the KDE 2FA app.

POSSIBLE SOLUTIONS
1. Use the trash, simple, expected.
2. Offer an undo after deletion</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516636</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-05-18 21:36:57 +0000</bug_when>
    <thetext>https://invent.kde.org/plasma/discover/-/merge_requests/1329 should improve this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2516842</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-05-19 13:20:51 +0000</bug_when>
    <thetext>Git commit 8c531d21ea88d2cbac39105b84dc607dfa23ef32 by Nate Graham.
Committed on 18/05/2026 at 21:31.
Pushed by ngraham into branch &apos;master&apos;.

Flatpak: trash old user data and settings rather than deleting instantly

Instant deletion is dangerous here as we provide a big obvious button to
do it. The button uses correct iconography and text to indicate that
this is what it will do, but it&apos;s still destructive with no undo, and
users clicking accidentally could use data.

Instead, send the data and settings to the trash, where it could be
retrieved later.
FIXED-IN: 6.8.0

M  +1    -0    libdiscover/backends/FlatpakBackend/CMakeLists.txt
M  +12   -4    libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
M  +3    -3    libdiscover/backends/FlatpakBackend/qml/FlatpakRemoveData.qml

https://invent.kde.org/plasma/discover/-/commit/8c531d21ea88d2cbac39105b84dc607dfa23ef32</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>