Blender tabs Interface - Clean and fast blender UI

I wonder what this is from the console.

Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1030, in drawRegionUI
draw_panels = drawTabs(self, context, draw_tabs_list, tabID)
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 719, in drawTabs
elif len(plist)==1 and len(draw_panels == 0):# or (len(draw_panels == 0) and len(plist)>0):

Actually, it works but it shows an error in Console plus now all my saved projects crash when I reopen them. This is the report:

Blender 2.78 (sub 0), Commit date: 1970-01-01 00:00, Hash unknown

Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1030, in drawRegionUI
draw_panels = drawTabs(self, context, draw_tabs_list, tabID)
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 719, in drawTabs
elif len(plist)==1 and len(draw_panels == 0):# or (len(draw_panels == 0) and len(plist)>0):
TypeError: object of type ‘bool’ has no len()

location: <unknown location>:-1

Error

Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1030, in drawRegionUI
draw_panels = drawTabs(self, context, draw_tabs_list, tabID)
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 719, in drawTabs
elif len(plist)==1 and len(draw_panels == 0):# or (len(draw_panels == 0) and len(plist)>0):
TypeError: object of type ‘bool’ has no len()

location: <unknown location>:-1

Error

Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1030, in drawRegionUI
draw_panels = drawTabs(self, context, draw_tabs_list, tabID)
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 719, in drawTabs
elif len(plist)==1 and len(draw_panels == 0):# or (len(draw_panels == 0) and len(plist)>0):
TypeError: object of type ‘bool’ has no len()

location: <unknown location>:-1

Error

backtrace

0 blender 0x0000000109f6f99a BLI_system_backtrace + 58
1 blender 0x00000001094e616a sig_handle_crash + 362
2 libsystem_platform.dylib 0x00007fff9f195eaa _sigtramp + 26
3 ??? 0x00000001191bfa10 0x0 + 4716231184
4 blender 0x00000001095830e9 outliner_draw_tree_element + 2601
5 blender 0x0000000109580847 draw_outliner + 935
6 blender 0x0000000109591b90 outliner_main_region_draw + 48
7 blender 0x00000001097e390b ED_region_do_draw + 331
8 blender 0x00000001094eac1c wm_draw_update + 716
9 blender 0x00000001094e6cb0 WM_main + 48
10 blender 0x00000001094e2f5c main + 1036
11 blender 0x00000001094e2b44 start + 52
12 ???

Heya, the addon is coming along nicely, i bought it as promised :stuck_out_tongue: Was just wondering if there was a way to disable the sub tabs, addons with a lot of tabs can be kind of annoying, especially as your addon doesnt remember which subtabs were open, when switching between addon tabs :slight_smile: keep it up dude.

animani: uploaded 1.2.3 which should fix the bug you mention. Hope it fixes the crashes too :frowning: getting crashes is always bad, hard to debug and bad for every user…

Way2Close - actually, I’m not very sure what you mean :slight_smile: I also don’t like how blender handles subcategories, but what my addon does by now is mainly changing access to the panels.

I won’t be able to respond for 2 days now, due to travels and work.

Hi mate thanks for updating it. I still have the same issue with old projects. I am trying to save new simple projects and they open just fine. The ones I saved yesterday are crashing. Any ideas?

What @Way2Close said it’s something I have been thinking about too. When selecting Main tabs it does not remember which Subtab was selected and it always shows the last Subtab selected from the last Category. So imo it should retain the Subtab selected for each category. So when just selecting Tools it will show for instance “Auto Mirror” because it was the last one you were working with. Otherwise, you always have to click twice. Clicking the main Category and then the Sub-Category. Sometimes you need to move back and forth between 2 different subcategories.

Console:

rebuild tabs 0
create tab panel data
rebuild tabs 8
updating <bpy_struct, PROPERTIES_PT_WINDOW_TOOLS_tabs at 0x7f9dc7c2ab58>
Traceback (most recent call last):
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1729, in scene_update_handler
overrideDrawFunctions()
File “/Users/username/Library/Application Support/Blender/2.78/scripts/addons/tabs_interface/init.py”, line 1666, in overrideDrawFunctions
if not s[‘functions overwrite success’]:
KeyError: ‘bpy_struct[key]: key “functions overwrite success” not found’
read blend: /FK 2.blend
rebuild tabs 0
rebuild tabs 0
create tab panel data
rebuild tabs 8
create tab panel data
Writing: /tmp/FK 2.crash.txt

