6.0.0-beta1
7/4/25

[#11609] Tree icon show incorrect state when opening from portal
Summary Tree icon show incorrect state when opening from portal
Queue IMP
Queue Version 6.0.0
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester arjen+horde (at) de-korte (dot) org
Created 10/31/2012 (4629 days ago)
Due
Updated 11/07/2012 (4622 days ago)
Assigned 10/31/2012 (4629 days ago)
Resolved 11/07/2012 (4622 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/07/2012 07:28:58 AM Michael Slusarz State ⇒ Resolved
 
11/02/2012 04:50:50 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 687cdf97825090bff2eb43c74263f668711f9985
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Thu Nov 1 22:50:22 2012 -0600

     [mms] Fix expanding folder list in dynamic view when opening a 
mailbox and folder expansion is not saved in the prefs (Bug #11609).

  imp/docs/CHANGES   |    2 ++
  imp/js/dimpbase.js |   10 +++++-----
  imp/package.xml    |    2 ++
  3 files changed, 9 insertions(+), 5 deletions(-)

http://git.horde.org/horde-git/-/commit/687cdf97825090bff2eb43c74263f668711f9985
10/31/2012 09:09:40 PM arjen+horde (at) de-korte (dot) org Comment #5 Reply to this comment
Do you happen to have the preference for opening the maillist view

     Expand the entire folder tree by default in the folders view?

set to 'Remember the last view' or 'No'? In the first case, the icons 
show correctly (regardless of the last state they were in), but the 
second will show this behaviour (at least it does here, consistently).

I've also tried switching of the cache, it made no difference at all.
10/31/2012 08:24:36 PM Michael Slusarz Comment #4
State ⇒ Feedback
Summary ⇒ Tree icon show incorrect state when opening from portal
Reply to this comment
I've changed the heading, but I can't reproduce in any manner.

Here's what I did:
1. Changed my mailbox_start pref to both "Virtual Inbox" and "IN.foo"
2. Went to portal
3. Clicked on mailbox name (for Virtual INBOX, I needed to click on 
the header of the portal).
4. Tree opened fine. Doesn't matter whether saved state of parent 
element was open or closed.
10/31/2012 07:13:22 PM arjen+horde (at) de-korte (dot) org Comment #3 Reply to this comment
This isn't limited to the Virtual INBOX (as the Summary now suggests), 
you'll get the same behaviour for *any* mailbox that is selected from 
the portal. So if there are messages in my Horde folder and I click on 
that folder from the portal (IMP is one of the applications in the 
portal), the opened/collapsed are reversed for that folder (and only 
that one). In this particular case, the icons in the Virtual INBOX 
will be correct, since that was not the folder that was opened.
10/31/2012 06:59:17 PM Michael Slusarz Summary ⇒ Tree icon show incorrect state when opening Virtual INBOX
 
10/31/2012 12:09:18 PM Jan Schneider State ⇒ Assigned
Assigned to Michael Slusarz
 
10/31/2012 11:22:03 AM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
Refreshing the folder list fixes the state of the map icons by the way 
and from that moment on, they will give the correct opened/collapsed 
icons.
10/31/2012 11:16:48 AM arjen+horde (at) de-korte (dot) org Comment #1
Milestone ⇒
State ⇒ Unconfirmed
New Attachment: map-icons.PNG Download
Patch ⇒ No
Queue ⇒ IMP
Summary ⇒ Map icons show incorrect state in navigation
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
I have configured IMP to navigate to the Virtual Inbox upon startup. 
When openening IMP from the portal, it indeed opens the Virtual Inbox. 
Strange thing is, that icon for the parent map shows it is closed (a 
'+' sign in the icon). When I click this icon, the navigation now 
closes the child map, but the icon for the parent map now indicates it 
is opened (a '-' sign in the icon).

This only happens for the map in which IMP starts. If I click in the 
portal any other map, this will show a similar behavior. All others 
will give the expected icon when opening or collapsing a map.

Saved Queries