Bug 168389

Summary: kgpg hides imported keys by default
Product: [Applications] kgpg Reporter: S. Burmeister <sven.burmeister>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED FIXED    
Severity: normal CC: christian.nitschkowski
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Shuffle trust values

Description S. Burmeister 2008-08-05 09:02:13 UTC
Version:            (using KDE 4.1.0)
OS:                Linux

If a user imports a key the key is not shown in the list. This happens because untrusted keys are not shown by default. Unexperienced users, even if they were used to kgpg from kde3, will not know that there is a filter enabled by default and hence cannot set the trust-level of the new key.

If a user wants to set a filter, as in knode, kmail or any other application with filters, he might do so, but by default filters should be off, since otherwise they lead to unneccessary bug rerports and usability issues.
Comment 1 Rolf Eike Beer 2008-08-05 12:15:54 UTC
Created attachment 26644 [details]
Shuffle trust values

The value of TRUST_UNKNOWN should not be less than TRUST_INVALID, this should
make the filter behave more obvious as it not hides by default only the really
invalid, expired and disabled keys.
Comment 2 r3d 2008-08-05 18:26:42 UTC
I got in the same trap. Changed the trust level via console with gpg, later I found this out about the filter, and I used also kgpg under kde 3 ;)
KGPG also doenst save the view and filter settings. After every reboot, show private keys is enabled and filter settings are active.
Comment 3 Rolf Eike Beer 2008-08-05 21:32:00 UTC
please test attachment from comment#1 and report back if that fixes the issue
Comment 4 Rolf Eike Beer 2008-08-08 21:17:51 UTC
SVN commit 844104 by dakon:

Reorder key trust values

TRUST_UNKNOWN is not the least possible trust value, rendering the default trust filter level non-intuitive as it hides most freshly imported keys.

BUG:168389


 M  +19 -11    branches/KDE/4.1/kdeutils/kgpg/core/kgpgkey.h  
 M  +2 -2      branches/KDE/4.1/kdeutils/kgpg/keysmanager.cpp  
 M  +19 -11    trunk/KDE/kdeutils/kgpg/core/kgpgkey.h  
 M  +2 -2      trunk/KDE/kdeutils/kgpg/keysmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=844104