Crash Report:

Blender 2.78 (sub 0), Commit date: 1970-01-01 00:00, Hash unknown

backtrace

0 blender 0x000000011048199a BLI_system_backtrace + 58
1 blender 0x000000010f9f816a sig_handle_crash + 362
2 libsystem_platform.dylib 0x00007fff9e541eaa _sigtramp + 26
3 ??? 0x000000011eddca10 0x0 + 4812818960
4 blender 0x000000010fa950e9 outliner_draw_tree_element + 2601
5 blender 0x000000010fa92847 draw_outliner + 935
6 blender 0x000000010faa3b90 outliner_main_region_draw + 48
7 blender 0x000000010fcf590b ED_region_do_draw + 331
8 blender 0x000000010f9fcc1c wm_draw_update + 716
9 blender 0x000000010f9f8cb0 WM_main + 48
10 blender 0x000000010f9f4f5c main + 1036
11 blender 0x000000010f9f4b44 start + 52
12 ??? 0x0000000000000001 0x0 + 1

Bought now, thanks.

I have one problem, GroupPro plugin has its own tab in relations.
Would you be able to repair it, please?

Thanks.


Hi everybody,
U upped the version again after some small fixes, especially now the ‘own’ panel drawing seems to be more bullet proof.

animani: I fixed again the bug you report, not sure if that fixes the crashes with the files

jachtarfranko: even if addons create such categories, it should now work so that these get ’ eaten’ by the new ui within a few seconds. I have to do some complex checks if any addons registered later than the tabs addon, and I am not doing them all the time in the script, so it doesn’t eat too much performance. Please let me know if you still have this issue with this latest version.

Really nice work :). But it would be nice if you could make the first sub category as the default one. An example: When you click on the category “Tools” and the sub category “Edit”. Then you click on the category “HardOps”, the sub category “Edit” is still there. It would be nice if the first sub category could be selected automatically, in this example the sub category “Box Cutter”.

I don’t know why, but now when I try it again, I can see the “RetopoFlow” category when I click on the “HardOps” category, before I select a sub category.


pildanovak, thanks for answer, but it doesn’t work well,

maybe there is any mistake,
latest downloaded version 1.24 writes in blender plugin 1.22 version…

Hi, again, there is another fix mini-release 1.2.5 - this mainly should fix drawing order - sometimes some default panels(like physics add buttons) were drawn under tabs, which wasn’t always good. Now these draw on top over tabs always.

jachtarfranko, There might be an issue with the addon, but I don’t have a copy of groupPro addon to fix it. Could you possibly print-screen the console output and show it to me?

pildanovak, thanks for answer, but it doesn’t work well,

maybe there is any mistake,
latest downloaded version 1.24 writes in blender plugin 1.22 version…

now it partially works, but it is not well,
previous was better :slight_smile:


jachtarfranko, so now I understand what happens… The addon hides panel header, which causes it to be detected as more important than it it… :slight_smile: This is another very non-standard thing what this addon does. Will have to write exception just for it again.

It’s still unusable for me until you remove the subtabs, there is no need for them in a lot of workflows, I just want access to each addon tab without splitting that into subtabs. :slight_smile:

jachtarfranko, just uploaded 1.2.6, just for you and GroupPro…please test if it works

Way2close, and what you’d like instead: to see all panels from 1 category at once? Or should there be tabs for all panels and categories shouldn’t be drawn at all?

which are the workflow cases you are talking about?
Why not to use pinning instead?

I am asking because there are as many opinions as blender users, and it’s still not clear to me.

works well, thanks :o

“which are the workflow cases you are talking about?”


But are you aware that in your screenshot the layout has these problems:

  • you have to scroll because the layout becomes too high - each scroll is at least like 2 clicks, but I think it’s actually much more. Only the hardops panel takes the whole height of a hd screen for me.
  • you have folded panels. These take 2 clicks to access without harm - one to open, second to close.

I can implement it the way that a whole category gets activated when an option I make is on.

“I can implement it the way that a whole category gets activated when an option I make is on.”

Only if it’s not too much trouble, would it be possible to only do that for the ‘T’ panel ? because the rest of the addon is amazing :smiley: