Bug 259293 - Find messages in kmail2 has bugged drop down list of message parts to search
Summary: Find messages in kmail2 has bugged drop down list of message parts to search
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 09:00 UTC by Gregor Petrin
Modified: 2010-12-23 11:16 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 Gregor Petrin 2010-12-09 09:00:56 UTC
Version:           2.0.89 (using KDE 4.5.85) 
OS:                Linux

If I open the search dialog and want to change the part of the message in which I want to perform the search (e.g. Subject, Body of Message), the control does not properly update when I change my selection.

For example, if I manually input 'Body' in there and then open the drop down menu and choose something else, this something else does not appear in the dialog. Also, if I just pick one thing from the drop down menu and then pick something else, the previously selected item becomes cut off after about 15 letters with no hint of the just selected item. If I then pick different things in the drop down menu, I get weird different results.

For example, when the dialog opened, I first chose 'All recipients' and then changed it to 'Anywhere in the headers' and now the text 'All recipien Headers' appears in the control with the letter 'n' somehow misshaped. I think this is a visual bug because if I choose 'Size in Bytes' the control text is still wierd (currently 'All Recipienes') but the search terms field has changed into a numeric input and currently says '0 bytes' (which seems a weird default, but that's besides the point :)).

Reproducible: Always
Comment 1 Jaime Torres 2010-12-17 19:49:04 UTC
Confirmed: the problem is in kdepim/mailcommon/searchpatternedit.cpp
Comment 2 Jaime Torres 2010-12-23 11:16:31 UTC
With today kmail2 (from git), it works as expected again.