View Issue Details

IDProjectCategoryView StatusLast Update
0017646ScribusInternalpublic2025-10-10 22:43
Reportertropion Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.7.1.svn 
Fixed in Version1.7.1.svn 
Summary0017646: Some objects created by ColorPicker have no parent QObject
DescriptionThe ColorPicker should have a destructor. Something like this:

ColorPicker::~ColorPicker()
{
    delete m_colorButton;
    delete buttonGroup;
    delete comboOverprint;
    delete checkboxUsedColors;
    delete contextMenu;
}
TagsNo tags attached.
PatchNo

Activities

jghali

2025-10-10 21:35

administrator   ~0053057

Practically there is no leak here either as ColorPicker is created only once during the lifetime of the application and any memory allocated by it will be freed by the system when application is closed. But some objects should be created with a parent in order to be handled by Qt QObject system.

Issue History

Date Modified Username Field Change
2025-10-10 08:50 tropion New Issue
2025-10-10 21:35 jghali Note Added: 0053057
2025-10-10 22:43 jghali Category General => Internal
2025-10-10 22:43 jghali Summary Memory leaks => Some objects created by ColorPicker have no parent QObject
2025-10-10 22:43 jghali Assigned To => jghali
2025-10-10 22:43 jghali Status new => resolved
2025-10-10 22:43 jghali Resolution open => fixed
2025-10-10 22:43 jghali Fixed in Version => 1.7.1.svn