godot-script-tabs icon indicating copy to clipboard operation
godot-script-tabs copied to clipboard

When closing a tab with middle mouse button, it closes two instead

Open Gnumaru opened this issue 2 months ago • 1 comments
trafficstars

I'm using godot 4.5. I have used script tabs in previous godot versions and I don't remember this bug happening before.

When I have more than one script openned and I try to close it using the "X" button, everything correctly except that I sometimes get the error
ERROR: scene/gui/item_list.cpp:416 - Index p_idx = 2 is out of bounds (items.size() = 2). But even with this error, the editor behavior is as expected.

BUT, when I try to close a script tab using the middle mouse button, it closes both the tab clicked AND the tab directly to the right. If there are no tabs to the right it still closes two tabs, the one I clicked and the one to the left.

I don't know if this makes a difference, but I would like to point out that I'm not using the editor default theme, I'm using passive star's minimal theme

https://github.com/passivestar/godot-minimal-theme

Gnumaru avatar Sep 21 '25 14:09 Gnumaru