[Uml-devel] [Bug 87111] New: Printing limited to 100 diagrams
Sebastian Stein
seb_stein at gmx.de
Fri Aug 13 02:06:00 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=87111
Summary: Printing limited to 100 diagrams
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: seb_stein gmx de
Version: 1.3.0 (using KDE 3.2.3, compiled sources)
Compiler: gcc version 3.3.3
OS: Linux (i686) release 2.4.26
bug report by Achim Spangler:
I wondered all the time why printing of more than one diagram is broken in
umbrello. As no other user complains about this problem, I suspected that the
amount of diagrams in my project causes this crash.
Well - the amount of diagrams was really the reason for the crash.
The problematic code is in:
umbrello/umbrello/dialogs/diagramprintpage.h
with the following line:
---------------------------------------------------------------------------
int m_nIdList[100];//allow 100 diagrams
---------------------------------------------------------------------------
Yes - this really didn't allow me to handle my project with more than 100
diagrams.....
My personal rough hack was the change to 300 ( this is also for my project
enough for the next time..... ;-) ).
But I hope somebody other can change this, so that a dynamic array ( STL or
Qt ) is used to handle the list of diagram IDs for print. ( I have not enough
time at the moment )
More information about the umbrello-devel
mailing list