Sublime Forum

Weird problem closing tabs

#1

I noticed suddenly that I cannot close some tabs by clicking on the X at all. They will either do nothing or “spawn” an untitled tab to the right. In this this gif It shows the behavior, moreso the tabs spawning than the difficulty closing tabs, although that’s the bigger problem.

I am on ST4 4169, I recently added this to the adaptive theme settings:

{
    "class": "tab_control",
    "attributes": ["highlighted"],
    "layer1.tint": [48, 55, 77],
    "tint_index": -1,
    "layer1.opacity": 0.2,
},
{
    "class": "tab_label",
    "parents": [{"class": "tab_control", "attributes": ["highlighted"]}],
    "fg": [220, 220, 220]
},
{
    "class": "tab_label",
    "parents": [{"class": "tab_control", "attributes": ["!highlighted"]}],
    "fg": [150, 160, 200]
},

I also installed the packages Diffable and SideBarEnhancements. I am stumped though, is there anything that could be causing this?

0 Likes

#2

Does it happen in safe mode?

0 Likes

#3

No, it doesn’t but I isolated the problem to this:

{
    "class": "tab_control",
    "attributes": ["highlighted"],
    "layer1.tint": [48, 55, 77],
    "tint_index": -1,
    "layer1.opacity": 0.2,
},

Which I forgot to paste in the original comment. I got that from stackoverflow to change the active tab color. With that commented out everything is fine again, so I think it’s something about that.

0 Likes