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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libksysguard/commit/b3f7 |ma/libksysguard/commit/b64e
                   |e503276700cd58b685bc1b46f67 |dc573faf5936ea75c72a8442ff1
                   |aad1407df                   |f734a5b05
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit b64edc573faf5936ea75c72a8442ff1f734a5b05 by Arjen Hiemstra.
Committed on 08/03/2021 at 12:49.
Pushed by ahiemstra into branch 'master'.

SensorDataModel: Do not insert columns that are out of range

It may happen that the metadata for a later column arrives before an
earlier one. In that case, we call beginInsertColumns with an out of
range column index.

This was verified to fix the the issue (and it still preserves the
correct order) by scrambling the metadata requests in `sensorsChanged()`
using std::shuffle and having the autotest still pass.

M  +6    -0    sensors/SensorDataModel.cpp

https://invent.kde.org/plasma/libksysguard/commit/b64edc573faf5936ea75c72a8442ff1f734a5b05

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

Reply via email to