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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/81150ec1a1318f2213ad21566 |t/6c729ba219b21e9c1cc253b95
                   |a443a432132f8c6             |3ddc8ac8daa3526

--- Comment #8 from Nate Graham <n...@kde.org> ---
Git commit 6c729ba219b21e9c1cc253b953ddc8ac8daa3526 by Nate Graham.
Committed on 03/06/2025 at 14:10.
Pushed by ngraham into branch 'Plasma/6.4'.

applets/kicker: Remember uninstalled apps for a short period
When an installed .desktop file is updated, it might be removed and immediately
re-added, which causes it to be inappropriately marked New! as the model is
updated for both changes.

To resolve this, when an application is uninstalled, we remember it for three
days. If it is still new, we also remember the date it became new. If the
application is re-installed within 3 days, it will be restored with its
previous new-ness. After that, as before, it would be new again.

This fixes both cases when an application is updated (as in the bug), as well
as the case where a user might renege on a decision to uninstall an
application.


(cherry picked from commit 81150ec1a1318f2213ad21566a443a432132f8c6)

Co-authored-by: Oliver Beard <olib...@outlook.com>

M  +63   -18   applets/kicker/rootmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/6c729ba219b21e9c1cc253b953ddc8ac8daa3526

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

Reply via email to