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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |e6023ff02ec3b1f3f081b07f6b9 |7160d3bee99eda83c934a1a638c
                   |42cfb2b9c0793               |bb4d6cd52e91d

--- Comment #3 from Akseli Lahtinen <[email protected]> ---
Git commit 7160d3bee99eda83c934a1a638cbb4d6cd52e91d by Akseli Lahtinen.
Committed on 27/02/2026 at 14:40.
Pushed by akselmo into branch 'Plasma/6.6'.

keys/FilteredModel: Remove deprecated invalidation, check if currentItem exists

invalidateFilter is deprecated,  begin/endFilterChange instead.

During deletion or rapid changes, currentItem can be null.
In those cases, reset the index to -1 and return early to avoid working
on null item.

This fixes crashing when user changes search filter rapidly.
Related: bug 516488
(cherry picked from commit e6023ff02ec3b1f3f081b07f6b942cfb2b9c0793)

M  +4    -2    kcms/keys/filteredmodel.cpp
M  +7    -1    kcms/keys/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/7160d3bee99eda83c934a1a638cbb4d6cd52e91d

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

Reply via email to