<?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>Can&#039;t turn on use_trash when no trash folder is set</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:20 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7123</link> 
  <atom:link rel="self" type="application/rss+xml" title="Can&#039;t turn on use_trash when no trash folder is set" href="https://bugs.horde.org/ticket/7123/rss" /> 
  <description>Can&#039;t turn on use_trash when no trash folder is set</description> 
 
   
   
  <item> 
   <title>Because of this line at the bottom of imp/lib/prefs.php:



</title> 
   <description>Because of this line at the bottom of imp/lib/prefs.php:



// Don&#039;t show Trash options if Trash is disabled.                                                                                                                      

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

    $GLOBALS[&#039;_prefs&#039;][&#039;trashselect&#039;][&#039;type&#039;] = $GLOBALS[&#039;_prefs&#039;][&#039;use_vtrash&#039;][&#039;type&#039;] = $GLOBALS[&#039;_prefs&#039;][&#039;empty_trash_menu&#039;][&#039;type&#039;] = &#039;implicit&#039;;

}



And the check on use_trash that won&#039;t let you turn it on if there is no trash folder, it is impossible to turn on use_trash if you haven&#039;t previously selected a trash folder, and you can&#039;t select a trahs folder because that selection is hidden when use_trash is off.



I *think* the thing to do here would be to just always show the trashselect pref and go from there. Any other ideas?</description> 
   <pubDate>Mon, 28 Jul 2008 20:41:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47864</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/prefs.php?r1=1.51&amp;r2=1.52&amp;ty=u</description> 
   <pubDate>Tue, 29 Jul 2008 05:18:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47868</link> 
  </item> 
   
  <item> 
   <title>How about this solution.  Instead of disabling trash if no T</title> 
   <description>How about this solution.  Instead of disabling trash if no Trash pref is set, we warn instead.  The delete code will prevent deletion until a Trash folder is selected so we are good there.

</description> 
   <pubDate>Tue, 29 Jul 2008 05:19:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47869</link> 
  </item> 
   
  <item> 
   <title>This sort of works, but is pretty bad user experience in my </title> 
   <description>This sort of works, but is pretty bad user experience in my opinion. For one thing it forces two steps to enable move to trash; for another, the process for enabling virtual trash now looks like this:



- enable move to trash

- be told you can&#039;t delete messages until you select a trash folder

- go back to delmove pref group

- select use virtual trash

- be told that you can&#039;t use both virtual trash and a regular trash folder at the same time

- go back to make sure virtual trash was set, and you can&#039;t see the option anymore because use_trash was automatically set to false.



vtrash is in fact enabled now, but I wouldn&#039;t expect a user to trust that. Why are we hiding these preferences in the first place? It seems clear enough to me that if use trash isn&#039;t selected a trash folder won&#039;t be shown. Barring rewriting the prefs UI to allow dynamic enabling/disabling of prefs, I think we should just show them.</description> 
   <pubDate>Tue, 29 Jul 2008 16:31:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47896</link> 
  </item> 
   
  <item> 
   <title>Also, now I can&#039;t switch to a regular trash folder without e</title> 
   <description>Also, now I can&#039;t switch to a regular trash folder without editing prefs directly, because use_vtrash is checked, I can&#039;t uncheck it, and when I try to turn use_trash on, I&#039;m told that I can&#039;t use both trash and vtrash and that vtrash will be used.</description> 
   <pubDate>Tue, 29 Jul 2008 16:36:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47898</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/config/prefs.php.dist?r1=1.293&amp;r2=1.294&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/prefs.php?r1=1.52&amp;r2=1.53&amp;ty=u
http://cvs.horde.org/diff.php/imp/templates/prefs/trashselect.inc?r1=2.24&amp;r2=2.25&amp;ty=u</description> 
   <pubDate>Mon, 04 Aug 2008 19:48:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47980</link> 
  </item> 
   
  <item> 
   <title>How about this?</title> 
   <description>How about this?</description> 
   <pubDate>Mon, 04 Aug 2008 19:52:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47981</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/dimp/templates/index/index.inc?r1=1.212&amp;r2=1.213&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/IMP.php?r1=1.703&amp;r2=1.704&amp;ty=u
http://cvs.horde.org/diff.php/imp/mailbox.php?r1=2.866&amp;r2=2.867&amp;ty=u
http://cvs.horde.org/diff.php/mimp/mailbox.php?r1=1.82&amp;r2=1.83&amp;ty=u</description> 
   <pubDate>Mon, 04 Aug 2008 21:45:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47984</link> 
  </item> 
   
  <item> 
   <title>Looks good until we have that prefs rewrite. :) Thanks!</title> 
   <description>Looks good until we have that prefs rewrite. :) Thanks!</description> 
   <pubDate>Tue, 05 Aug 2008 01:29:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47992</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/config/prefs.php.dist?r1=1.216.4.31&amp;r2=1.216.4.32&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/prefs.php?r1=1.3.10.28&amp;r2=1.3.10.29&amp;ty=u
http://cvs.horde.org/diff.php/imp/templates/prefs/trashselect.inc?r1=2.11.12.7&amp;r2=2.11.12.8&amp;ty=u</description> 
   <pubDate>Tue, 05 Aug 2008 03:44:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7123#t47993</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
