Version: (using KDE KDE 3.3.1) Installed from: Gentoo Packages If I get Mail from a sender that has something like "My Name (me) <me@home.net>" in his from-field, the part in brackets (me) is not displayed in KMail's message overview list. I didn't get it completely, but sometimes, the bracket-part is displayed if I select the message and is hidden again if I select another one.
CVS commit by faure: Moved testemail.cpp to libemailfunctions for easier testing Added test for parsing of "My Name (me) <me@home.net>" - which works, so #93513 is probably a problem somewhere else. CCBUG: 93513 M +5 -1 libemailfunctions/tests/Makefile.am 1.2 M +1 -0 libemailfunctions/tests/testemail.cpp 1.4 M +0 -4 libkdepim/tests/Makefile.am 1.9 R libkdepim/tests/testemail.cpp 1.3 --- kdepim/libemailfunctions/tests/Makefile.am #1.1:1.2 @@ -2,8 +2,12 @@ LDADD = ../libemailfunctions.la $(LIB_KDECORE) -check_PROGRAMS = testidmapper +check_PROGRAMS = testidmapper testemail +TESTS = testemail testidmapper_LDFLAGS = $(all_libraries) $(KDE_RPATH) testidmapper_SOURCES = testidmapper.cpp +testemail_LDFLAGS = $(all_libraries) $(KDE_RPATH) +testemail_SOURCES = testemail.cpp + METASOURCES = AUTO --- kdepim/libemailfunctions/tests/testemail.cpp #1.3:1.4 @@ -72,4 +72,5 @@ int main(int argc, char *argv[]) checkGetNameAndEmail( "faure@kde.org (David Faure)", "David Faure", "faure@kde.org", true ); checkGetNameAndEmail( "(David Faure) faure@kde.org", "David Faure", "faure@kde.org", true ); + checkGetNameAndEmail( "My Name (me) <me@home.net>", "My Name (me)", "me@home.net", true ); // #93513 // Double-quotes inside parenthesis --- kdepim/libkdepim/tests/Makefile.am #1.8:1.9 @@ -5,5 +5,4 @@ check_PROGRAMS = testwizard testaddresseelineedit \ testaddresseeselector \ - testemail \ testutf7decoder \ testutf7encoder \ @@ -13,5 +12,4 @@ testwizard_SOURCES = testwizard.cpp myconfig.kcfgc testaddresseelineedit_SOURCES = testaddresseelineedit.cpp -testemail_SOURCES = testemail.cpp testaddresseeselector_SOURCES = testaddresseeselector.cpp testutf7encoder_SOURCES = testutf7encoder2.cpp @@ -21,6 +19,4 @@ METASOURCES = AUTO -TESTS = testemail - #example_LDFLAGS = $(all_libraries) $(KDE_RPATH) #example_LDADD = ../libkdepim.la $(LIB_KDECORE)
I am not able to reproduce this, can you please provide some detailed info on how you can reproduce it?
Ok, look. ;-) I places some files on my webspace: http://www.schokokeks.org/~bernd/kmail/ message.txt is a RAW test-message. kmail_brackets_1.png is when I focus the message entry in the list. kmail_brackets_2.png is when I either click another time on the message or if the message looses focus. So the Part in brackets is only shown when the message gets the focus. Every further action (also when KMail looses focus) results in the bracket-part being hidden. Can you reproduce now? I use KMail from KDE-3.4.0 atm.
The given link is no longer valid. If you still can reproduce with KDE 4.3, please attach the test files directly and reopen.