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
Make quickFilters compatible with Thunderbird 115 (SuperNova UI) #181
We made some strides testing the menu integration yesterday - defining the button through the manifest with a html popup will give it the chevron style that we desire for the dropdown. However I still need to figure out a way to trigger an event for showing the popup. In the meantime I managed to wrap the move and copy message functions (from the context menu) so that we can soon start using the assistant this way. Once the menu is functional we will be able to trigger the assistant once again.
Caveats: the event handlers in this version only deal with existing Thunderbird tabs, when a new tab is opened the wrapped code doesn't propagate there - I still need to figure out how to do this. Styling was fixed by injecting the old id into the button. The button is added automatically (to the right of the new mail toolbar area) and needs to be moved to the desired location by the user - again this is a standard in web extensions that cannot be changed at the moment.
Screenshot (Thunderbird 113.0b1) :
The "hasNews" flag (which makes the toolbar button a purple color) will later be able to be removed by triggering the menu and looking at the splash screen (WIP). For the moment, one can edit it in about:config if necessary: extensions.quickfilters.hasNews = false
Next experimental version. I had to eliminate quite a few global variables that do not exist anymore on account of each mail tab having it's own tree and dbView.
this triggers the assistant. So that's a good start for end to end test before I look at the folder tree and reimplemnting the drag event handler
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
note: tree listeners stuff doesn't work yet (so drag+drop of mails is currently not detected), and there are some kinks with removing the popup, which is lower priority right now. Let's get the assistant working first.
Next version - this one prepares filter based on archiving - but this will only work once FiltaQuilla has been ported to Thunderbird 115, which may take a little while. I also made sure the filter assistant is switched off when the Add-on is shutdown to avoid unpredictable behavior when updating quickFilters. Slowly removing all deprecated global objects that give access to the old folder tree and selected messages.
this will make the assistant work when dropping mail into an existing folder tab. However I still have to write code to make this work in any new folder tabs opened (as each tab now has its own individual folder Tree and events)
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
added coded that deals with new tabs (folder) created in Thunderbird - these are now also monkey patched and can react to dragged emails and other events relevant to triggering the assistant
fixed code for the command "Create filter from message..."
all commands on the new dropdown menu appear to be working!
Thunderbird 103.0b3 broke a lot of UI / toolbar button stuff
in Buttons, <label> elements become <span class=button-label> so all CSS rules (and any dependent code that manipulates such elements must be adjusted - is this likely to happen to menuitem as well?
to restyle background-image for buttons we need to access the parent element
at them moment I need the has() selector, for this we need to set layout.css.has-selector.enabled in about:config.
when installing a new version of quickFilters and the function updatequickFiltersLabel() is called, the element #quickfilters-toolbar-button cannot be found, I guess it hasn't been created at this stage yet (injection of id into button[extension=quickFilters@axelg.com] failed)
button image is now replaced with <img class="button-icon"> , modify selectors accordingly.
button.label = "text" doesn't work anymore, we need to select into the child element instead: btn.querySelector(".button-label").textContent = text
Here is a version that fixes most of these. Problem: if you update an existing instance of quickFilters the changes are not shown (button is not available when pathcing), this may be a problem of the WindowLoader (to investigate) - restart Thunderbird to see the changes.
updating license key fails! it is restored by the event "onBackgroundUpdates - dispatching licenseInfo" and the old license restored from about:config
main button not updated / patched when installing an update
pasting license from clipboard throws Uncaught NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getTransferData] - seems to be cause by Tb switching to text/plain from text/unicode. check whether this may also affect drag+drop transferables!
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
New regression in Thunderbird 114 beta - the menu is not added to the button when the Add-on is updated / installed from the Add-on Manager tab. This is because the button does not exist in the document at this stage and so cannot be customized with the file menu. We likely need to move the UI modification code (and possibly any code that patches folder tree) into a tab listener.
New regression in Thunderbird 114 beta - the menu is not added to the button when the Add-on is updated / installed from the Add-on Manager tab. This is because the button does not exist in the document at this stage and so cannot be customized with the file menu. We likely need to move the UI modification code (and possibly any code that patches folder tree) into a tab listener.
Here is a new fixed version - this time I had to modify the action button by patching in the menu again whenever a mail tab is activated. I then enabled displaying the button both in mail and settings tab (mainly for testing).
I also had to re-initialize the label in order to keep messages such as "license expires in 5 days" - because Thunderbird just simply overwrites the label (with the Add-on name) if a tab from a different space is activated..
changed the title [-]Create quickFilters version compatible with Thunderbird 115 (SuperNova UI)[/-][+]Make quickFilters compatible with Thunderbird 115 (SuperNova UI)[/+]on May 29, 2023
The first compatible version quickFilters 6.0 was reviewed on addons.thunderbird.net and is now available for compatible versions of Thunderbird (115). I am going to continue compatibility work on this issue as there are still some open items (see below).
I need to do some in depth testing, maybe there is a problem with Betterbird's versioning schema. When I release a version on ATN I can only use compatible version numbers of existing versions as strict_max_version, so I only have the choice between 115.0 or 115.*. My guess is that Betterbird's version (115.0-bb6) doesn't properly compare the version number (115.0 should be larger than any beta / derivative version)
the version hierarchy should work something like this: 115.* > 115.1 > 115.0.1 > 115.0 > 115.0b1 > 115.0a1
fyi
not just Betterbird ...
here, same issue -- incompatible version, can't install -- with release channel TB 115 on linux + QF from ATN,
Application Basics
Name: Thunderbird
Version: 115.0
Build ID: 20230711125218
Distribution ID:
Update Channel: release
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0 Thunderbird/115.0
OS: Linux 6.3.12-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 6 04:05:18 UTC 2023
Hi, I just received Thunderbird 115.0.1 an immediately started to hate it.
I saw that the toolbar and folder tab display is missing in Quickfilters, as well as any icon or "jump to" the folders.
Is there any chance to get this back?
Thanks.
Hi, I just received Thunderbird 115.0.1 an immediately started to hate it. I saw that the toolbar and folder tab display is missing in Quickfilters, as well as any icon or "jump to" the folders. Is there any chance to get this back?
jump to, a.k.a. quickJump and the Navigation Bar (which can integrate commands of quickFilters in the center of the screen) are features of QuickFolders, which will be released for Thunderbird soon.
the latest version there is 6.0 pre 303. the Navigation toolbar still needs some improvements as it is not in the correct position when in vertical view. Leave a comment there to discuss please.
Activity
RealRaven2000 commentedon Apr 14, 2023
We made some strides testing the menu integration yesterday - defining the button through the manifest with a html popup will give it the chevron style that we desire for the dropdown. However I still need to figure out a way to trigger an event for showing the popup. In the meantime I managed to wrap the move and copy message functions (from the context menu) so that we can soon start using the assistant this way. Once the menu is functional we will be able to trigger the assistant once again.
Caveats: the event handlers in this version only deal with existing Thunderbird tabs, when a new tab is opened the wrapped code doesn't propagate there - I still need to figure out how to do this. Styling was fixed by injecting the old id into the button. The button is added automatically (to the right of the new mail toolbar area) and needs to be moved to the desired location by the user - again this is a standard in web extensions that cannot be changed at the moment.
Screenshot (Thunderbird 113.0b1) :
The "hasNews" flag (which makes the toolbar button a purple color) will later be able to be removed by triggering the menu and looking at the splash screen (WIP). For the moment, one can edit it in
about:configif necessary:extensions.quickfilters.hasNews = falseExperimental version:
quickFilters-wx-6.0pre10.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
note: tree listeners stuff doesn't work yet (so drag+drop of mails is currently not detected), and there are some kinks with removing the popup.
RealRaven2000 commentedon Apr 14, 2023
Next experimental version. I had to eliminate quite a few global variables that do not exist anymore on account of each mail tab having it's own tree and dbView.
quickFilters-wx-6.0pre20.zip
I have tested as far as this:
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
note: tree listeners stuff doesn't work yet (so drag+drop of mails is currently not detected), and there are some kinks with removing the popup, which is lower priority right now. Let's get the assistant working first.
RealRaven2000 commentedon Apr 14, 2023
Next version - this one prepares filter based on archiving - but this will only work once FiltaQuilla has been ported to Thunderbird 115, which may take a little while. I also made sure the filter assistant is switched off when the Add-on is shutdown to avoid unpredictable behavior when updating quickFilters. Slowly removing all deprecated global objects that give access to the old folder tree and selected messages.
quickFilters-wx-6.0pre27.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
RealRaven2000 commentedon Apr 15, 2023
quickFilters-wx-6.0pre28.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
RealRaven2000 commentedon Apr 16, 2023
I pulled a half-nighter yesterday and managed to implement the folder Tree drop handlers:
quickFilters-wx-6.0pre31.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
RealRaven2000 commentedon Apr 16, 2023
New version:
tested in Thunderbird 113.0b1
quickFilters-wx-6.0pre33.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents).
issue #181 Tb 115 updates
RealRaven2000 commentedon Apr 21, 2023
Thunderbird 103.0b3 broke a lot of UI / toolbar button stuff
<label>elements become<span class=button-label>so all CSS rules (and any dependent code that manipulates such elements must be adjusted - is this likely to happen to menuitem as well?layout.css.has-selector.enabledin about:config.updatequickFiltersLabel()is called, the element#quickfilters-toolbar-buttoncannot be found, I guess it hasn't been created at this stage yet (injection of id intobutton[extension=quickFilters@axelg.com]failed)button imageis now replaced with<img class="button-icon">, modify selectors accordingly.btn.querySelector(".button-label").textContent = textHere is a version that fixes most of these. Problem: if you update an existing instance of quickFilters the changes are not shown (button is not available when pathcing), this may be a problem of the WindowLoader (to investigate) - restart Thunderbird to see the changes.
quickFilters-wx-6.0pre45.zip
Previews:



Regressions:
about:configUncaught NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getTransferData]- seems to be cause by Tb switching to text/plain from text/unicode. check whether this may also affect drag+drop transferables!To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
RealRaven2000 commentedon May 18, 2023
New regression in Thunderbird 114 beta - the menu is not added to the button when the Add-on is updated / installed from the Add-on Manager tab. This is because the button does not exist in the document at this stage and so cannot be customized with the file menu. We likely need to move the UI modification code (and possibly any code that patches folder tree) into a tab listener.
RealRaven2000 commentedon May 18, 2023
Here is a new fixed version - this time I had to modify the action button by patching in the menu again whenever a mail tab is activated. I then enabled displaying the button both in mail and settings tab (mainly for testing).
I also had to re-initialize the label in order to keep messages such as "license expires in 5 days" - because Thunderbird just simply overwrites the label (with the Add-on name) if a tab from a different space is activated..
quickFilters-wx-6.0pre67.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
[-]Create quickFilters version compatible with Thunderbird 115 (SuperNova UI)[/-][+]Make quickFilters compatible with Thunderbird 115 (SuperNova UI)[/+]RealRaven2000 commentedon Jul 1, 2023
The first compatible version quickFilters 6.0 was reviewed on addons.thunderbird.net and is now available for compatible versions of Thunderbird (115). I am going to continue compatibility work on this issue as there are still some open items (see below).
8 remaining items
pgnd commentedon Jul 13, 2023
@RealRaven2000
fyi
not just Betterbird ...
here, same issue -- incompatible version, can't install -- with release channel TB 115 on linux + QF from ATN,
Application Basics
...
Add-ons
...
quickFilters
extension
6.0
false
quickFilters@axelg.com
...
RealRaven2000 commentedon Jul 13, 2023
@Betterbird: that installer has strict_max_version = 115.* (not 115.0). but patching it down it still stats compatible. strangely this one isn't:
quickFilters-wx-6.0.zip
If it's not strict_max_version, what else prevents it from being compatible?
Betterbird commentedon Jul 13, 2023
https://addons.thunderbird.net/thunderbird/downloads/file/1022147/quickfilters-6.0-tb.xpi?src=version-history has this:
It still says:

