Closed sersorrel closed 2 months ago
OK, done with the commit b60a592 and b5fe6d6. Setting a new secret option closeParentBehavior_replaceWithGroup_thresholdToPrevent
to a negative value (like -1
) will take back the old behavior.
This issue has been closed due to no response within 14 days after labeled as "fixed", 7 days after last reopened, and 7 days after last commented.
Abstract
At the moment, if you choose "When a parent tab with Expanded Tree is closed/moved, Replace closed/moved parent with a Group Tab", then closing a group tab just causes it to instantly open again i.e. it effectively does nothing. It would be useful, I think, if that would instead perform the "ungroup tabs" action to remove the group tab from the hierarchy,
Steps to see the situation
Start Firefox with clean profile.
Install TST.
Under "When a parent tab is Closed or Moved", select "Recommended preset using Consistent Tab Behaviors controlled under TST" -> "When a parent tab with Expanded Tree is closed/moved, Replace closed/moved parent with a Group Tab"
Open 2+ child tabs of a parent tab:
Close the parent tab:
Close the newly-created group tab:
The group tab reopened itself!
Expected result
I think you should end up with a structure like this:
Actual (present) result
You actually end up with a structure like this:
Environment