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/b64e |ma/libksysguard/commit/a5db
                   |dc573faf5936ea75c72a8442ff1 |29c6f0ed0dcd1b375b770d6f318
                   |f734a5b05                   |f8e9e174c

--- Comment #10 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit a5db29c6f0ed0dcd1b375b770d6f318f8e9e174c by Arjen Hiemstra.
Committed on 08/03/2021 at 13:41.
Pushed by ahiemstra into branch 'Plasma/5.21'.

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.


(cherry picked from commit b64edc573faf5936ea75c72a8442ff1f734a5b05)

M  +6    -0    sensors/SensorDataModel.cpp

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

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

Reply via email to