Closed
Description
Abstract
I have a TST Extension TST Folder Expand Collapse which stopped functioning after 4.0.24 was released.
Steps to reproduce
- Install TST Folder Expand Collapse
- Create a 'folder' style tab, such as
moz-extension://[TST-Extension-UUID]/resources/group-tab.html?title=Test
(note these can be created by opening new tabs from pinned tabs, etc.); the TST extension id is required - Click on the folder (it should expand / collapse, not activate)
Additional information
It seems this code no longer receives events from these group tabs:
async function registerToTST() {
try {
await browser.runtime.sendMessage(TST_ID, {
type: 'register-self',
name: extensionName,
listeningTypes: [
'ready',
'sidebar-show',
'tab-clicked',
'try-move-focus-from-collapsing-tree',
],
// Extra permissions to receive tab information via TST's API (works on TST 3.0.12 and later)
permissions: [ 'tabs', 'activeTab' ],
})
}
catch(e) {
// TST is not available
}
}
registerToTST()
browser.runtime.onMessageExternal.addListener(async (message, sender) => {
// This code is no longer triggered when 'group' tabs are clicked on
Clicking on regular tabs does send the tab-clicked
event.
Environment
- Platform (OS): Windows
- Version of Firefox: 132.0
- Version (or revision) of Tree Style Tab: 4.0.24
Activity