Summary | Drag folders is not working on IE |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | goncalo.queiros (at) portugalmail (dot) net |
Created | 05/18/2010 (5519 days ago) |
Due | |
Updated | 09/07/2010 (5407 days ago) |
Assigned | 06/04/2010 (5502 days ago) |
Resolved | 09/07/2010 (5407 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 5 |
Patch | Yes |
Fix
Bug #9041Correctly determine folder diff when folder contains unsubscribed
mailboxes, which are not visible in the current mode.
http://git.horde.org/diff.php/imp/lib/Imap/Tree.php?rt=horde-git&r1=6e1c57025b1661dd1a5a0e226241ef0fa2223209&r2=be741280870c216ca0d21e9a262e045b4899c1c5
Milestone ⇒ 5
State ⇒ Assigned
mailbox into another mailbox that was empty, but had an unsubscribed
mailbox underneath it.
The problem is that IMP_Imap_Tree is not catching that the base
mailbox is "changed", and without informing dimpbase.js that this base
mailbox is changed it is trying to add a subfolder to an element that
doesn't exist (the subfolder is normally created by the change action).
This only happens if the folder you are dragging to is empty..
DimpBase line 2532
$(this.getSubFolderId(this.getFolderId(ob.pa))).down() is null,
because there's no sub_fldXXX LI created, thus the .down will throw an
error.
The LI is created only on page refresh if the folder has any
childrens..can you confirm that?
To simulate the other problem, just create two folders on the base
level, drag one of them inside the other one..now try to open the
folder
and IE; tested with empty namespace and 'INBOX.' as namespace). You
will need to debug the JS code yourself.
New Attachment: drag.jpg
To simulate the other problem, just create two folders on the base
level, drag one of them inside the other one..now try to open the
folder (at least here i can't..there's a javascript error
"doActionComplete TypeError:
$(this.getSubFolderId(this.getFolderId(ob.pa))) is null" ...
State ⇒ Feedback
the UI since folder B will not show the + sign (nor will be
expandable)..if the browser is refreshed all is fine, the + sign is
back and we can expand the B folder and get the A folder out again.
When we are mousing over folder B (while dragging folder A), the
message is displayed on the wrong place.
Both this behaviors can be observed in any browser.
Assigned to Michael Slusarz
Taken from Jan Schneider
State ⇒ Assigned
State ⇒ Resolved
Assigned to Jan Schneider
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Drag folders is not working on IE
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ Yes
New Attachment: 0001-Don-t-set-zindex-as-NaN-in-IE.patch
State ⇒ Unconfirmed
its because Imp is setting a zindex of NaN..in firefox it seems to
convert that zindex to 999 but IE throws an error and nothing is done.
Don't know if the patch is the best way to solve this issue, or if the
zindex of the element should be setted before reach the line that i
changed.
Also, dropping a folder A inside folder B will work, but will brake
the UI since folder B will not show the + sign (nor will be
expandable)..if the browser is refreshed all is fine, the + sign is
back and we can expand the B folder and get the A folder out again.
When we are mousing over folder B (while dragging folder A), the
message is displayed on the wrong place.
Both this behaviors can be observed in any browser.
Sorry for not correcting this.