Bug 356403

Summary: The height of the Contact's menu bar is bigger than that of the rest of the Kontact suite.
Product: [Applications] kontact Reporter: Viorel-Cătălin Răpițeanu <rapiteanu.catalin>
Component: contactsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED FIXED    
Severity: minor CC: kdepim-bugs, montel, rapiteanu.catalin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.1
Attachments: The action menu in question.

Description Viorel-Cătălin Răpițeanu 2015-12-08 21:56:25 UTC
The height of the Contact's menu bar is bigger than that of the rest of the Kontact suite. Is is probably because it contains other elements (like input boxes).

Reproducible: Always

Steps to Reproduce:
1. Open Kontact.
2. Switch between 'Contacts' and another components (like Mail).


Actual Results:  
'Contacts' menu height is bigger than those of the other components.

Expected Results:  
The menu height should be identical.

This behaviour is seen on Kontact 5.0.80 beta1.
Comment 1 Viorel-Cătălin Răpițeanu 2015-12-08 21:57:43 UTC
Created attachment 95939 [details]
The action menu in question.
Comment 2 Laurent Montel 2015-12-09 08:15:01 UTC
it's normal there is combobox in toolbar => it increases size
Comment 3 Christoph Feck 2015-12-13 13:39:49 UTC
Laurent, did you set the layout margins to 0 (at least the top and bottom margins)?
Comment 4 Laurent Montel 2015-12-14 06:32:19 UTC
yep it's already without margin, but xmlgui adds it when it added to toolbar
Comment 5 Laurent Montel 2015-12-14 06:56:17 UTC
Git commit a744b6d37c1b72dd5e547e4cbb11cab15580cdae by Montel Laurent.
Committed on 14/12/2015 at 06:55.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix Bug 356403 - The height of the Contact's menu bar is bigger than that of the rest of the Kontact suite.

FIXED-IN: 5.1

M  +1    -0    kaddressbook/categoryselectwidget.cpp

http://commits.kde.org/kdepim/a744b6d37c1b72dd5e547e4cbb11cab15580cdae
Comment 6 Laurent Montel 2015-12-14 06:57:16 UTC
Finally I found an hidden layout in categoryselectwidget.
It's good now.