Closed Graggz closed 3 years ago
Here i s a test version with more debug output
(download the zip file and drag into Thunderbird Add-ons Manager). You can also enable the following debug options (by right-clicking [ ] Debug Mode in QF advanced):
extensions.quickfolders.debug.dnd = true
extensions.quickfolders.debug.dragToNew = true
Thank you ... I hope this is right?
Thank you ... I hope this is right?
I think we are still missing lots of detail, can you make sure you enable the following in error console:
{Errors, Warnings, Logs, Info and Debug}
Also, I had another edit error in the last version, so here is the fixed version: QuickFolders-wx-5.6pre196.zip
the log output for dragging to a New folder via a tab across 2 Imap accounts (both on gmail - note that servers do not usually communicate directly with each other; so emails need to be downloaded to Thunderbird before being moved / copied to the other account) on my side looks something like this:
toolbarDragObserver:DnD dragenter QuickFolders-Toolbar quickfolders.js:1006:12
toolbarDragObserver:DnD dragenter QuickFolders-Folders-Pane quickfolders.js:1006:12
QuickFolders {DND} 10:31:37.335 [17111 ms]
buttonDragObserver.dragEnter - sourceNode = treechildren
ALT = false CTRL = false SHIFT = false quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.338 [3 ms]
dragSession.isDataFlavorSupported(text/x-moz-message): false
Drag types from event.dataTransfer:
text/x-moz-message
text/x-moz-url
application/x-moz-file-promise-url
application/x-moz-file-promise quickfolders-util.js:1037:13
QuickFolders {DRAGTONEW} 10:31:37.339 [1 ms]
addDragToNewFolderItem Test-QF
canCreateSubfolders = true
server.type = imap quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.340 [1 ms]
showPopup with id moveTo_imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.346 [6 ms]
set global popup id = moveTo_imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF quickfolders-util.js:1037:13
toolbarDragObserver:DnD dragenter quickfolders.js:1006:12
QuickFolders {DND} 10:31:37.899 [553 ms]
buttonDragObserver.dragExit
sourceNode=[object XULElement]event.target=[object XULElement] quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.900 [1 ms]
buttonDragObserver.dragExit - sourceNode = treechildren quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.900 [0 ms]
relatedTarget = null
QuickFolders_globalHidePopupId = moveTo_imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF quickfolders-util.js:1037:13
toolbarDragObserver:DnD dragenter moveTo_imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF 2 quickfolders.js:1006:12
toolbarDragObserver:DnD dragenter 2 quickfolders.js:1006:12
QuickFolders {DND} 10:31:37.957 [57 ms]
popupDragObserver.dragExit menuitem - 1 quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:37.983 [26 ms]
popupDragObserver.dragEnter menuitem - New Folder… quickfolders-util.js:1037:13
toolbarDragObserver:DnD dragenter folderPaneContext-new quickfolders.js:1006:12
QuickFolders {DND} 10:31:38.585 [602 ms]
popupDragObserver.drop text/x-moz-message quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:38.586 [1 ms]
target's parent folder: imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:38.586 [0 ms]
dataTransfer [0] imap-message://thunderbirddaily67%40gmail.com@imap.gmail.com/Social/pinterest#245
quickfolders-util.js:1037:13
QuickFolders {DND,DRAGTONEW} 10:31:38.587 [1 ms]
window.openDialog (newFolderDialog.xhtml)
folder/preselectedURI:[xpconnect wrapped (nsISupports, nsIMsgFolder, nsISupportsWeakReference, nsIMsgImapMailFolder)] (URI: imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF)
dualUseFolders:true quickfolders-util.js:1037:13
QuickFolders {DRAGTONEW} 10:31:41.455 [2868 ms]
1. create sub folder: 2 quickfolders-util.js:1037:13
QuickFolders 10:31:41.457 [2 ms]
util.touch(2)
1621935101
25/5 10:31:41 quickfolders-util.js:1042:13
QuickFolders 10:31:41.459 [2 ms]
setFolderUpdateTimer(item):2 quickfolders-util.js:1042:13
QuickFolders 10:31:41.459 [0 ms]
Folder Tab Select Timer ID: 457 quickfolders-util.js:1042:13
QuickFolders 10:31:41.460 [1 ms]
Setting Update Timer (after timer 0 expired), new Timer: 457 quickfolders-util.js:1042:13
QuickFolders 10:31:41.460 [0 ms]
util.touch(2)
1621935101
25/5 10:31:41 quickfolders-util.js:1042:13
QuickFolders 10:31:41.495 [35 ms]
toolbarDragObserver.drop() - dragSession = null quickfolders-util.js:1042:13
QuickFolders {DND} 10:31:41.496 [1 ms]
toolbarDragObserver.drop - text/x-moz-message quickfolders-util.js:1037:13
QuickFolders {DND} 10:31:41.497 [1 ms]
toolbarDragObserver.drop text/x-moz-message quickfolders-util.js:1037:13
QuickFolders 10:31:41.960 [463 ms]
updateFolders(rebuildCategories: false, minimal: true) - Number of Folders = 41 quickfolders-util.js:1042:13
QuickFolders 10:31:41.963 [3 ms]
7 of 41 tabs refreshed on toolbar [minimalUpdate]. quickfolders-util.js:1042:13
QuickFolders {DRAGTONEW} 10:31:42.349 [386 ms]
3. move messages: imap://seawonkey%40gmail.com@mail.gmail.com/Test-QF/2 thread:undefined quickfolders-util.js:1037:13
QuickFolders {DND,QUICKMOVE} 10:31:42.350 [1 ms]
QuickFolders.Util.moveMessages: target = 2, makeCopy=false quickfolders-util.js:1037:13
QuickFolders {DND,QUICKMOVE,DRAGTONEW} 10:31:42.350 [0 ms]
calling CopyMessages (
sourceFolder = pinterest
messages = [xpconnect wrapped nsIMutableArray]
destinationFolder = 2
isMove = (various)
listener = QuickFolders.CopyListener
window = [xpconnect wrapped nsIMsgWindow]
allowUndo = true) quickfolders-util.js:1037:13
QuickFolders 10:31:42.351 [1 ms]
util.touch(2)
1621935102
25/5 10:31:42
Ok.... please try this .... console-export-2021-5-25_14-58-55.txt
Good. there is an additional debug flag. Please set
extensions.quickfolders.debug.getOrCreateFolder = true as well, and we will hopefully get even more detail again.
Thank you Please see file below.
Do you still have this problem - and what versino of Thunderbird are you currently using?
I am using 78.14.0 (64-bit) And it seems to be working. Occasionally, I will get an error, but I now notice that the folder IS created, it has just fails to copy the email. It copies it fine next time
It may be a timing problem in this case. Maybe we can add some configurable delay in an test version...
The automatic update to 91 should happen very soon, so it might be acting even different (better / worse?) with that one.
It's much better and I'm happy to wait for the big update and see how it goes.
I'm really hoping they have done some work with the compose element of emails, I can't believe that every email client out there still uses a composer from 1970.
From my main IMAP email account in TB, I drag a message onto a QF Tab to create a New SubFolder
This fails
It's important to note that the folder I am trying to create is on another email address, but the same domain. But Thunderbird obviously sees it as another account and probably hasn't / isn't syncing it at the point I am trying to create the subfolder?
Having received the error message, if I click on the QF Tab for that account and then click back to my main account, and I take the same steps above, the process works. My assumption is by clicking on the QF tab and going to that account, TB is doing something, syncing, talking to the server... whatever, but that allows the process to work.
Attached are some logs console-export-2021-5-24_16-27-50.txt console-export-2021-5-24_16-32-34 success.txt console-export-2021-5-24_16-31-3 with QF debug.txt