<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>preferences: use_trash disables delhide</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:30 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/4890</link> 
  <atom:link rel="self" type="application/rss+xml" title="preferences: use_trash disables delhide" href="https://bugs.horde.org/ticket/4890/rss" /> 
  <description>preferences: use_trash disables delhide</description> 
 
   
   
  <item> 
   <title>When the use_trash preference is enabled, the value of the d</title> 
   <description>When the use_trash preference is enabled, the value of the delhide preference is ignored and effectively forced off. Didn&#039;t you mean on the contrary to force it *on* when use_trash is on?



That is, replace in lib/Mailbox.php:



            $this-&gt;_delhide = ($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;delhide&#039;) &amp;&amp;

                               !$GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;use_trash&#039;) &amp;&amp;

                               ($GLOBALS[&#039;imp_search&#039;]-&gt;isSearchMbox() ||

                               ($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;sortby&#039;) != SORTTHREAD)));



by



            $this-&gt;_delhide = (($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;delhide&#039;) ||

                               !$GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;use_trash&#039;)) &amp;&amp;

                               ($GLOBALS[&#039;imp_search&#039;]-&gt;isSearchMbox() ||

                               ($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;sortby&#039;) != SORTTHREAD)));



</description> 
   <pubDate>Sun, 14 Jan 2007 06:56:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t28447</link> 
  </item> 
   
  <item> 
   <title>No, either you use a trash folder, or the delete flag. Never</title> 
   <description>No, either you use a trash folder, or the delete flag. Never both. If you use the trash folder, delete messages are move there, so it doesn&#039;t make sense to hide deleted messages - there are none.</description> 
   <pubDate>Sun, 14 Jan 2007 12:44:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t28456</link> 
  </item> 
   
  <item> 
   <title>But if one uses the trash folder, when a deleted message get</title> 
   <description>But if one uses the trash folder, when a deleted message gets moved, it still appears deleted in the original folder, until one expunges it. Surely you want to avoid that.</description> 
   <pubDate>Fri, 19 Jan 2007 07:01:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t28695</link> 
  </item> 
   
  <item> 
   <title>No, this doesn&#039;t happen here. The mailbox is expunged after </title> 
   <description>No, this doesn&#039;t happen here. The mailbox is expunged after the message has been moved to trash.</description> 
   <pubDate>Sat, 20 Jan 2007 15:25:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t28742</link> 
  </item> 
   
  <item> 
   <title>Hi,



I reported this bug on the debian bugtracker but in f</title> 
   <description>Hi,



I reported this bug on the debian bugtracker but in fact, I saw deleted messages with use_trash enabled because I opened horde/imp while my thunderbird was still opened, so my mailbox was not yet expunged by thunderbird.



So this problem would happen on very seldom cases (thunderbird crashes and i connect after on horde), but I still think it would be better to enable delhide when use_trash is enabled so that it never happens.



What is the problem with enabling delhide with use_trash ?

</description> 
   <pubDate>Tue, 06 Feb 2007 23:26:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t29218</link> 
  </item> 
   
  <item> 
   <title>I remain unvoncinced. Delete-but-not-expunged messages can b</title> 
   <description>I remain unvoncinced. Delete-but-not-expunged messages can be left by other applications than IMP. The user may wish to hide those. I see no point in removing that choice from the user. What is *achieved* by that?



I&#039;m applying this patch to the version distributed by Debian:



--- orig/lib/Mailbox.php

+++ mod/lib/Mailbox.php

@@ -171,7 +171,6 @@

             $this-&gt;_delhide = !$GLOBALS[&#039;imp_search&#039;]-&gt;isVTrashFolder();

         } else {

             $this-&gt;_delhide = ($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;delhide&#039;) &amp;&amp;

-                               !$GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;use_trash&#039;) &amp;&amp;

                                ($GLOBALS[&#039;imp_search&#039;]-&gt;isSearchMbox() ||

                                ($GLOBALS[&#039;prefs&#039;]-&gt;getValue(&#039;sortby&#039;) != SORTTHREAD)));

         }

</description> 
   <pubDate>Sat, 10 Feb 2007 11:30:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t29373</link> 
  </item> 
   
  <item> 
   <title>I too am having this issue..  The issue being using several </title> 
   <description>I too am having this issue..  The issue being using several &quot;other&quot; applications outside of horde do not follow the &quot;horde&quot; philosophy of immediately purging the folder when moving mail into the trash.  Thus when telling horde to use the &quot;trash&quot; I see a cluttering of &quot;deleted&quot; messages in the horde inbox.

Mail client I use (outside of horde) on a regular basis..

Thunderbird 3.1
Apple Mail (snow leopard version)
iPad mail client (4.3.1)
iPhone mail client (3.1.3)

So for compatibility with other client, having the ability to USE the trash AND hide deleted is a BIG plus. (Note that I am using Horde4/Imp5)</description> 
   <pubDate>Wed, 11 May 2011 03:34:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t64565</link> 
  </item> 
   
  <item> 
   <title>&gt; I too am having this issue..  The issue being using severa</title> 
   <description>&gt; I too am having this issue..  The issue being using several &quot;other&quot; 
&gt; applications outside of horde do not follow the &quot;horde&quot; philosophy of 
&gt; immediately purging the folder when moving mail into the trash.  Thus 
&gt; when telling horde to use the &quot;trash&quot; I see a cluttering of &quot;deleted&quot; 
&gt; messages in the horde inbox.
&gt;
&gt; Mail client I use (outside of horde) on a regular basis..

No.  It is a *terrible* idea to assume that deleted flags that exist in a mailbox mean that they should be moved to the trash (or, even worse, expunged automatically and permanently).  IMP can&#039;t guess what other MUAs intend when they mark messages as deleted.  Thus, the only safe and sane option is to show these messages as flagged deleted, but requiring a user to take a proactive action to indicate that yes, indeed, he really does want those messages permanently deleted from the mailbox.</description> 
   <pubDate>Wed, 11 May 2011 06:20:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t64568</link> 
  </item> 
   
  <item> 
   <title>OK, I see you point..

How about one of these options..
</title> 
   <description>OK, I see you point..

How about one of these options..

1) Provide an option that allows horde to &quot;use the trash&quot;, &quot;hide deleted messages&quot;, and NOT auto expunge?
* which can lead to the issue of users never expunging, but that happens already w/ trash disabled and delhide enabled

When trash is enabled, provide UI elements to either
2)  allow user to manually hide deleted (default always to show) and a button to expunge deleted messages
3) OR just put a button back in the UI to expunge the deleted messages.
This last one is the REAL issue I have I guess.   When I have trash enabled there is no obvious way to expunge/purge those &quot;marked deleted&quot; messages from my mailbox via horde.  </description> 
   <pubDate>Wed, 11 May 2011 12:10:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t64585</link> 
  </item> 
   
  <item> 
   <title>&gt; 1) Provide an option that allows horde to &quot;use the trash&quot;,</title> 
   <description>&gt; 1) Provide an option that allows horde to &quot;use the trash&quot;, &quot;hide 
&gt; deleted messages&quot;, and NOT auto expunge?
&gt; * which can lead to the issue of users never expunging, but that 
&gt; happens already w/ trash disabled and delhide enabled

I might consider this as an advanced preference if a patch was provided.  But only in IMP 5 - this won&#039;t be backported to IMP 4.

&gt; When trash is enabled, provide UI elements to either
&gt; 2)  allow user to manually hide deleted (default always to show) and 
&gt; a button to expunge deleted messages

No.  Trash is enabled.  It is expensive to search a mailbox to determine if there are messages marked as deleted just to activate a UI element.  This should not be overhead for every mailbox viewed when using the trash.

&gt; 3) OR just put a button back in the UI to expunge the deleted messages.
&gt; This last one is the REAL issue I have I guess.   When I have trash 
&gt; enabled there is no obvious way to expunge/purge those &quot;marked 
&gt; deleted&quot; messages from my mailbox via horde.

Sure there is.  Just select the message you want and click on delete.  Adding an expunge button requires just as much effort, while cluttering the UI with an option a user has explicitly said they don&#039;t want to deal with (Trash implies no expunging is needed).</description> 
   <pubDate>Wed, 18 May 2011 04:57:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/4890#t64753</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
