Bug 73913

Summary: KGpg "Processing decryption" window doesn't disappear when decryption failed
Product: [Applications] kgpg Reporter: Nicolas Blanco <slainer.666>
Component: generalAssignee: bj
Status: RESOLVED FIXED    
Severity: normal CC: charles.vasquez
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas Blanco 2004-01-31 19:48:08 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

When I want to decrypt a file from Konqueror, right click on it, choose "KGpg", and enter 3 times a wrong password, the dialog box "Sorry" appears (behind the dialog "Processing decryption" : that's a bit annoying), when I click on OK, the dialog "Processing decryption" stays displayed forever unless I click on it.

Maybe you should try not to display the dialog "Processing decryption" if the password is wrong, or display the dialog "Sorry" in front of the window and close it after the dialog "Sorry" is closed.

Thank you!

Nicolas.
Comment 1 bj 2004-02-06 14:32:16 UTC
Subject: KDE_3_2_BRANCH: kdeutils/kgpg

CVS commit by mardelle: 

fix #73913 
 
CCMAIL:73913-done@bugs.kde.org 


  M +1 -0      kgpglibrary.cpp   1.22.2.1


--- kdeutils/kgpg/kgpglibrary.cpp  #1.22:1.22.2.1
@@ -205,4 +205,5 @@ void KgpgLibrary::processdecerror(QStrin
 {
         ///// test if file is a public key
+        delete pop;
         QFile qfile(QFile::encodeName(urlselected.path()));
         if (qfile.open(IO_ReadOnly)) {