Summary: | KCategorizedView segfaults without a proxy model or category drawer | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | David Benjamin <davidben> |
Component: | kdeui | Assignee: | Rafael Fernández López <ereslibre> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
fix crashes when m_proxyModel is NULL
Test case for proxy model |
Description
David Benjamin
2008-03-15 19:34:24 UTC
Created attachment 23910 [details]
fix crashes when m_proxyModel is NULL
Created attachment 23911 [details]
Test case for proxy model
Remove the drawer bit to fire off the other crash.
Steps to reproduce:
1. Click an entry
For the drawer (after the patch is applied, otherwise it crashes before you
finish this):
1. Double-click an entry
2. Type a new name
3. Press enter
Thanks for notifying. I can't check the patches nor the problems at the moment, but I can tell some info: - KCategorizedView is not meant to be used with a model different from a KCategorizedSortFilterProxyModel. On the other hand, it shouldn't force it to crash. About the crashes, I am aware of some "random" crashes, that happens if you don't call, for instance: listView->setSpacing(10); If calling to that method makes the view not to crash anymore, please close this bug. If it is still crashing, please confirm so, and I will take a look next week. Thank you. The crashes still occur for me when adding the call. Thanks for your observations. KCategorizedView shouldn't crash now. |