Bug 67725 - Empty trash on exit not working
Summary: Empty trash on exit not working
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.93
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 70342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-09 23:53 UTC by Paul Sprakes
Modified: 2007-09-14 12:17 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 Paul Sprakes 2003-11-09 23:53:18 UTC
Version:           1.5.93 (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

Emptying trash from right click works fine, but the option to empty trash on exit has no effect. 

(I'm using pop3 & maildir format).
Comment 1 Wolfgang Hockertz 2003-11-10 21:02:27 UTC
Same here in Kontact 0.7.3 KMail 1.5.93 with SuSE rpms from ftp.suse.com.
Comment 2 Stephan Binner 2003-12-13 22:35:56 UTC
*** Bug 70342 has been marked as a duplicate of this bug. ***
Comment 3 Stephan Binner 2003-12-23 11:09:23 UTC
Raising severity because it's an regression and a default setting affecting every KMail user.
Comment 4 Volker Krause 2003-12-23 16:20:45 UTC
For kontact this might be related to #67013.
Comment 5 Ingo Klöcker 2003-12-23 19:36:06 UTC
Subject: kdepim/kmail

CVS commit by kloecker: 

Fix bug 67725 (Empty trash on exit not working).

We have to check the cached message count because the folder isn't open.

With Kontact this still doesn't work. But that's a more general problem
(cf. bug 67013).

CCMAIL: 67725-fixed@bugs.kde.org


  M +1 -1      kmkernel.cpp   1.229


--- kdepim/kmail/kmkernel.cpp  #1.228:1.229
@@ -1060,5 +1060,5 @@ void KMKernel::cleanupLoop()
         kapp->processEvents();
       }
-      if ( the_trashFolder->count() > 0 )
+      if ( the_trashFolder->count( true ) > 0 )
         the_trashFolder->expunge();
     }


Comment 6 Jay DeKing 2003-12-24 01:47:11 UTC
Subject: Re:  Empty trash on exit not working

Glad to see this reopened (finally) since it's been a problem for nearly a 
month on my box. I waited a while before reporting it, expecting "the next 
update" to fix it, but eventually I had to report it. 

It is still a problem. I've been manually emptying my Trash folder for a very 
long time.

I was rather upset that it was dismissed so quickly when I first reported it. 
Much happier now that it has been reinstated. I'll be even happier when it 
has been fixed.

Thanks
Jay

On Tuesday 23 December 2003 5:09 am, Stephan Binner honored me with this 
communique:
> ------- You are receiving this mail because: -------
> You are a voter for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=67725
> binner@kde.org changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Severity|normal                      |major
>
>
>
> ------- Additional Comments From binner@kde.org  2003-12-23 11:09 -------
> Raising severity because it's an regression and a default setting affecting
> every KMail user.

Comment 7 Dieter Nützel 2003-12-24 03:37:31 UTC
GREAT work Ingo!

Your fix works for me on SuSE 9.0, 2.6.0-0, KMail 1.5.94 (KDE 3.1.94 (Beta 2))

Merry Christmas!

-Dieter