Bug 413397

Summary: LabPlot crashes when rearranging column for second time
Product: [Applications] LabPlot2 Reporter: bond.anton
Component: frontendAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: normal CC: geoffrey+kde, madcad
Priority: NOR    
Version First Reported In: 2.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 2.8
Sentry Crash Report:

Description bond.anton 2019-10-24 14:53:20 UTC
SUMMARY
LabPlot crashes when moving column for second time in the same session.

STEPS TO REPRODUCE
1. Open any LabPlot document
2. Try to rearrange columns
3. Try to rearrange columns for second time

OBSERVED RESULT
LabPlot crashes

EXPECTED RESULT
Rearranged columns

SOFTWARE/OS VERSIONS
Windows: 10
(available in About System)
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Alexander Semke 2019-10-27 16:03:29 UTC
Git commit 9e4c4e2e64e4f5b84297abe35186700b646193ff by Alexander Semke.
Committed on 27/10/2019 at 16:03.
Pushed by asemke into branch 'master'.

Properly handle removal of columns in the spreadsheet model.
FIXED-IN: 2.8

M  +2    -4    src/backend/spreadsheet/SpreadsheetModel.cpp

https://invent.kde.org/kde/labplot/commit/9e4c4e2e64e4f5b84297abe35186700b646193ff
Comment 2 Alexander Semke 2020-03-07 08:53:39 UTC
*** Bug 418550 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Semke 2020-04-28 20:48:16 UTC
*** Bug 420706 has been marked as a duplicate of this bug. ***