:tab-move end
doesn't work when moving tabs from a subtree
#8167
Labels
component: tree tabs
Issues related to tree tabs functionality
easy
Issues which are likely to be a good fit for first-time contributors.
Version info:
3bd272d on tree-tabs-integration
Does the bug happen if you start with
--temp-basedir
?:With
-s tab.tree_tabs true
, yeah.Description
Tabs moved from a subtree to the end of the tab bar don't quite end up at the end, they end up one tab short of the end. As spotted in #8102
I suspect it can be resolved by special casing
index == "end"
here. But should we be looking at the value ofindex
in that part of the code when we are already doing so in the bit above? Also why doesn't it seem to be working for moving a tab that's already at the top of the tree to the end?How to reproduce
Plop this in
tests/end2end/features/treetabs.feature
and run likepython3 -m pytest tests/end2end/features/test_treetabs_bdd.py -k from_a_subtree_to_end
:CC #8077 as it might end up getting fixed as part of that.
The text was updated successfully, but these errors were encountered: