| Summary: | crash when creating > 31 curves with the datawizard | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nicolas Brisset
2006-04-18 17:40:53 UTC
Wow, I even knew this would happen! The number of columns was artificially limited to 32-1. I just bumped it to 10-1=9 bits. SVN commit 532181 by staikos:
I knew it wasn't enough :-)
BUG: 125817
M +1 -1 kstviewobject.h
--- trunk/extragear/graphics/kst/src/libkstapp/kstviewobject.h #532180:532181
@@ -313,7 +313,7 @@
bool _container : 1;
bool _fallThroughTransparency : 1;
bool _isResizable : 1;
- int _columns : 6; // "64 columns ought to be enough for anyone"
+ int _columns : 10;
QGuardedPtr<KstViewObject> _topObjectForMenu;
QGuardedPtr<KstViewObject> _parent; // danger!!
Q_UINT32 _standardActions, _layoutActions;
Nice that you fixed it, but loading > 31 vectors does not necessarily mean we want more than 31 columns ! Well, I suppose it is first loaded that way and the actual layout is reorganized before it is drawn... |