When the Quick Search Bar is enabled, the sizes of its elements are suboptimal. The search field is very small, while the category drop-down bar is very long: http://imgur.com/xsWW6 When the Quick Search Bar is turned off (Ctrl+H), the message list column gains wide margins on either side: http://imgur.com/DE09c Reproducible: Always Steps to Reproduce: 1. Observer the Quick Search Bar. 2. Press Ctrl+H to show/hide the bar, and observe the large margins. Expected Results: The search field should occupy most of the width, while the dropdown should be small. When the Quick Search Bar is hidden, the message list should not gain margins. steve@x1:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu quantal (development branch) Release: 12.10 Codename: quantal steve@x1:~$ uname -a Linux x1 3.5.0-2-generic #2-Ubuntu SMP Tue Jun 26 14:11:06 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux steve@x1:~$ kde4-config -v Qt: 4.8.2 KDE Development Platform: 4.8.90 (4.8.90) kde4-config: 1.0
do you have a big word in this list ?
I can confirm the seccond issue (Quick search bar disabled) with master: http://i.imgur.com/TJlYT.png With Quick Search bar , everything looks OK: http://i.imgur.com/WIiRi.png Laurent, didn't get what you mean?
comment 2 : Ok for bug ui I know why and will fix it soon.
Git commit 67a36fedd8432aec11a520ff52592348dd405f30 by Montel Laurent. Committed on 06/07/2012 at 13:01. Pushed by mlaurent into branch 'KDE/4.9'. Fix hide lock button M +1 -0 messagelist/core/widgetbase.cpp http://commits.kde.org/kdepim/67a36fedd8432aec11a520ff52592348dd405f30
Confirming that the 2nd issue is gone, don't know about the first, as i did not experiened it http://i.imgur.com/IqzBs.png
Git commit e5a1c35f55c467ba75aa0b281b3224a12698f9ef by Montel Laurent. Committed on 06/07/2012 at 18:22. Pushed by mlaurent into branch 'KDE/4.9'. Fix Bug 303086 - UI formatting problems in KMail Quick Search Bar Limit maximize size of combobox FIXED-IN: 4.8.5 M +1 -0 messagelist/core/widgetbase.cpp http://commits.kde.org/kdepim/e5a1c35f55c467ba75aa0b281b3224a12698f9ef
Git commit fe5efe29fce55f9618fbb64657ff357f1efe8519 by Montel Laurent. Committed on 06/07/2012 at 18:22. Pushed by mlaurent into branch 'KDE/4.8'. Fix Bug 303086 - UI formatting problems in KMail Quick Search Bar Limit maximize size of combobox FIXED-IN: 4.8.5 (cherry picked from commit e5a1c35f55c467ba75aa0b281b3224a12698f9ef) Conflicts: messagelist/core/widgetbase.cpp M +1 -0 messagelist/core/widgetbase.cpp http://commits.kde.org/kdepim/fe5efe29fce55f9618fbb64657ff357f1efe8519
Regarding the first issue... yes, in fact, I do have a very long item in this list. When I imported a calendar file from Google calendar, all items included a long category string containing some pointer to a Google schema. I deleted that category in KOrganizer, but this category appears to have also made its way into KMail. Need to find out how to delete it from there, too.
Found it. When I deleted that long-string category and restarted KMail, the search field became much wider and the button shrank. Thanks for the tip, and for fixing the bug in the second issue.