You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
quickFilters Filter assistant mode is not detected when configured to automatically start with Thunderbird #397
Hi, when using QF 6.0pre332 and QuickFilter 6.1.1 with TB115 and I move a message via the QuickMove button of QuickFolder to a folder, the Filter dialog is not opening (and no filter is created).
When moving directly to a filder in the folder view of TB, it works.
Thanks for reporting, can you please check the error console log (open with Ctrl+Shift+J or Thunderbird tools » ) to see if there are any new errors logged after selecting the target folder on QuickFolders?
You can copy the debug log (as text please, no screenshot) via right-click » Copy all Messages :
Error console settings should be set up like this to be most useful:
I can give you additional debug settings for quickFilters for more detail later, which will be configured on quickFilters Settings » Advanced, but let's first see if there is anything obvious...
changed the title [-]Filter Assistant not Working with QuickFolders/TB 115[/-][+]Filter Assistant not Working with QuickFolders quickMove function (TB 115)[/+]on Aug 1, 2023
No so sure what you mean. I have the old 3way view open, folder tree, contents and (selected) email.
ok, single message tab happens when you open a mail in a new tab (via double click). There is an error thrown about missing thread pane, which would indicate that the list of messages (on top of the mail preview) is hidden. To avoid the error and test with something that is closer to the latest source code can you please install the version below (6.1 prerelease 34) - the preview you used is behind quite a bit.
Hi
After Upgrade to QuickFilter 6.2, the QuickMove function does not come up with the filter dialog when sorting from a subfolder anymore. Worked with 6.1.1pre11
Does not work with 6.2 anymore... Not first, not second time (when moving to the QuickFolder Quickjump button with 6.1.2pre11).
Or Moving with The Shortkey.
Does not work with 6.2 anymore... Not first, not second time (when moving to the QuickFolder Quickjump button with 6.1.2pre11). Or Moving with The Shortkey.
Sorry can you be more specific, I think what you are saying is - quickFilters 6.2 + QF 6.1.2pre11; you are using the quickMove function and selecting a suggested menu item directly underneath the button? Or a in a child folder from there?
I am asking again because it works for me. If you get any messages in error console after selecting the folder from the menu, I need to see them please.
I am investigating this now ; there is a global flag in QuickFolders called QuickFolders.FilterWorker.FilterMode - once this is set to true (via a QuickFolders function toggleFilterMode() - this is when you use the QF interface, e.g. the QuickFolders tools menu to toggle filter assisted mode):
However when you use the quickFilters interface and call its own toggle_FilterMode() function it will try to also flick the switch for QuickFolders:
// If QuickFolders is installed, we should also invoke its filter modeif(window.QuickFolders){letQF=window.QuickFolders,QFwork=QF.FilterWorker ? QF.FilterWorker : QF.Filter;// we cannot supress the notification from QuickFolders// without adding code in it!if(QFwork.FilterMode!=active){// prevent recursion!QFwork.toggle_FilterMode ?
QFwork.toggle_FilterMode(active) :
QFwork.toggleFilterMode(active);// (active, silent) !!!}if(!silent)removeOldNotification(notifyBox,active,'quickfolders-filter');}
my theory is that this may not work if QuickFolders hasn't been loaded on startup and quickFilters was loaded beforehand. This is a little hard to test, because I have no influence on the loading order and cannot debug on startup either. But there must be a way to work around this...
Ok, looks like I am lucky already. We can see in the interface that quickFilters has (automatically) toggled its mode, but QuickFolders didn't get the message and still shows the wrong icon in its tools menu:
So it seems quickFilters didn't "see" QF and so couldn't set its assistant mode. I think the easiest fix would be for QuickFolders to look at the (autostart) preference of quickFilters in legacy prefs (about:config). It should then check whether quickFIlters is actually running and has set its own FilterMode=true in the meantime, and then set its own FilterMode accordingly...
Ok, here is a test version with a quickfix. I added the following code to the QuickFolders initDelayed() function:
if(prefs.getFiltersBoolPref("autoStart")){// quickFilters started before QF and automatically started assistant modeif(window.quickFilters&&!QuickFolders.FilterWorker.FilterMode){if(window.quickFilters.Util.AssistantActive){QuickFolders.FilterWorker.toggle_FilterMode(true);}}}
I have to be very careful here because I don't want it to throw an exception in case quickFilters is not installed or deactivated.
After setting the flag and restarting Tb, it looks like this:
I think we need to move this to the QuickFolders issue list, because I had to fix it from that side... I will try to figure out how to do that. or maybe I will just open a new issue over there...
changed the title [-]Filter Assistant Auto-start not working with QuickFolders quickMove function (TB 115)[/-][+]quickFilters assistant mode is not detected if set to "automatically start" with Thunderbird[/+]on Aug 29, 2023
changed the title [-]quickFilters assistant mode is not detected if set to "automatically start" with Thunderbird[/-][+]quickFilters Filter assistant mode is not detected when configured to automatically start with Thunderbird[/+]on Aug 29, 2023
There is still a problem if we disable and then enable quickFilters (from Add-ons Manager) the filter assistant mode at least looks not enabled. It looks sort of the opposite of the initial situation:
I also see the following error caused by QuickFolders in console:
I see the same here: Disabling the quickFilters in Addons and then turning it back on the filter assistant is off while QuickFolder thinks it is on...
I may have to fix that particular one on the quickFilters side... but I want to deal with the exception above at least here on QuickFolders. Here is a new version:
As regards the weird behavior of the main quickFilters button not updating when we update the Add-on from extension manager I have raised [issue 210] over on the quickFilters tracker.
Activity
RealRaven2000 commentedon Aug 1, 2023
Thanks for reporting, can you please check the error console log (open with Ctrl+Shift+J or Thunderbird tools » ) to see if there are any new errors logged after selecting the target folder on QuickFolders?
You can copy the debug log (as text please, no screenshot) via right-click » Copy all Messages :
Error console settings should be set up like this to be most useful:
I can give you additional debug settings for quickFilters for more detail later, which will be configured on quickFilters Settings » Advanced, but let's first see if there is anything obvious...
PotatoCarl commentedon Aug 1, 2023
QuickFolders 12:22:52.504 [11016 ms]
dragSession =
XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), invokeDragSession: invokeDragSession(), getCurrentSession: getCurrentSession(), startDragSession: startDragSession(), startDragSessionForTests: startDragSessionForTests(), endDragSession: endDragSession(), suppress: suppress(), unsuppress: unsuppress(), DRAGDROP_ACTION_NONE: 0, DRAGDROP_ACTION_COPY: 1, … }
quickfolders-util.js:1286:13
QuickFolders 12:22:52.506 [2 ms]
toggleMoveModeSearchBox(true) quickfolders-util.js:1286:13
QuickFolders 12:22:52.506 [0 ms]
QuickFolders.quickMove.update()
isActive = true quickfolders-util.js:1286:13
QuickFolders 12:22:52.507 [1 ms]
toggleMoveModeSearchBox(true) quickfolders-util.js:1286:13
QuickFolders 12:22:52.507 [0 ms]
toggleMoveModeSearchBox(true) quickfolders-util.js:1286:13
QuickFolders 12:22:53.531 [1024 ms]
findFolder (e) quickfolders-util.js:1286:13
QuickFolders 12:22:53.716 [185 ms]
findFolder (ec) quickfolders-util.js:1286:13
QuickFolders 12:22:53.832 [116 ms]
findFolder (eco) quickfolders-util.js:1286:13
QuickFolders 12:22:54.10 [178 ms]
findFolder (ecop) quickfolders-util.js:1286:13
QuickFolders 12:22:54.182 [172 ms]
findFolder (ecopo) quickfolders-util.js:1286:13
QuickFolders 12:22:54.314 [132 ms]
findFolder (ecopox) quickfolders-util.js:1286:13
QuickFolders 12:22:54.814 [500 ms]
findFolder (ecopox) quickfolders-util.js:1286:13
QuickFolders 12:22:55.628 [814 ms]
selectFound - [object XULCommandEvent] quickfolders-util.js:1286:13
QuickFolders 12:22:55.629 [1 ms]
moveMessages with readStatus = 0 quickfolders-util.js:1286:13
QuickFolders 12:22:55.652 [23 ms]
util.touch(Ecopox)
1690885375
1/8 12:22:55 quickfolders-util.js:1286:13
msgsMoveCopyCompleted()
Object { isMoved: true, aSrcMsgs: (1) […], targetFolder: XPCWrappedNative_NoHelper, aDestMsgs: (1) […] }
quickFilters.js:1771:15
quickFilters 12:22:55.654 [568819 ms]
New assistant mode disabled, msgsMoveCopyCompleted does not invoke filter assistant.
QuickFolders 12:22:55.741 [89 ms]
util.touch(Ecopox)
1690885375
1/8 12:22:55 quickfolders-util.js:1286:13
QuickFolders 12:22:55.742 [1 ms]
QuickFolders.quickMove.update()
isActive = false quickfolders-util.js:1286:13
QuickFolders 12:22:55.743 [1 ms]
toggleMoveModeSearchBox(false) quickfolders-util.js:1286:13
[JavaScript Warning: "findFolder (false, null) failed.
threadPane is null" {file: "chrome://quickfolders/content/quickfolders-interface.js" line: 5491 column: 0 source: "findFolder
chrome://quickfolders/content/quickfolders-interface.js:5491:9
update@chrome://quickfolders/content/quickfolders-quickMove.js:382:8
resetList@chrome://quickfolders/content/quickfolders-quickMove.js:246:10
execute@chrome://quickfolders/content/quickfolders-quickMove.js:206:9
"}] quickfolders-util.js:1312:15
QuickFolders 12:22:55.744 [1 ms]
QuickFolders.quickMove.update()
isActive = false quickfolders-util.js:1286:13
QuickFolders 12:22:55.744 [0 ms]
toggleMoveModeSearchBox(false) quickfolders-util.js:1286:13
[JavaScript Warning: "findFolder (false, null) failed.
threadPane is null" {file: "chrome://quickfolders/content/quickfolders-interface.js" line: 5491 column: 0 source: "findFolder
chrome://quickfolders/content/quickfolders-interface.js:5491:9
update@chrome://quickfolders/content/quickfolders-quickMove.js:382:8
execute@chrome://quickfolders/content/quickfolders-quickMove.js:207:9
"}] quickfolders-util.js:1312:15
QuickFolders 12:22:56.550 [806 ms]
util.touch(Ecopox)
1690885376
1/8 12:22:56 quickfolders-util.js:1286:13
[-]Filter Assistant not Working with QuickFolders/TB 115[/-][+]Filter Assistant not Working with QuickFolders quickMove function (TB 115)[/+]RealRaven2000 commentedon Aug 1, 2023
thanks for the log. are you in a single message tab?
PotatoCarl commentedon Aug 1, 2023
No so sure what you mean. I have the old 3way view open, folder tree, contents and (selected) email.
RealRaven2000 commentedon Aug 1, 2023
ok, single message tab happens when you open a mail in a new tab (via double click). There is an error thrown about missing thread pane, which would indicate that the list of messages (on top of the mail preview) is hidden. To avoid the error and test with something that is closer to the latest source code can you please install the version below (6.1 prerelease 34) - the preview you used is behind quite a bit.
QuickFolders-mx-6.1pre34.zip
I will do some more testing in the meantime... however, I don't see any specific error that I can reproduce right now.
PotatoCarl commentedon Aug 1, 2023
No change.
The list of messages is displayed quite well.
PotatoCarl commentedon Aug 17, 2023
Hi
After Upgrade to QuickFilter 6.2, the QuickMove function does not come up with the filter dialog when sorting from a subfolder anymore. Worked with 6.1.1pre11
PotatoCarl commentedon Aug 17, 2023
Sorry does not work when 1st time involved, works with 2. time...
PotatoCarl commentedon Aug 21, 2023
Does not work with 6.2 anymore... Not first, not second time (when moving to the QuickFolder Quickjump button with 6.1.2pre11).
Or Moving with The Shortkey.
RealRaven2000 commentedon Aug 21, 2023
Sorry can you be more specific, I think what you are saying is - quickFilters 6.2 + QF 6.1.2pre11; you are using the quickMove function and selecting a suggested menu item directly underneath the button? Or a in a child folder from there?
I am asking again because it works for me. If you get any messages in error console after selecting the folder from the menu, I need to see them please.
RealRaven2000 commentedon Aug 21, 2023
Just in case, here is the very latest version of QuickFolders (6.1.2 pre 24):
QuickFolders-mx-6.1.2pre24.zip
7 remaining items
RealRaven2000 commentedon Aug 29, 2023
I am investigating this now ; there is a global flag in QuickFolders called
QuickFolders.FilterWorker.FilterMode- once this is set to true (via a QuickFolders functiontoggleFilterMode()- this is when you use the QF interface, e.g. the QuickFolders tools menu to toggle filter assisted mode):However when you use the quickFilters interface and call its own
toggle_FilterMode()function it will try to also flick the switch for QuickFolders:my theory is that this may not work if QuickFolders hasn't been loaded on startup and quickFilters was loaded beforehand. This is a little hard to test, because I have no influence on the loading order and cannot debug on startup either. But there must be a way to work around this...
RealRaven2000 commentedon Aug 29, 2023
Ok, looks like I am lucky already. We can see in the interface that quickFilters has (automatically) toggled its mode, but QuickFolders didn't get the message and still shows the wrong icon in its tools menu:
So it seems quickFilters didn't "see" QF and so couldn't set its assistant mode. I think the easiest fix would be for QuickFolders to look at the (autostart) preference of quickFilters in legacy prefs (about:config). It should then check whether quickFIlters is actually running and has set its own FilterMode=true in the meantime, and then set its own FilterMode accordingly...
PotatoCarl commentedon Aug 29, 2023
Sounds like a plan...
RealRaven2000 commentedon Aug 29, 2023
Ok, here is a test version with a quickfix. I added the following code to the QuickFolders
initDelayed()function:I have to be very careful here because I don't want it to throw an exception in case quickFilters is not installed or deactivated.
After setting the flag and restarting Tb, it looks like this:
Here is the test version:
QuickFolders-mx-6.2pre55.zip
(as usual) to test the version above, download the zip file, drag into Thunderbird Add-ons Manager, do not extract contents or if won't install.
RealRaven2000 commentedon Aug 29, 2023
I think we need to move this to the QuickFolders issue list, because I had to fix it from that side... I will try to figure out how to do that. or maybe I will just open a new issue over there...
[-]Filter Assistant Auto-start not working with QuickFolders quickMove function (TB 115)[/-][+]quickFilters assistant mode is not detected if set to "automatically start" with Thunderbird[/+][-]quickFilters assistant mode is not detected if set to "automatically start" with Thunderbird[/-][+]quickFilters Filter assistant mode is not detected when configured to automatically start with Thunderbird[/+]RealRaven2000 commentedon Aug 29, 2023
There is still a problem if we disable and then enable quickFilters (from Add-ons Manager) the filter assistant mode at least looks not enabled. It looks sort of the opposite of the initial situation:
I also see the following error caused by QuickFolders in console:
PotatoCarl commentedon Aug 29, 2023
I see the same here: Disabling the QucikFilter in Addons and then turning it back on the filter assistant is off while QuickFolder thinks it is on...
RealRaven2000 commentedon Aug 29, 2023
I may have to fix that particular one on the quickFilters side... but I want to deal with the exception above at least here on QuickFolders. Here is a new version:
QuickFolders-mx-6.2pre60.zip
As regards the weird behavior of the main quickFilters button not updating when we update the Add-on from extension manager I have raised [issue 210] over on the quickFilters tracker.
RealRaven2000 commentedon Aug 29, 2023
Removed some unnecessary processing in the tab listener. Hopefully that didn't change any of the other behavior.
QuickFolders-mx-6.2pre63.zip
and also uploaded a test version of quickFilters over at [https://github.com/RealRaven2000/quickFilters/issues/210]
(as usual) to test the version above, download the zip file, drag into Thunderbird Add-ons Manager, do not extract contents or if won't install.
issue #397 Filter Assistant Auto-start not working with quickMove
RealRaven2000 commentedon Sep 2, 2023
Fixed in 6.2 - Published 30/08/2023