Bug 263597 - key list too big
Summary: key list too big
Status: VERIFIED FIXED
Alias: None
Product: Kleopatra Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Windows CE Microsoft Windows CE
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 01:41 UTC by Marcus Brinkmann
Modified: 2011-02-15 19:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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