Bug 113806 - Is it possible to have the size of the quick search window saved ?
Summary: Is it possible to have the size of the quick search window saved ?
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (show other bugs)
Version: 0.8.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 22:05 UTC by Tung NGUYEN
Modified: 2019-12-28 06:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments

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