Bug 93513 - Brackets in From-field are hidden
Summary: Brackets in From-field are hidden
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 17:31 UTC by Bernd Wurst
Modified: 2009-08-30 10:54 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 Bernd Wurst 2004-11-18 17:31:14 UTC
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.
Comment 1 David Faure 2004-11-18 19:33:17 UTC
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)


Comment 2 Matt Douhan 2005-04-09 19:43:55 UTC
I am not able to reproduce this, can you please provide some detailed info on how you can reproduce it?
Comment 3 Bernd Wurst 2005-04-09 20:08:27 UTC
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.
Comment 4 Martin Koller 2009-08-30 10:54:57 UTC
The given link is no longer valid.
If you still can reproduce with KDE 4.3, please attach the test files directly and reopen.