By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1328

Summary: KMail: Sender's informational time box is incorrect and misfunctions
Product: TDE Reporter: Darrell <darrella>
Component: tdepimAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: normal CC: bugwatch, darrella, kb9vqf, slavek.banko
Priority: P1    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Other   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2969    

Description Darrell 2012-11-17 16:34:44 CST
When using KMail to view an email, there is a colored box in the right side of the window, in the top gray colored area of the email, containing sender time information. The time displayed in that box is misleading.

The code for the box display is in tdepim/kmail/headerstyle.cpp and was from a Chakra distro patch, commit d8b40941, 2010-09-07:

http://git.trinitydesktop.org/cgit/tdepim/commit/kmail/headerstyle.cpp?id=d8b40941f9d1a221add0b9094eb09405a91a8aab

I believe the purpose of the colored box is to convey the current time of the sender relative to the current time of the recipient's machine. Seems like a reasonable intent.

In a dev mail list discussion, the following problems were noted:

1. The text string "Now" is misleading. The box should be revised from "Now" to "Sender's Current Time." This change will help users understand the purpose of the box.

2. Although that simple fix helps, the time is skewered across Daylight Savings Time (DST) shifts. For example, on Nov. 17, when I viewed an email sent from before the Nov. 4 DST shift, from a sender in a different time zone --- a one-hour time zone difference, the box says the sender's time is two hours ahead, which is incorrect. The time should reflect the same one hour shift to Daylight Standard Time as both the sender and recipient are in areas using DST shifts.

3. The box does not update correctly when the email is left on the screen; the email has to be reloaded in order to
update the "Now" box with the current date/time of the sender.

4. The box has a tendency to truncate text when the date string grows too long.

Darrell
Comment 1 Darrell 2012-11-19 07:02:31 CST
Item No. 1 in the original report resolved in commit 23697659.
Comment 2 Darrell 2013-06-29 13:14:21 CDT
Which of items 2, 3, 4 are resolved by commit e4cc0ead 2013-06-28?
Comment 3 Timothy Pearson 2013-06-29 13:31:12 CDT
(In reply to comment #2)
> Which of items 2, 3, 4 are resolved by commit e4cc0ead 2013-06-28?

I didn't even know we had a bug report open on this. :-)  I just got tired of seeing a heavy KMail user leave Emails open that displayed the wrong date/time in the "Current Time" box.

#3 and #4 are fixed.  #2 is likely still a problem; the offending code is in tdepim/kmail/headerstyle.cpp in the FancyHeaderStyle::format() method.