Bug 113806

Summary: Is it possible to have the size of the quick search window saved ?
Product: [Applications] digikam Reporter: Tung NGUYEN <ntung>
Component: Searches-AdvancedAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.8.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0

Description Tung NGUYEN 2005-10-03 22:05:48 UTC
Version:           0.8.0-beta2 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
OS:                Linux

Currently, the size of the window is saved for Advanced Search, but not for Quick Search. My quick searches give often a lots of results, so I would like to display all the thumbnails in a bigger window.
Comment 1 Renchi Raju 2005-10-04 10:38:31 UTC
SVN commit 467068 by pahlibar:

save/restore quick search dialog size

BUGS: 113806


 M  +2 -2      searchquickdialog.cpp  


--- trunk/extragear/graphics/digikam/digikam/searchquickdialog.cpp #467067:467068
@@ -74,8 +74,7 @@
             SLOT(slotTimeOut()));
 
     enableButtonOK(false);
-    setInitialSize(QSize(480,400));
-    adjustSize();
+    resize(configDialogSize("QuickSearch Dialog"));
 
     // check if we are being passed a valid url
     if (m_url.isValid())
@@ -103,6 +102,7 @@
 
 SearchQuickDialog::~SearchQuickDialog()
 {
+    saveDialogSize(("QuickSearch Dialog"));
     delete m_timer;    
 }
 
Comment 2 Tung NGUYEN 2005-10-07 13:27:13 UTC
I have tested this bug fix with the lastest SVN, the size of the quick search window is now saved.

Thank you.
Comment 3 caulier.gilles 2019-12-28 06:18:46 UTC
Not reproducible with 7.0.0-beta1