Bug 349937

Summary: Crash if view is switched to table view
Product: [Applications] digikam Reporter: coding
Component: Albums-TableViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 4.12.0

Description coding 2015-07-05 19:36:21 UTC
when selecting view table the program crashes



Reproducible: Always

Steps to Reproduce:
1.Menu View
2.Table
3.

Actual Results:  
Crash
Comment 1 caulier.gilles 2015-07-06 07:19:22 UTC
Please give us a debugger backtrace to hack.

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Maik Qualmann 2015-07-07 05:49:41 UTC
Git commit e6a7daf9c36d14ecff39adde158a4a1507e238e8 by Maik Qualmann.
Committed on 07/07/2015 at 05:47.
Pushed by mqualmann into branch 'master'.

changed the model initialization time point of the table view to fix the crash on OSX
FIXED-IN: 4.12.0

M  +2    -1    NEWS
M  +0    -6    app/views/tableview/tableview_model.cpp
M  +5    -3    app/views/tableview/tableview_treeview.cpp
M  +0    -11   app/views/tableview/tableview_treeview_delegate.cpp

http://commits.kde.org/digikam/e6a7daf9c36d14ecff39adde158a4a1507e238e8
Comment 3 caulier.gilles 2015-07-07 06:51:36 UTC
Git commit b2edbba3754cd42c08937ed802192e210e1b9890 by Gilles Caulier.
Committed on 07/07/2015 at 06:50.
Pushed by cgilles into branch 'frameworks'.

backport commit #e6a7daf9c36d14ecff39adde158a4a1507e238e8 from git/master to frameworks branch

M  +0    -6    app/views/tableview/tableview_model.cpp
M  +4    -3    app/views/tableview/tableview_treeview.cpp
M  +0    -12   app/views/tableview/tableview_treeview_delegate.cpp

http://commits.kde.org/digikam/b2edbba3754cd42c08937ed802192e210e1b9890