Bug 87111

Summary: Printing limited to 100 diagrams
Product: [Applications] umbrello Reporter: Sebastian Stein <seb.kde>
Component: generalAssignee: Sebastian Stein <seb.kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sebastian Stein 2004-08-13 11:04:54 UTC
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 )
Comment 1 Sebastian Stein 2004-08-19 10:30:31 UTC
*** Bug has been marked as fixed ***.