Bug 263597

Summary: key list too big
Product: [Applications] Kleopatra Mobile Reporter: Marcus Brinkmann <marcus.brinkmann>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: aheinecke
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Windows CE   
OS: Microsoft Windows CE   
Latest Commit: Version Fixed In:

Description Marcus Brinkmann 2011-01-19 01:41:16 UTC
Version:           unspecified (using Devel) 
OS:                Windows CE

the key list window is under the flap and under the task switcher icon in the upper left. it should be made smaller so that for example collapse/uncollapse buttons in X.509 key hierarchies do not vanish under the flap (and for OpenPGP keys, the initial characters are vanished under the flap.


Reproducible: Always
Comment 1 Tobias Koenig 2011-01-19 16:03:36 UTC
commit 481c39ab6e991bc62dece501660549c4a43e3046
branch master
Author: Tobias Koenig <tokoe@kde.org>
Date:   Wed Jan 19 16:06:03 2011 +0100

    Show the key treeview completely in mobile UI
    
    BUG: 263597

diff --git a/kleopatra/qml/kleopatra-mobile.qml b/kleopatra/qml/kleopatra-mobile.qml
index 2417a93..bf0c057 100644
--- a/kleopatra/qml/kleopatra-mobile.qml
+++ b/kleopatra/qml/kleopatra-mobile.qml
@@ -46,8 +46,10 @@ KPIM.MainView {
       id : keyTreeView
 
       anchors.top    : parent.top
+      anchors.topMargin : 35
       anchors.bottom : searchBar.top
       anchors.left   : parent.left
+      anchors.leftMargin : 30
       anchors.right  : parent.right
     }
 
diff --git a/kleopatra/view/keytreeview.cpp b/kleopatra/view/keytreeview.cpp
index ece5cdb..1454e27 100644
--- a/kleopatra/view/keytreeview.cpp
+++ b/kleopatra/view/keytreeview.cpp
@@ -186,6 +186,9 @@ void KeyTreeView::init() {
     m_proxy->setFilterFixedString( m_stringFilter );
     m_proxy->setKeyFilter( m_keyFilter );
     m_view->setModel( m_proxy );
+#ifdef KDEPIM_MOBILE_UI
+    m_view->setFrameStyle( QFrame::NoFrame );
+#endif
 }
 
 KeyTreeView::~KeyTreeView() {}