6.0.0-alpha12
6/12/25

[#12775] Cannot collapse folder if sub-folder is opened
Summary Cannot collapse folder if sub-folder is opened
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 10/18/2013 (4255 days ago)
Due
Updated 03/07/2014 (4115 days ago)
Assigned 10/18/2013 (4255 days ago)
Resolved 03/07/2014 (4115 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/07/2014 08:43:55 AM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
Closed (for reasons explained in #12795).
11/14/2013 11:45:56 AM Jan Schneider Comment #4 Reply to this comment
I actually don't understand how you can not see this, because AFAIU
the code in DimpBase.mailboxCallback, the folder is highlighted and
thus all parent folders expanded if this.view is set. Here's the
backtrace:


_toggleSubFolder()dimpba...95ff3f3 (Zeile 3394)
base = div#anonymous_element_31.horde-subnavi
mode = "exp"
noeffect = true
noexpand = undefined
highlightSidebar()dimpba...95ff3f3 (Zeile 331)
id = "SU5CT1guTWFpbGluZ2xpc3Rlbi5CdWd0cmFx"
mailboxCallback()dimpba...95ff3f3 (Zeile 3205)
r = Object { c=[1]}
tasksHandler()dimpba...95ff3f3 (Zeile 3894)
e = Object { response=klass, tasks={...}}
(?)()dimpba...95ff3f3 (Zeile 4159)
e = dataavailable
createResponderForCustomEvent()protot...e41beb4 (Zeile 6763)
event = dataavailable
fireEvent_DOM()protot...e41beb4 (Zeile 6623)
element = Document
dynamic.php?page=mailbox#mbox:SU5CT1guTWFpbGluZ2xpc3Rlbi5CdWd0cmFx
eventName = "HordeCore:runTasks"
memo = Object { response=klass, tasks={...}}
bubble = true
fire()protot...e41beb4 (Zeile 6612)
element = Document
dynamic.php?page=mailbox#mbox:SU5CT1guTWFpbGluZ2xpc3Rlbi5CdWd0cmFx
eventName = "HordeCore:runTasks"
memo = Object { response=klass, tasks={...}}
bubble = true
(?)()horde....e41beb4 (Zeile 456)
doActionComplete()hordec...e41beb4 (Zeile 248)
action = "collapseMailboxes"
resp = klass { request=klass, transport=XMLHttpRequest, readyState=4, mehr...}
opts = Object {}
onSuccess()hordec...e41beb4 (Zeile 86)
t = klass { request=klass, transport=XMLHttpRequest, readyState=4, mehr...}
respondToReadyState()protot...e41beb4 (Zeile 1815)
readyState = 4
onStateChange()protot...e41beb4 (Zeile 1757)
11/12/2013 08:36:19 PM Michael Slusarz Comment #3 Reply to this comment
Is this related to Ticket #12795?  I still can't reproduce.
10/18/2013 08:44:20 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Works perfectly here.
10/18/2013 08:40:52 AM Jan Schneider Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Cannot collapse folder if sub-folder is opened
Queue ⇒ IMP
Assigned to Michael Slusarz
Milestone ⇒
Patch ⇒ No
State ⇒ Assigned
Reply to this comment
This has changed recently, not sure if in master or only in imp_6_2. 
If you have a sub-folder opened, you can no longer collapse the parent 
folder in the folder tree. It expands immediately again.
I can see how it makes sense to expand trees so that you can have the 
opened folders in the tree actually highlighted. But it should still 
be allowed to explicitly close a tree branch.

Saved Queries