Looks like a bug in ATN! Sorry, can't help, two comments up a TB user reported the same.
RealRaven2000 commentedon Jul 13, 2023
For those users who encounter the compatibility bug I here is a patched version with that sets
strict_max_ver = 115.*quickFilters-wx-6.1pre21.zip
To install, download the zip file and drag into Thunderbird Add-ons Manager (without extracting contents)
pgnd commentedon Jul 13, 2023
@RealRaven2000
thanks, that does the trick for QuickFilters.
SmartTemplates is already 'happy'; QuickFolder is not, yet ... I'll jump over there.
RealRaven2000 commentedon Jul 13, 2023
yeah there is no active prerelease on ATN anyway, I am going to bump to 115.* before I release beta1.
RealRaven2000 commentedon Jul 13, 2023
I just released 6.0.1 to ATN today, should be reviewed by EOB.
wa4zlw commentedon Jul 14, 2023
will check this out too thanks
leon
PotatoCarl commentedon Jul 28, 2023
Hi, I just received Thunderbird 115.0.1 an immediately started to hate it.
I saw that the toolbar and folder tab display is missing in Quickfilters, as well as any icon or "jump to" the folders.
Is there any chance to get this back?
Thanks.
RealRaven2000 commentedon Jul 28, 2023
jump to, a.k.a. quickJump and the Navigation Bar (which can integrate commands of quickFilters in the center of the screen) are features of QuickFolders, which will be released for Thunderbird soon.
You can install the latest prerelease from here:
RealRaven2000/QuickFolders#351 (comment)
the latest version there is 6.0 pre 303. the Navigation toolbar still needs some improvements as it is not in the correct position when in vertical view. Leave a comment there to discuss please.
RealRaven2000 commentedon Aug 5, 2023
There is new version over at #203 which adds some of the missing menu items of the old versions.
RealRaven2000 commentedon Aug 6, 2023
To do: the button "Custom Variables" in the custom templates editor has to be styled again. Probably add a focus color to attract attention.
RealRaven2000 commentedon Aug 13, 2023
Just released a new version 6.2 with lots of bug fixes. Awaiting review on ATN right now.