Skip to content

Unloaded tab closed if (1) has childs and (2) is in root #118

@mkravchuk

Description

@mkravchuk

There are actually two issues:

  1. if the tab is in root tree and has children - then after unload all tree are closed!
  2. if tab has some parent - then after unload it moves to the end of owner node

I have found a resolution and tested the fix.
To fix this issue we should move the new tab (that replace actual tab) only after reassigning parent tabs to it, because whenever we assign a tab to owner tab - owner tab moves to the end of the tree.

Actual fix is:
in the file "modules\prototypes.js" move the line
---tabbrowser.moveTabTo(newtab, aTab._tPos + 1);
after the if condition
---// Restore tree when using Tree Style Tab
---if (tabbrowser.treeStyleTab) {

tested system: Windows 7 (x64)
Firefox version: 3.6
tested plug-in version: 2.1b2

Please publish this fix as as possible as this is a critical issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions