[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-16 Thread Stefan Gerlach
https://bugs.kde.org/show_bug.cgi?id=394025

--- Comment #7 from Stefan Gerlach  ---
The crash is indeed fixed. I uploaded new packages (rc20) for Windows and Mac
on https://theorie.physik.uni-konstanz.de/gerlach/labplot/

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-15 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=394025

Alexander Semke  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||2.5
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/lab
   ||plot/ff69bec00aacb56c214138
   ||36647ab9960a7ca1ea

--- Comment #6 from Alexander Semke  ---
Git commit ff69bec00aacb56c21413836647ab9960a7ca1ea by Alexander Semke.
Committed on 16/05/2018 at 06:16.
Pushed by asemke into branch 'master'.

Don't call SpreadsheetView::showComments() when showing spreadsheet properties
in the dock.
FIXED-IN: 2.5

M  +3-0src/kdefrontend/dockwidgets/SpreadsheetDock.cpp

https://commits.kde.org/labplot/ff69bec00aacb56c21413836647ab9960a7ca1ea

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-15 Thread Stefan Gerlach
https://bugs.kde.org/show_bug.cgi?id=394025

--- Comment #5 from Stefan Gerlach  ---
This problem also exists on Linux. Just do not select the spreadsheet first.
Here is a crash report:

#6  0x0082a861 in Column::setWidth(int) (this=0x0,
value=value@entry=778) at labplot/src/backend/core/column/Column.cpp:279
#7  0x00659da8 in SpreadsheetView::handleHorizontalSectionResized(int,
int, int) (this=, logicalIndex=1, oldSize=,
newSize=778) at labplot/src/commonfrontend/spreadsheet/SpreadsheetView.cpp:718
#8  0x006adb57 in SpreadsheetView::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x2b83a30, _c=,
_id=, _a=) at
labplot/build_debug/src/moc_SpreadsheetView.cpp:356
#9  0x7f31983867d1 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib64/libQt5Core.so.5
#10 0x7f3199dc6e3d in QHeaderView::sectionResized(int, int, int) () at
/usr/lib64/libQt5Widgets.so.5
#11 0x7f3199dcbdea in  () at /usr/lib64/libQt5Widgets.so.5
#12 0x0088a6fc in SpreadsheetHeaderView::refresh() (this=0x2bce860) at
labplot/src/commonfrontend/spreadsheet/SpreadsheetHeaderView.cpp:141
#13 0x0088a73e in SpreadsheetHeaderView::showComments(bool)
(this=, on=) at
labplot/src/commonfrontend/spreadsheet/SpreadsheetHeaderView.cpp:128
#14 0x006577e2 in SpreadsheetView::showComments(bool) (this=, on=) at
labplot/src/commonfrontend/spreadsheet/SpreadsheetView.cpp:767
#15 0x00748746 in SpreadsheetDock::commentsShownChanged(int)
(this=, state=) at
labplot/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp:136
#16 0x7f3198386de3 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib64/libQt5Core.so.5
#17 0x7f3199c7909e in QCheckBox::stateChanged(int) () at
/usr/lib64/libQt5Widgets.so.5
#18 0x7f3199c65e3d in QAbstractButton::setChecked(bool) () at
/usr/lib64/libQt5Widgets.so.5
#19 0x00748c09 in SpreadsheetDock::load() (this=) at
labplot/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp:181
#20 0x007493c7 in SpreadsheetDock::setSpreadsheets(QList)
(this=0x3000aa0, list=...) at
labplot/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp:86
#21 0x006bfaf7 in
GuiObserver::selectedAspectsChanged(QList&) const
(this=0x26fe640, selectedAspects=...) at
labplot/src/kdefrontend/GuiObserver.cpp:153
#22 0x7f31983867d1 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib64/libQt5Core.so.5
#23 0x00699fb9 in
ProjectExplorer::selectedAspectsChanged(QList&)
(this=this@entry=0x25ffc90, _t1=...) at
labplot/build_debug/src/moc_ProjectExplorer.cpp:258
#24 0x0067f51a in ProjectExplorer::selectionChanged(QItemSelection
const&, QItemSelection const&) (this=0x25ffc90, selected=..., deselected=...)
at labplot/src/commonfrontend/ProjectExplorer.cpp:589
#25 0x006a1ffd in ProjectExplorer::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=, _c=,
_id=, _a=) at
labplot/build_debug/src/moc_ProjectExplorer.cpp:178

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-11 Thread Stefan Gerlach
https://bugs.kde.org/show_bug.cgi?id=394025

Stefan Gerlach  changed:

   What|Removed |Added

 CC||stefan.gerlach@uni-konstanz
   ||.de

--- Comment #4 from Stefan Gerlach  ---
i can confirm the crash on Windows 10 (rc19 package).

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-09 Thread Uwe Stöhr
https://bugs.kde.org/show_bug.cgi?id=394025

Uwe Stöhr  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #3 from Uwe Stöhr  ---
> deleting the column "2" leads to a crash for me on linux.

Here on Windows it crashes.

---

Sorry the correct recipe is:

Created attachment 112517 [details]
LabPlot test file

- use the attached LabPlot file
- select the spreadsheet column 2 in the explorer tree, right click on it and
choose in the appearing context menu "Delete"

result: crash

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-08 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=394025

--- Comment #2 from Alexander Semke  ---
(In reply to Uwe Stöhr from comment #0)
> Created attachment 112517 [details]
> LabPlot test file
> 
> - use the attached LabPlot file
> - select the spreadsheet number 2 in the explorer tree, right click on it
> and choose in the appearing context menu "Delete"
> 
> result: crash
There is only one spreadsheet in your project file with the name "spreadsheet".
Did you attach the proper file? Neither deleting this spreadsheet not deleting
the column "2" leads to a crash for me on linux.

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-08 Thread Uwe Stöhr
https://bugs.kde.org/show_bug.cgi?id=394025

--- Comment #1 from Uwe Stöhr  ---
This bug is also in LP 2.5RC17 Stefan just sent me.

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

[LabPlot2] [Bug 394025] Crash when deleting spreadsheet

2018-05-08 Thread Uwe Stöhr
https://bugs.kde.org/show_bug.cgi?id=394025

Uwe Stöhr  changed:

   What|Removed |Added

Version|2.4.0   |latest

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