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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |e6023ff02ec3b1f3f081b07f6b9
                   |                            |42cfb2b9c0793
         Resolution|DUPLICATE                   |FIXED

--- Comment #2 from Akseli Lahtinen <[email protected]> ---
Git commit e6023ff02ec3b1f3f081b07f6b942cfb2b9c0793 by Akseli Lahtinen.
Committed on 27/02/2026 at 14:08.
Pushed by akselmo into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/e6023ff02ec3b1f3f081b07f6b942cfb2b9c0793

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

Reply via email to