Bug 382572

Summary: crash after few seconds on start
Product: [Applications] tellico Reporter: Alexandr <sss>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: HEAD   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace

Description Alexandr 2017-07-21 17:35:24 UTC
Created attachment 106783 [details]
backtrace

look at summary and attachment
Comment 1 Robby Stephenson 2017-08-01 00:49:24 UTC
Git commit 9ee42800bbde51844694572289410d052b7903c9 by Robby Stephenson.
Committed on 01/08/2017 at 00:47.
Pushed by rstephenson into branch 'master'.

Add workaround attempt for recursive event loop with image loading

This doesn't fix the underlying problem, which should be addressed by
asynchronous image loading. A boolean is set before loading an image,
which prevents nested event loops from running with recursive
repainting.

M  +14   -1    src/models/entrymodel.cpp
M  +1    -0    src/models/entrymodel.h

https://commits.kde.org/tellico/9ee42800bbde51844694572289410d052b7903c9
Comment 2 Robby Stephenson 2017-08-01 00:49:24 UTC
Git commit 54a4060e0ed676d79173f33c0c095d011b759153 by Robby Stephenson.
Committed on 30/07/2017 at 19:10.
Pushed by rstephenson into branch 'master'.

Don't try to load an image until the model knows that images are available

This likely doesn't fix the true cause of BUG 382572 but does keep the
code internally consistent, with the rest of EntryMode::data()

M  +2    -2    src/models/entrymodel.cpp

https://commits.kde.org/tellico/54a4060e0ed676d79173f33c0c095d011b759153
Comment 3 Alexandr 2017-08-01 04:07:17 UTC
working in 1ca506a511a217efcc70ec458886298474399875