Bug 87111 - Printing limited to 100 diagrams
Summary: Printing limited to 100 diagrams
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Stein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 11:04 UTC by Sebastian Stein
Modified: 2004-08-19 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***.