Bug 66057 - mails don't get marked (read etc.)
Summary: mails don't get marked (read etc.)
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.3
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 12:40 UTC by Sven Hergenhahn
Modified: 2007-09-14 12:17 UTC (History)
2 users (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 Sven Hergenhahn 2003-10-15 12:40:46 UTC
Version:           1.5.3 (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Hi All,

When I open a mail and close it again, it is still marked as "unread" (or even "new" in case it was really a new mail).

I have disabled automatic marking of messages within x seconds, but I think they should be shown as read when having been opened and closed again.

When I mark them as read manually, they show up as they should. So the status only doesn't change when opening/closing a mail.

Thanks for checking,
Sven
Comment 1 Ingo Klöcker 2003-10-15 14:13:56 UTC
I guess by opening you mean double clicking on the message in order to view it in the separate reader window.

You explicitely told KMail not to mark any messages as read and that's exactly what KMail does. It would be a bug if KMail behaved differently. Marking messages as read if they have been "opened" is a new feature. And therefore this is a wish and no bug.
Comment 2 Till Adam 2003-10-15 14:20:47 UTC
Sven, just for your information, in kmail 1.6 you will be able to disable the message preview window. If you then set mark as read to some sensible value it will only mark the message as read that you explicitly open in a separate reader window. Is that what you want?
Comment 3 Sven Hergenhahn 2003-10-15 14:48:29 UTC
>I guess by opening you mean double clicking on the message in order to view it in >the separate reader window.
--> exactly!

>Marking messages as read if they have been "opened" is a new feature. And >therefore this is a wish and no bug. 
--> how can I change this to be a wish then?

Also, I just closed kmail and reopened it after some time. A mail there is still shown as "new" (red bullet). Shouldn't it (at least) be green now?

Thanks,
Sven
Comment 4 Mikolaj Machowski 2003-11-04 08:46:04 UTC
Till,

Could message be marked as read also in "normal" tripartial layout when message
window (readerwin) was moved with scroll, space, PgDown? 
Comment 5 Ingo Klöcker 2003-11-04 10:54:40 UTC
@Mikolaj: Please don't add different wishes to bug reports. File a new wish. Regarding your wish, what should be done if the message is completely visible so that scrolling is neither necessary nor possible?
Comment 6 Mikolaj Machowski 2003-11-04 14:51:01 UTC
Subject: Re:  mails don't get marked (read etc.)

> ------- @Mikolaj: Please don't add different wishes to bug reports. File
> a new wish. 

Next week.

> Regarding your wish, what should be done if the message is
> completely visible so that scrolling is neither necessary nor possible?

Wait for timeout.
More complete description: 
mark message as read after timeout or when message was "moved".
Depending on what was earlier.

(probably this requires new option - feature/string freeze...)

Comment 7 Christian Zangl 2006-08-24 12:53:32 UTC
I just wanted to ask if it would be possible to implement this feature ("mark a message read when it is opened in a separate reader window") anytime soon?

Otherwise I really like KMail - great work!
Comment 8 Allen Winter 2006-09-08 01:46:40 UTC
SVN commit 581934 by winterz:

Fix old bug 66057: mails don't get marked (read etc.)
Patch provided by Christian Zangl (Thanks!) and approved
by Till and Ingo.


BUGS: 66057


 M  +1 -0      kmreadermainwin.cpp  
 M  +2 -2      kmreaderwin.h  


--- branches/KDE/3.5/kdepim/kmail/kmreadermainwin.cpp #581933:581934
@@ -115,6 +115,7 @@
 {
   mReaderWin->setOverrideEncoding( encoding );
   mReaderWin->setMsg( msg, true );
+  mReaderWin->slotTouchMessage();
   setCaption( msg->subject() );
   mMsg = msg;
   menuBar()->show();
--- branches/KDE/3.5/kdepim/kmail/kmreaderwin.h #581933:581934
@@ -351,7 +351,8 @@
   void slotIMChat();
   void contactStatusChanged( const QString &uid);
 
-	void slotLevelQuote( int l );
+  void slotLevelQuote( int l );
+  void slotTouchMessage();
 
 protected slots:
   void slotCycleHeaderStyles();
@@ -370,7 +371,6 @@
   /** Some attachment operations. */
   void slotAtmView( int id, const QString& name );
   void slotDelayedResize();
-  void slotTouchMessage();
   void slotHandleAttachment( int );
 
 protected: