First Last Prev Next    No search results available
Details
: Postbox: collapsed accounts are not switched when clickin...
Bug#: 26258
: QuickFolders
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P2
: normal
: ---

:
:
: postbox
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Axel Grude <axel.grude@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>
:

Attachments
QF 4.5 prerelease 52 (694.42 KB, application/x-xpinstall)
2016-07-12 12:05, Axel Grude
no flags Details
QF 4.5 prerelease 54 (694.42 KB, application/x-xpinstall)
2016-07-14 08:06, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2016-07-09 05:07
When a user adds an account root Node (from the Accounts panel) as Tab and
changes to it from a different account, it has been reported not to work if the
Accounts panel is collapsed.
------- Comment #1 From Axel Grude 2016-07-12 12:05:51 -------
Created an attachment (id=8205) [details]
QF 4.5 prerelease 52

This version does "a bit more" by calling the Postbox specific functions
directly when the folder is a "top level" / account folder. It will also show
specific debug messages provided debug mode is active and 

extensions.quickfolders.debug.folders.select = true

debug log:

QuickFolders {FOLDERS.SELECT} 20:4:49.492  [10227 ms]    
QuickFolders_MySelectFolder: imap://xxxx.xxxxx@imap.googlemail.com
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.492  [0 ms]        
try to find open tab with folder...
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.494  [2 ms]        
...folder is currently not open in any Tab.
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.494  [0 ms]        

This is a ROOT folder
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.494  [0 ms]        
Postbox: need to select different account idx: 1
 ----------
QuickFolders {EVENTS} 20:4:49.496  [2 ms]        
FolderTreeSelect: event target = [object XULElement]
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.504  [8 ms]        
Postbox: EnsureFolderIndex : imap://xxxx.xxxxx@imap.googlemail.com
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.504  [0 ms]        
result index = -1
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.504  [0 ms]        
QuickFolders_MyEnsureFolderIndex - index of xxxx.xxxxx@gmail.com: -1
 ----------
QuickFolders {FOLDERS.SELECT} 20:4:49.505  [1 ms]        
Could not find folder in tree (folderIndex = -1)
 ----------
QuickFolders {EVENTS} 20:4:50.283  [778 ms]      
FolderTreeSelect: event target = [object XULElement]
 ----------
QuickFolders {EVENTS} 20:4:50.284  [1 ms]        
FolderTreeSelect selecting folder  Inbox
------- Comment #2 From Axel Grude 2016-07-14 08:06:37 -------
Created an attachment (id=8206) [details]
QF 4.5 prerelease 54

Bugfix - supersedes previous version and also gives more detail in error
console. It ignores the folder flags and determines whether the folder is an
account by looking at

(msgFolder.rootFolder.URI == msgFolder.URI)


in this case the folder is assumed to be a root folder. Additional
Postbox-specific code makes sure the selection in the account tree is carried
out.
------- Comment #3 From Axel Grude 2016-07-25 10:03:16 -------
Release 4.5 - Resolved Fixed

First Last Prev Next    No search results available